summaryrefslogtreecommitdiff
path: root/amiga/font.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-04-22 16:06:46 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-04-22 16:06:46 +0000
commit83914b9c3e87e3db536ee494ce0032cdb5e5d781 (patch)
treed1679576b3c698d550c59b850450e940aed53b20 /amiga/font.h
parentb14edfdd5a20c4504e7893c541832f41402eaf09 (diff)
downloadnetsurf-83914b9c3e87e3db536ee494ce0032cdb5e5d781.tar.gz
netsurf-83914b9c3e87e3db536ee494ce0032cdb5e5d781.tar.bz2
Set font DPI from nscss_screen_dpi to ensure it is always in sync
Reset font DPI when opening screens to allow us to correct for aspect ratio in the future svn path=/trunk/netsurf/; revision=12229
Diffstat (limited to 'amiga/font.h')
-rwxr-xr-xamiga/font.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/amiga/font.h b/amiga/font.h
index e62be85a4..0881e87a8 100755
--- a/amiga/font.h
+++ b/amiga/font.h
@@ -22,14 +22,8 @@
#include "desktop/plotters.h"
#include <graphics/text.h>
-#define NSA_NORMAL 0
-#define NSA_ITALIC 1
-#define NSA_BOLD 2
-#define NSA_BOLDITALIC 3
-
-void ami_close_font(struct TextFont *tfont);
ULONG ami_unicode_text(struct RastPort *rp,const char *string,ULONG length,const plot_font_style_t *fstyle,ULONG x,ULONG y);
-
+ULONG ami_font_setdevicedpi(int dpi);
void ami_init_fonts(void);
void ami_close_fonts(void);
#endif