diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-09-07 23:01:53 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-09-07 23:01:53 +0000 |
commit | 8e67ad805186d6495c98696658dbe06b015941e4 (patch) | |
tree | fcf38d195b0b7e820c151fbc194886b1235a4ad6 /amiga/font.c | |
parent | ef56ab5d80be1ebfbeb3f8e9571238ca913e731a (diff) | |
download | netsurf-8e67ad805186d6495c98696658dbe06b015941e4.tar.gz netsurf-8e67ad805186d6495c98696658dbe06b015941e4.tar.bz2 |
Select fonts, sizes and colours for splash screen text rather than relying on system
default
svn path=/trunk/netsurf/; revision=12776
Diffstat (limited to 'amiga/font.c')
-rw-r--r-- | amiga/font.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/amiga/font.c b/amiga/font.c index c4ea0e514..1876eedb8 100644 --- a/amiga/font.c +++ b/amiga/font.c @@ -691,3 +691,16 @@ void ami_font_setdevicedpi(int id) ami_xdpi = xdpi; ami_devicedpi = (xdpi << 16) | ydpi; } + +/* The below are simple font routines which should not be used for page rendering */ + +struct TextFont *ami_font_open_disk_font(struct TextAttr *tattr) +{ + struct TextFont *tfont = OpenDiskFont(tattr); + return tfont; +} + +void ami_font_close_disk_font(struct TextFont *tfont) +{ + CloseFont(tfont); +} |