Reject non-scalable BulletAPI fonts

svn path=/trunk/netsurf/; revision=13906
This commit is contained in:
Chris Young 2012-05-05 16:00:14 +00:00
parent d5608581b9
commit 2f7061b894
1 changed files with 6 additions and 0 deletions

View File

@ -912,6 +912,7 @@ void ami_gui_opts_open(void)
GA_RelVerify, TRUE,
GETFONT_TextAttr, &fontsans,
GETFONT_OTagOnly, TRUE,
GETFONT_ScalableOnly, TRUE,
GetFontEnd,
CHILD_Label, LabelObject,
LABEL_Text, gadlab[GID_OPTS_FONT_SANS],
@ -921,6 +922,7 @@ void ami_gui_opts_open(void)
GA_RelVerify, TRUE,
GETFONT_TextAttr, &fontserif,
GETFONT_OTagOnly, TRUE,
GETFONT_ScalableOnly, TRUE,
GetFontEnd,
CHILD_Label, LabelObject,
LABEL_Text, gadlab[GID_OPTS_FONT_SERIF],
@ -930,6 +932,7 @@ void ami_gui_opts_open(void)
GA_RelVerify, TRUE,
GETFONT_TextAttr, &fontmono,
GETFONT_OTagOnly, TRUE,
GETFONT_ScalableOnly, TRUE,
GETFONT_FixedWidthOnly, TRUE,
GetFontEnd,
CHILD_Label, LabelObject,
@ -940,6 +943,7 @@ void ami_gui_opts_open(void)
GA_RelVerify, TRUE,
GETFONT_TextAttr, &fontcursive,
GETFONT_OTagOnly, TRUE,
GETFONT_ScalableOnly, TRUE,
GetFontEnd,
CHILD_Label, LabelObject,
LABEL_Text, gadlab[GID_OPTS_FONT_CURSIVE],
@ -949,6 +953,7 @@ void ami_gui_opts_open(void)
GA_RelVerify, TRUE,
GETFONT_TextAttr, &fontfantasy,
GETFONT_OTagOnly, TRUE,
GETFONT_ScalableOnly, TRUE,
GetFontEnd,
CHILD_Label, LabelObject,
LABEL_Text, gadlab[GID_OPTS_FONT_FANTASY],
@ -958,6 +963,7 @@ void ami_gui_opts_open(void)
GA_RelVerify, TRUE,
GETFONT_TextAttr, &fontunicode,
GETFONT_OTagOnly, TRUE,
GETFONT_ScalableOnly, TRUE,
GetFontEnd,
CHILD_Label, LabelObject,
LABEL_Text, gadlab[GID_OPTS_FONT_UNICODE],