Home
last modified time | relevance | path

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

/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py83 charStrings = {".notdef": charString, "A": charString,
85 fb.setupCFF2(charStrings, regions=[{"TEST": (0, 1, 1)}])
135 charStrings = {".notdef": charString, "A": charString, "a": charString, ".null": charString}
136 fb.setupCFF(nameStrings['psName'], {"FullName": nameStrings['psName']}, charStrings, {})
138 lsb = {gn: cs.calcBounds(None)[0] for gn, cs in charStrings.items()}
271 charStrings = {".notdef": charString, "A": charString, "a": charString, ".null": charString}
272 fb.setupCFF("TestFont", {}, charStrings, {})
/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_e_a_d.py69 charStrings = topDict.CharStrings
71 for charString in charStrings.values():
72 bounds = charString.calcBounds(charStrings)
D_v_h_e_a.py67 charStrings = topDict.CharStrings
69 cs = charStrings[name]
70 bounds = cs.calcBounds(charStrings)
D_h_h_e_a.py81 charStrings = topDict.CharStrings
83 cs = charStrings[name]
84 bounds = cs.calcBounds(charStrings)
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py324 charStrings = topDict.CharStrings
325 if charStrings.charStringsAreIndexed:
326 charStrings.charStringsIndex.fdArray = fdArray
328 charStrings.fdArray = fdArray
1029 self.charStrings = charStrings = {}
1031 charStrings[charset[i]] = i
1036 self.charStrings = {}
1046 return list(self.charStrings.keys())
1052 return list(self.charStrings.values())
1055 return name in self.charStrings
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-cff2-table.hh455 charStrings = &StructAtOffsetOrNull<CFF2CharStrings> (cff2, topDict.charStringsOffset); in init()
460 (charStrings == &Null(CFF2CharStrings)) || unlikely (!charStrings->sanitize (&sc)) || in init()
466 num_glyphs = charStrings->count; in init()
520 const CFF2CharStrings *charStrings; member
Dhb-ot-cff1-table.cc299 const byte_str_t str = (*cff->charStrings)[glyph]; in _get_bounds()
380 const byte_str_t str = (*charStrings)[glyph]; in get_seac_components()
Dhb-ot-cff2-table.cc115 const byte_str_t str = (*charStrings)[glyph]; in get_extents()
Dhb-ot-cff1-table.hh1087 charStrings = &StructAtOffsetOrNull<CFF1CharStrings> (cff, topDict.charStringsOffset); in init()
1089 if ((charStrings == &Null(CFF1CharStrings)) || unlikely (!charStrings->sanitize (&sc))) in init()
1092 num_glyphs = charStrings->count; in init()
1185 const CFF1CharStrings *charStrings; member
Dhb-subset-cff-common.hh307 const byte_str_t str = (*acc.charStrings)[glyph]; in flatten()
663 const byte_str_t str = (*acc.charStrings)[glyph]; in subset()
/external/fonttools/Lib/fontTools/
DfontBuilder.py546 charStrings = CharStrings(
552 charStrings[glyphName] = charString
553 topDict.CharStrings = charStrings
606 charStrings = CharStrings(None, None, globalSubrs, private, fdSelect, fdArray)
610 charStrings[glyphName] = charString
611 topDict.CharStrings = charStrings
/external/fonttools/Lib/fontTools/t1Lib/
D__init__.py92 charStrings = self.font["CharStrings"]
96 for glyphName, charString in charStrings.items():
98 charStrings[glyphName] = psCharStrings.T1CharString(charString[lenIV:],
/external/fonttools/Lib/fontTools/varLib/
Dcff.py69 charStrings = topDict.CharStrings
70 if charStrings.charStringsAreIndexed:
71 charStrings.charStringsIndex.fdArray = fdArray
73 charStrings.fdArray = fdArray
/external/fonttools/Lib/fontTools/subset/
Dcff.py140 cs.charStrings = {g:indices.index(v)
141 for g,v in cs.charStrings.items()
144 cs.charStrings = {g:v
145 for g,v in cs.charStrings.items()