diff options
author | Ewald Hew <ewaldhew@gmail.com> | 2017-09-25 06:49:41 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2017-09-25 09:26:59 +0200 |
commit | 6eb03f8f5a126c3716f557bd2e8e7ae0d6f93837 (patch) | |
tree | f5a56ec4c4b71d6478ab71a65f9b02de3c179bc1 /include/freetype/internal/psaux.h | |
parent | cb3f4c610d7f724731466eac78e667865f13d178 (diff) | |
download | freetype2-6eb03f8f5a126c3716f557bd2e8e7ae0d6f93837.tar.gz |
Add missing objects (2/2).
Synthesize a `SubFont' object for Type 1 fonts. This is used in the
interpreter to access Private dict data, which are stored in
different places for Type 1 and CFF. This allows the same data to
be used in either mode.
* src/psaux/psobjs.c (t1_make_subfont): New procedure to copy
required values to a dummy `CFF_SubFont' object. This is similar to
`cff_make_private_dict'.
* src/psaux/psobjs.h: Add the new declaration.
* include/freetype/internal/psaux.h, src/psaux/psauxmod.c: Ditto.
Add this to the PSAux Service for future use with CID fonts.
* src/type1/t1gload.c: Include FT_INTERNAL_CFF_TYPES_H.
(T1_Parse_Glyph_And_Get_Char_String): Add the call.
Diffstat (limited to 'include/freetype/internal/psaux.h')
-rw-r--r-- | include/freetype/internal/psaux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/freetype/internal/psaux.h b/include/freetype/internal/psaux.h index b28392bed..9748368db 100644 --- a/include/freetype/internal/psaux.h +++ b/include/freetype/internal/psaux.h @@ -1290,6 +1290,10 @@ FT_BEGIN_HEADER FT_Bool is_t1, PS_Decoder* ps_decoder ); + void + (*t1_make_subfont)( T1_Face face, + CFF_SubFont subfont ); + T1_CMap_Classes t1_cmap_classes; |