Home
last modified time | relevance | path

Searched refs:charString (Results 1 – 10 of 10) sorted by relevance

/external/fonttools/Lib/fontTools/subset/
Dcff.py254 def execute(self, charString): argument
255 old_hints = charString._hints if hasattr(charString, '_hints') else None
256 charString._hints = self.Hints()
258 psCharStrings.T2WidthExtractor.execute(self, charString)
260 hints = charString._hints
263 self._css.add(charString)
267 for i in range(hints.last_checked, len(charString.program) - 1):
268 if isinstance(charString.program[i], str):
273 hints.last_checked = len(charString.program)
376 def execute(self, charString): argument
[all …]
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py99 charString = pen.getCharString()
100 charStrings = {".notdef": charString, "A": charString, "a": charString, ".null": charString}
208 charString = pen.getCharString()
218 …charStrings = {".notdef": charString, "A": charString, "a": charStringVariable, ".null": charStrin…
/external/fonttools/Lib/fontTools/t1Lib/
D__init__.py97 for glyphName, charString in charStrings.items():
98 charString, R = eexec.decrypt(charString, 4330)
99 charStrings[glyphName] = psCharStrings.T1CharString(charString[lenIV:],
102 charString, R = eexec.decrypt(subrs[i], 4330)
103 subrs[i] = psCharStrings.T1CharString(charString[lenIV:], subrs=subrs)
/external/fonttools/Lib/fontTools/
DfontBuilder.py514 for glyphName, charString in charStringsDict.items():
515 charString.private = private
516 charString.globalSubrs = globalSubrs
517 charStrings[glyphName] = charString
564 for glyphName, charString in charStringsDict.items():
565 charString.private = private
566 charString.globalSubrs = globalSubrs
567 charStrings[glyphName] = charString
/external/fonttools/Lib/fontTools/pens/
Dt2CharStringPen.py89 charString = T2CharString(
91 return charString
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py890 charString = self.charStrings[name]
892 charString = self.charStringsIndex[charString]
893 return charString
895 def __setitem__(self, name, charString): argument
898 self.charStringsIndex[index] = charString
900 self.charStrings[name] = charString
954 charString = charStringClass(
957 charString.fromXML(name, attrs, content)
959 charString.fdSelectIndex = fdID
960 self[glyphName] = charString
[all …]
/external/icu/icu4c/source/i18n/
Dfmtable.cpp1014 CharString *charString = obj->internalGetCharString(*status); in ufmt_getDecNumChars() local
1018 if(charString == NULL) { in ufmt_getDecNumChars()
1023 *len = charString->length(); in ufmt_getDecNumChars()
1025 return charString->data(); in ufmt_getDecNumChars()
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py280 def execute(self, charString): argument
281 self.callingStack.append(charString)
282 needsDecompilation = charString.needsDecompilation()
291 token, isOperator, index = charString.getToken(index)
308 charString.setProgram(program)
/external/fonttools/Lib/fontTools/varLib/
Dcff.py500 charString = T2CharString(program=program, private=private,
502 return charString
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java1799 public static ByteString unescapeBytes(final CharSequence charString) in unescapeBytes() argument
1802 ByteString input = ByteString.copyFromUtf8(charString.toString()); in unescapeBytes()