Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/subset/
Dcff.py29 def __init__(self, components, localSubrs, globalSubrs): argument
32 globalSubrs)
63 decompiler = _ClosureGlyphsT2Decompiler(components, subrs, gl.globalSubrs)
204 def __init__(self, localSubrs, globalSubrs, private): argument
207 globalSubrs,
209 for subrs in [localSubrs, globalSubrs]:
218 self.globalSubrs._used.add(self.operandStack[-1]+self.globalBias)
248 def __init__(self, css, localSubrs, globalSubrs, nominalWidthX, defaultWidthX, private=None): argument
251 self, localSubrs, globalSubrs, nominalWidthX, defaultWidthX)
284 subr = self.globalSubrs[self.operandStack[-1]+self.globalBias]
[all …]
/external/fonttools/Lib/fontTools/
DfontBuilder.py496 globalSubrs = GlobalSubrsIndex()
497 fontSet.GlobalSubrs = globalSubrs
513 charStrings = CharStrings(None, topDict.charset, globalSubrs, private, fdSelect, fdArray)
516 charString.globalSubrs = globalSubrs
538 globalSubrs = GlobalSubrsIndex()
539 fontSet.GlobalSubrs = globalSubrs
546 fdArray.GlobalSubrs = globalSubrs
563 charStrings = CharStrings(None, None, globalSubrs, private, fdSelect, fdArray)
566 charString.globalSubrs = globalSubrs
/external/fonttools/Lib/fontTools/pens/
Dt2CharStringPen.py76 def getCharString(self, private=None, globalSubrs=None, optimize=True): argument
90 program=program, private=private, globalSubrs=globalSubrs)
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py265 def __init__(self, localSubrs, globalSubrs, private=None): argument
268 self.globalSubrs = globalSubrs
269 self.globalBias = calcSubrBias(globalSubrs)
341 subr = self.globalSubrs[subrIndex+self.globalBias]
459 def __init__(self, localSubrs, globalSubrs, nominalWidthX, defaultWidthX, private=None): argument
460 SimpleT2Decompiler.__init__(self, localSubrs, globalSubrs, private)
501 def __init__(self, pen, localSubrs, globalSubrs, nominalWidthX, defaultWidthX, private=None): argument
503 self, localSubrs, globalSubrs, nominalWidthX, defaultWidthX, private)
940 def __init__(self, bytecode=None, program=None, private=None, globalSubrs=None): argument
946 self.globalSubrs = globalSubrs if globalSubrs is not None else []
[all …]
/external/fonttools/Lib/fontTools/varLib/
Dcff.py247 globalSubrs=default_charstring.globalSubrs,
491 def getCharString(self, private=None, globalSubrs=None, argument
501 globalSubrs=globalSubrs)
/external/harfbuzz_ng/src/
Dhb-ot-cff2-table.hh449 globalSubrs = &StructAtOffset<CFF2Subrs> (cff2, cff2->topDict + cff2->topDictSize); in init()
457 (globalSubrs == &Null(CFF2Subrs)) || unlikely (!globalSubrs->sanitize (&sc)) || in init()
513 const CFF2Subrs *globalSubrs; member
Dhb-cff1-interp-cs.hh43 SUPER::init (str, *acc.globalSubrs, *acc.privateDicts[fd].localSubrs); in init()
Dhb-ot-cff1-table.hh1063 globalSubrs = &StructAtOffset<CFF1Subrs> (stringIndex, stringIndex->get_size ()); in init()
1064 if ((globalSubrs != &Null (CFF1Subrs)) && !globalSubrs->sanitize (&sc)) in init()
1164 const CFF1Subrs *globalSubrs; member
Dhb-cff-interp-cs-common.hh132 globalSubrs.init (globalSubrs_); in init()
140 globalSubrs.fini (); in fini()
214 BiasedSubrs<SUBRS> globalSubrs; member
273 env.callSubr (env.globalSubrs, CSType_GlobalSubr); in process_op()
Dhb-cff2-interp-cs.hh85 SUPER::init (str, *acc.globalSubrs, *acc.privateDicts[fd].localSubrs); in init()
Dhb-subset-cff2.cc200 process_call_subr (op, CSType_GlobalSubr, env, param, env.globalSubrs, param.global_closure); in process_op()
Dhb-subset-cff-common.hh656 parsed_global_subrs.init (acc.globalSubrs->count); in subset()
Dhb-subset-cff1.cc370 process_call_subr (op, CSType_GlobalSubr, env, param, env.globalSubrs, param.global_closure); in process_op()
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py620 def __init__(self, file=None, globalSubrs=None, private=None, argument
623 self.globalSubrs = globalSubrs
641 return self.subrClass(data, private=private, globalSubrs=self.globalSubrs)
850 def __init__(self, file, charset, globalSubrs, private, fdSelect, fdArray, argument
852 self.globalSubrs = globalSubrs
855 file, globalSubrs, private, fdSelect, fdArray, isCFF2=isCFF2)
956 globalSubrs=self.globalSubrs)
1238 globalSubrs = parent.GlobalSubrs
1251 file, charset, globalSubrs, private, fdSelect, fdArray, isCFF2=isCFF2)