/external/fonttools/Tests/cffLib/ |
D | cffLib_test.py | 14 topDict = TopDict() 15 topDict.CharStrings = CharStrings(None, None, None, PrivateDict(), None, None) 16 topDict.CharStrings.fromXML(None, None, parseXML(""" 31 topDict.recalcFontBBox() 32 self.assertEqual(topDict.FontBBox, [-56, -100, 300, 200]) 35 topDict = TopDict() 36 topDict.CharStrings = CharStrings(None, None, None, PrivateDict(), None, None) 37 topDict.CharStrings.fromXML(None, None, parseXML(""" 46 topDict.recalcFontBBox() 47 self.assertEqual(topDict.FontBBox, [0, 0, 0, 0]) [all …]
|
/external/fonttools/Lib/fontTools/varLib/ |
D | cff.py | 32 topDict = varFont['CFF2'].cff.topDictIndex[0] 33 topDict.VarStore = VarStoreData(otVarStore=varStoreCFFV) 42 topDict = topDictData[0] 43 if hasattr(topDict, 'Private'): 44 privateDict = topDict.Private 48 topDict.order = opOrder 49 topDict.cff2GetGlyphOrder = cff2GetGlyphOrder 50 if not hasattr(topDict, "FDArray"): 51 fdArray = topDict.FDArray = FDArrayIndex() 53 fdArray.GlobalSubrs = topDict.GlobalSubrs [all …]
|
D | mutator.py | 38 def interpolate_cff2_PrivateDict(topDict, interpolateFromDeltas): argument 44 for fontDict in topDict.FDArray: 64 def interpolate_cff2_charstrings(topDict, interpolateFromDeltas, glyphOrder): argument 65 charstrings = topDict.CharStrings 101 def interpolate_cff2_metrics(varfont, topDict, glyphOrder, loc): argument 108 charstrings = topDict.CharStrings 227 topDict = CFF2.cff.topDictIndex[0] 228 vsInstancer = VarStoreInstancer(topDict.VarStore.otVarStore, fvar.axes, loc) 230 interpolate_cff2_PrivateDict(topDict, interpolateFromDeltas) 232 interpolate_cff2_charstrings(topDict, interpolateFromDeltas, glyphOrder) [all …]
|
/external/fonttools/Lib/fontTools/ |
D | fontBuilder.py | 504 topDict = TopDict() 505 topDict.charset = self.font.getGlyphOrder() 506 topDict.Private = private 508 setattr(topDict, key, value) 511 topDict.FontMatrix = [scale, 0, 0, scale, 0, 0] 513 charStrings = CharStrings(None, topDict.charset, globalSubrs, private, fdSelect, fdArray) 518 topDict.CharStrings = charStrings 520 fontSet.topDictIndex.append(topDict) 556 topDict = TopDict() 557 topDict.cff2GetGlyphOrder = cff2GetGlyphOrder [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ot-cff2-table.hh | 425 topDict.init (); in init() 441 ByteStr topDictStr (cff2 + cff2->topDict, cff2->topDictSize); in init() 445 topDict.init (); in init() 446 if (unlikely (!top_interp.interpret (topDict))) { fini (); return; } in init() 449 globalSubrs = &StructAtOffset<CFF2Subrs> (cff2, cff2->topDict + cff2->topDictSize); in init() 450 varStore = &StructAtOffsetOrNull<CFF2VariationStore> (cff2, topDict.vstoreOffset); in init() 451 charStrings = &StructAtOffsetOrNull<CFF2CharStrings> (cff2, topDict.charStringsOffset); in init() 452 fdArray = &StructAtOffsetOrNull<CFF2FDArray> (cff2, topDict.FDArrayOffset); in init() 453 fdSelect = &StructAtOffsetOrNull<CFF2FDSelect> (cff2, topDict.FDSelectOffset); in init() 512 CFF2TopDictValues topDict; member [all …]
|
D | hb-ot-cff1-table.hh | 1002 topDict.init (); in init() 1030 topDict.init (); in init() 1031 if (unlikely (!top_interp.interpret (topDict))) { fini (); return; } in init() 1038 charset = &StructAtOffsetOrNull<Charset> (cff, topDict.CharsetOffset); in init() 1045 fdArray = &StructAtOffsetOrNull<CFF1FDArray> (cff, topDict.FDArrayOffset); in init() 1046 fdSelect = &StructAtOffsetOrNull<CFF1FDSelect> (cff, topDict.FDSelectOffset); in init() 1067 charStrings = &StructAtOffsetOrNull<CFF1CharStrings> (cff, topDict.charStringsOffset); in init() 1110 CFF1TopDictValues *font = &topDict; in init() 1130 topDict.fini (); in fini() 1138 bool is_CID () const { return topDict.is_CID (); } in is_CID() [all …]
|
D | hb-subset-cff2.cc | 282 offsets.topDictInfo.size = TopDict::calculate_serialized_size (acc.topDict, topSzr); in create() 452 cff2->topDict.set (OT::cff2::static_size); in _write_cff2() 456 assert (cff2->topDict == c.head - c.start); in _write_cff2() 458 TopDict &dict = cff2 + cff2->topDict; in _write_cff2() 460 if (unlikely (!dict.serialize (&c, acc.topDict, topSzr, plan.offsets))) in _write_cff2() 469 assert (cff2->topDict + plan.offsets.topDictInfo.size == c.head - c.start); in _write_cff2()
|
D | hb-subset-cff1.cc | 574 unsigned int sid = acc.topDict.nameSIDs[i]; in collect_sids_in_dicts() 625 topdict_mod.init (&acc.topDict); in create() 626 bool need_to_add_enc = (subset_encoding && !acc.topDict.has_op (OpCode_Encoding)); in create() 627 bool need_to_add_set = (subset_charset && !acc.topDict.has_op (OpCode_charset)); in create() 746 offsets.encodingOffset = acc.topDict.EncodingOffset; in create() 755 offsets.charsetInfo.offset = acc.topDict.CharsetOffset; in create()
|
/external/fonttools/Lib/fontTools/cffLib/ |
D | __init__.py | 107 for topDict in self.topDictIndex: 108 topDict.recalcFontBBox() 137 for topDict in self.topDictIndex: 138 if not hasattr(topDict, "charset") or topDict.charset is None: 140 topDict.charset = charset 190 topDict = TopDict(GlobalSubrs=self.GlobalSubrs) 191 topDict.charset = None # gets filled in later 200 topDict = TopDict( 204 self.topDictIndex.append(topDict) 209 topDict.fromXML(name, attrs, content) [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _h_e_a_d.py | 65 topDict = ttFont['CFF '].cff.topDictIndex[0] 66 self.xMin, self.yMin, self.xMax, self.yMax = topDict.FontBBox
|
D | _h_h_e_a.py | 66 topDict = ttFont['CFF '].cff.topDictIndex[0] 67 charStrings = topDict.CharStrings
|
D | _v_h_e_a.py | 65 topDict = ttFont['CFF '].cff.topDictIndex[0] 66 charStrings = topDict.CharStrings
|