diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2015-05-18 15:26:03 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2015-05-18 15:26:03 -0700 |
commit | bcfe167e3d60402c1f999359ca8531c6fae01a2b (patch) | |
tree | fd9b7154e3d7cd2b7062b73e7e4fbfc0e5f7140f /src/fcdefault.c | |
parent | ead7275e05966eca19f530712f8e5c738a61cf4f (diff) | |
download | fontconfig-bcfe167e3d60402c1f999359ca8531c6fae01a2b.tar.gz |
Add su[pport for symbol fonts
Adds FC_SYMBOL.
This affects fonts having a cmap with platform 3 encoding 0.
We now map their glyphs from the PUA area to the Latin1 area.
See thread "Webdings and other MS symbol fonts don't display"
on the mailing list.
Test before/after with:
$ pango-view --markup --text='<span fallback="false">×</span>' --font=Wingdings
Diffstat (limited to 'src/fcdefault.c')
-rw-r--r-- | src/fcdefault.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fcdefault.c b/src/fcdefault.c index 7c16f48..4643e46 100644 --- a/src/fcdefault.c +++ b/src/fcdefault.c @@ -38,6 +38,7 @@ static const struct { { FC_GLOBAL_ADVANCE_OBJECT, FcTrue }, /* !FC_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH */ { FC_EMBEDDED_BITMAP_OBJECT, FcTrue }, /* !FC_LOAD_NO_BITMAP */ { FC_DECORATIVE_OBJECT, FcFalse }, + { FC_SYMBOL_OBJECT, FcFalse }, }; #define NUM_FC_BOOL_DEFAULTS (int) (sizeof FcBoolDefaults / sizeof FcBoolDefaults[0]) |