Allow primary & fallback locale fonts to be specified
e.g., for Chinese Traditional, try to use the full font (that we supply as an optional download), then try the 'subset' font that we ship with Tux Paint.
This commit is contained in:
parent
0bfc8c18c1
commit
0437b898ca
3 changed files with 42 additions and 16 deletions
|
|
@ -52,10 +52,11 @@
|
|||
typedef struct default_locale_font_s {
|
||||
int locale_id;
|
||||
const char * font_name;
|
||||
const char * font_name_fallback;
|
||||
} default_locale_font_t;
|
||||
|
||||
extern default_locale_font_t default_local_fonts[];
|
||||
extern const char * PANGO_DEFAULT_FONT;
|
||||
extern const char * PANGO_DEFAULT_FONT, * PANGO_DEFAULT_FONT_FALLBACK;
|
||||
|
||||
#include "compiler.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue