diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-01-20 16:53:06 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-01-20 16:53:06 +0000 |
commit | 161dea3d8b0ddbb1d3076512e6ae4d71c5f8150a (patch) | |
tree | 79a3d48c01693558e9f40f2aa34e37a2541083e1 /amiga/font.h | |
parent | c5f72605b46b64d3a82315ce7d490dd6961b32ed (diff) | |
download | netsurf-161dea3d8b0ddbb1d3076512e6ae4d71c5f8150a.tar.gz netsurf-161dea3d8b0ddbb1d3076512e6ae4d71c5f8150a.tar.bz2 |
Implement bold and italic font rendering for Unicode display and make it the default.
svn path=/trunk/netsurf/; revision=6155
Diffstat (limited to 'amiga/font.h')
-rwxr-xr-x | amiga/font.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/font.h b/amiga/font.h index 59dd7b6fe..06bf85a13 100755 --- a/amiga/font.h +++ b/amiga/font.h @@ -22,6 +22,11 @@ #include "css/css.h" #include <graphics/text.h> +#define NSA_NORMAL 0 +#define NSA_ITALIC 1 +#define NSA_BOLD 2 +#define NSA_BOLDITALIC 3 + struct TextFont *ami_open_font(struct css_style *); void ami_close_font(struct TextFont *tfont); ULONG ami_unicode_text(struct RastPort *rp,char *string,ULONG length,struct css_style *style,ULONG x,ULONG y,ULONG c); |