Home
last modified time | relevance | path

Searched refs:strikeIndex (Results 1 – 6 of 6) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_D_T_.py143 for strikeIndex, bitmapGlyphDict in enumerate(self.strikeData):
144 writer.begintag('strikedata', [('index', strikeIndex)])
147 curBitmap.toXML(strikeIndex, curName, writer, ttFont)
157 strikeIndex = safeEval(attrs['index'])
177 if strikeIndex >= len(self.strikeData):
178 self.strikeData += [None] * (strikeIndex + 1 - len(self.strikeData))
179 assert self.strikeData[strikeIndex] is None, "Duplicate strike EBDT indices."
180 self.strikeData[strikeIndex] = bitmapGlyphDict
260 def _writeRawImageData(strikeIndex, glyphName, bitmapObject, writer, ttFont): argument
270 def _writeRowImageData(strikeIndex, glyphName, bitmapObject, writer, ttFont): argument
[all …]
DE_B_L_C_.py221 strikeIndex = safeEval(attrs['index'])
227 if strikeIndex >= len(self.strikes):
228 self.strikes += [None] * (strikeIndex + 1 - len(self.strikes))
229 assert self.strikes[strikeIndex] is None, "Duplicate strike EBLC indices."
230 self.strikes[strikeIndex] = curStrike
238 def toXML(self, strikeIndex, writer, ttFont): argument
239 writer.begintag('strike', [('index', strikeIndex)])
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp637 for (size_t strikeIndex = 0; strikeIndex < SK_ARRAY_COUNT(strikeSizes); ++strikeIndex) { in exportTtxCbdt() local
638 font.setSize(strikeSizes[strikeIndex]); in exportTtxCbdt()
640 out->writeDecAsText(strikeIndex); in exportTtxCbdt()
705 for (size_t strikeIndex = 0; strikeIndex < SK_ARRAY_COUNT(strikeSizes); ++strikeIndex) { in exportTtxCbdt() local
706 font.setSize(strikeSizes[strikeIndex]); in exportTtxCbdt()
709 out->writeDecAsText(strikeIndex); in exportTtxCbdt()
756 out->writeDecAsText(strikeSizes[strikeIndex]); in exportTtxCbdt()
759 out->writeDecAsText(strikeSizes[strikeIndex]); in exportTtxCbdt()
851 for (size_t strikeIndex = 0; strikeIndex < SK_ARRAY_COUNT(strikeSizes); ++strikeIndex) { in exportTtxSbix() local
852 font.setSize(strikeSizes[strikeIndex]); in exportTtxSbix()
[all …]
/external/skia/tools/fonts/
DSkTestSVGTypeface.cpp635 for (size_t strikeIndex = 0; strikeIndex < SK_ARRAY_COUNT(strikeSizes); ++strikeIndex) { in exportTtxCbdt() local
636 font.setSize(strikeSizes[strikeIndex]); in exportTtxCbdt()
638 out->writeDecAsText(strikeIndex); in exportTtxCbdt()
703 for (size_t strikeIndex = 0; strikeIndex < SK_ARRAY_COUNT(strikeSizes); ++strikeIndex) { in exportTtxCbdt() local
704 font.setSize(strikeSizes[strikeIndex]); in exportTtxCbdt()
707 out->writeDecAsText(strikeIndex); in exportTtxCbdt()
754 out->writeDecAsText(strikeSizes[strikeIndex]); in exportTtxCbdt()
757 out->writeDecAsText(strikeSizes[strikeIndex]); in exportTtxCbdt()
849 for (size_t strikeIndex = 0; strikeIndex < SK_ARRAY_COUNT(strikeSizes); ++strikeIndex) { in exportTtxSbix() local
850 font.setSize(strikeSizes[strikeIndex]); in exportTtxSbix()
[all …]
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp799 for (FT_Int strikeIndex = 0; strikeIndex < face->num_fixed_sizes; ++strikeIndex) { in chooseBitmapStrike() local
800 FT_Pos strikePPEM = face->available_sizes[strikeIndex].y_ppem; in chooseBitmapStrike()
803 return strikeIndex; in chooseBitmapStrike()
808 chosenStrikeIndex = strikeIndex; in chooseBitmapStrike()
814 chosenStrikeIndex = strikeIndex; in chooseBitmapStrike()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp799 for (FT_Int strikeIndex = 0; strikeIndex < face->num_fixed_sizes; ++strikeIndex) { in chooseBitmapStrike() local
800 FT_Pos strikePPEM = face->available_sizes[strikeIndex].y_ppem; in chooseBitmapStrike()
803 return strikeIndex; in chooseBitmapStrike()
808 chosenStrikeIndex = strikeIndex; in chooseBitmapStrike()
814 chosenStrikeIndex = strikeIndex; in chooseBitmapStrike()