summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-01-16 20:05:21 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-01-16 20:05:21 +0000
commitcd4f5ebd08a3333e3ffe596f6beb6fffd2bd5e76 (patch)
tree1695b1f06873e5a5e6452e175ebce2edab4f2a01 /amiga/gui.c
parentff6cfea10e4627224ab1398c256fb58dfadac85f (diff)
downloadnetsurf-cd4f5ebd08a3333e3ffe596f6beb6fffd2bd5e76.tar.gz
netsurf-cd4f5ebd08a3333e3ffe596f6beb6fffd2bd5e76.tar.bz2
nsfont_width implemented for Unicode text
cache outline fonts for big speedup still need to implement other text size functions and also bold and italic fonts svn path=/trunk/netsurf/; revision=6095
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 88a7d74e9..85e2f92df 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -330,6 +330,8 @@ void gui_init(int argc, char** argv)
if(!option_window_width) option_window_width = 800;
if(!option_window_height) option_window_height = 600;
+ ami_init_fonts();
+
plot=amiplot;
/* AmiUpdate */
@@ -1310,6 +1312,8 @@ void gui_quit(void)
FreeVec(glob.tmprasbuf);
FreeVec(glob.areabuf);
+ ami_close_fonts();
+
if(!locked_screen) /* set if we are using somebody else's screen */
{
while(!CloseScreen(scrn));