summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2017-06-21 22:52:37 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2017-06-21 22:52:37 -0400
commit75cb071b3fbfa2315c5d458fee2bb465a14568ae (patch)
tree904e403c67627fc5ae18817a8695d6833fe522d2 /devel
parent390048fa468dfee06f722da6b8ca1b79022480d6 (diff)
downloadfreetype2-75cb071b3fbfa2315c5d458fee2bb465a14568ae.tar.gz
[sfnt] Synthesize a Unicode charmap if one is missing.
* src/sfnt/ttcmap.h (tt_cmap_unicode_class_rec): Declare it. * src/sfnt/ttcmap.c (tt_get_glyph_name, tt_cmap_unicode_init, tt_cmap_unicode_done, tt_cmap_unicode_char_index, tt_cmap_unicode_char_next, tt_cmap_unicode_class_rec): Implement synthetic Unicode charmap class. (tt_get_cmap_info): Make sure the callback is available. * src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_POSTSCRIPT_NAMES]: If Unicode charmap is missing, synthesize one. * include/freetype/config/ftoption.h: Document it. * devel/ftoption.h: Ditto.
Diffstat (limited to 'devel')
-rw-r--r--devel/ftoption.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/ftoption.h b/devel/ftoption.h
index db661e7fc..a690ea2d0 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -327,7 +327,7 @@ FT_BEGIN_HEADER
/* */
/* - The TrueType driver will provide its own set of glyph names, */
/* if you build it to support postscript names in the TrueType */
- /* `post' table. */
+ /* `post' table, but will not synthesize a missing Unicode charmap. */
/* */
/* - The Type 1 driver will not be able to synthesize a Unicode */
/* charmap out of the glyphs found in the fonts. */