Home
last modified time | relevance | path

Searched refs:isCFF2 (Results 1 – 14 of 14) sorted by relevance

/external/fonttools/Lib/fontTools/cffLib/
D__init__.py64 def decompile(self, file, otFont, isCFF2=None): argument
76 if isCFF2 is not None:
79 expected_major = (2 if isCFF2 else 1)
87 isCFF2 = self.major == 2
88 if not isCFF2:
91 self.fontNames = list(tostr(s) for s in Index(file, isCFF2=isCFF2))
92 self.topDictIndex = TopDictIndex(file, isCFF2=isCFF2)
101 file, cff2GetGlyphOrder, self.topDictSize, isCFF2=isCFF2)
103 self.GlobalSubrs = GlobalSubrsIndex(file, isCFF2=isCFF2)
132 def compile(self, file, otFont, isCFF2=None): argument
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_F_F__2.py8 self.cff.decompile(BytesIO(data), otFont, isCFF2=True)
13 self.cff.compile(f, otFont, isCFF2=True)
DC_F_F_.py14 self.cff.decompile(BytesIO(data), otFont, isCFF2=False)
19 self.cff.compile(f, otFont, isCFF2=False)
/external/fonttools/Tests/misc/
DpsCharStrings_test.py42 cs.isCFF2 = False
52 cs2.isCFF2 = True
54 cs2.compile(isCFF2=True)
/external/fonttools/Lib/fontTools/subset/
Dcff.py69 def _empty_charstring(font, glyphName, isCFF2, ignoreWidth=False): argument
71 if isCFF2 or ignoreWidth:
74 c.program = [] if isCFF2 else ['endchar']
96 isCFF2 = cff.major > 1
99 _empty_charstring(font, ".notdef", isCFF2=isCFF2)
152 isCFF2 = cff.major > 1
154 _empty_charstring(font, g, isCFF2=isCFF2, ignoreWidth=True)
/external/freetype/src/psaux/
Dpsfont.h69 FT_Bool isCFF2; member
Dpsintrp.c587 haveWidth = font->isCFF2 ? TRUE : FALSE; in cf2_interpT2CharString()
598 stackSize = font->isCFF2 ? cf2_getMaxstack( decoder ) in cf2_interpT2CharString()
647 font->isCFF2 ) in cf2_interpT2CharString()
713 if ( !font->isCFF2 ) in cf2_interpT2CharString()
739 if ( !font->isCFF2 ) in cf2_interpT2CharString()
1179 if ( font->isCFF2 || op2 >= cf2_escRESERVED_38 ) in cf2_interpT2CharString()
2517 if ( !font->isCFF2 && !font->isT1 && cf2_stack_count( opStack ) > 1 ) in cf2_interpT2CharString()
Dpsft.c399 font->isCFF2 = FALSE; in cf2_decoder_parse_charstrings()
403 font->isCFF2 = ((TT_Face)builder->face)->is_cff2; in cf2_decoder_parse_charstrings()
/external/fonttools/Lib/fontTools/
DfontBuilder.py775 isCFF2 = "CFF2" in self.font
777 if (self.isTTF or isCFF2) and keepGlyphNames:
/external/fonttools/Lib/fontTools/varLib/
Dcff.py124 cff.compile(file, otFont, isCFF2=True)
126 cff.decompile(file, otFont, isCFF2=True)
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py990 def compile(self, isCFF2=False): argument
996 if isCFF2:
/external/freetype/
DChangeLog.27572 * include/freetype/internal/tttypes.h (TT_Face): Add `isCFF2'
575 * src/cff/cf2font.h (CF2_Font): Add `isCFF2' member.
577 * src/cff/cf2ft.c (cf2_decoder_parse_charstrings): Handle `isCFF2'
DChangeLog.282266 * include/freetype/internal/tttypes.h (TT_Face): s/isCFF2/is_cff2/.
/external/fonttools/
DNEWS.rst1321 - [cffLib] Removed global ``isCFF2`` state; use one set of classes for