Searched refs:glyphID (Results 51 - 75 of 88) sorted by relevance

1234

/external/chromium_org/third_party/skia/src/gpu/
H A DGrStencilAndCoverTextContext.cpp374 inline void GrStencilAndCoverTextContext::appendGlyph(uint16_t glyphID, float x) { argument
381 fIndexBuffer[fPendingGlyphCount] = glyphID;
387 inline void GrStencilAndCoverTextContext::appendGlyph(uint16_t glyphID, float x, float y) { argument
394 fIndexBuffer[fPendingGlyphCount] = glyphID;
H A DGrFontScaler.cpp204 bool GrFontScaler::getGlyphPath(uint16_t glyphID, SkPath* path) { argument
206 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID);
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_c_m_a_p.py311 # that maps the entire range of glyphID values to glyphIndex 0, e.g notdef:
333 # add it to the glyphID to get the final glyphIndex
458 assert (subHeader.entryCount == len(subHeader.glyphIndexArray)), "Error - subhead entry count does not match len of glyphID subrange."
568 glyphID = cmap[code]
570 if glyphID - 1 == lastID:
580 lastID = glyphID
684 glyphID = glyphIndexArray[index] + delta
686 glyphID = 0 # missing glyph
687 gids.append(glyphID & 0xFFFF)
735 cmap = {} # code:glyphID mappin
[all...]
H A D_g_l_y_f.py139 def getGlyphName(self, glyphID):
140 return self.glyphOrder[glyphID]
685 flags, glyphID = struct.unpack(">HH", data[i:i+4])
688 components.append(glyfTable.getGlyphName(int(glyphID)))
810 flags, glyphID = struct.unpack(">HH", data[:4])
812 glyphID = int(glyphID)
813 self.glyphName = glyfTable.getGlyphName(int(glyphID))
895 glyphID = glyfTable.getGlyphID(self.glyphName)
896 return struct.pack(">HH", flags, glyphID)
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_c_m_a_p.py311 # that maps the entire range of glyphID values to glyphIndex 0, e.g notdef:
333 # add it to the glyphID to get the final glyphIndex
458 assert (subHeader.entryCount == len(subHeader.glyphIndexArray)), "Error - subhead entry count does not match len of glyphID subrange."
568 glyphID = cmap[code]
570 if glyphID - 1 == lastID:
580 lastID = glyphID
684 glyphID = glyphIndexArray[index] + delta
686 glyphID = 0 # missing glyph
687 gids.append(glyphID & 0xFFFF)
735 cmap = {} # code:glyphID mappin
[all...]
H A D_g_l_y_f.py139 def getGlyphName(self, glyphID):
140 return self.glyphOrder[glyphID]
685 flags, glyphID = struct.unpack(">HH", data[i:i+4])
688 components.append(glyfTable.getGlyphName(int(glyphID)))
810 flags, glyphID = struct.unpack(">HH", data[:4])
812 glyphID = int(glyphID)
813 self.glyphName = glyfTable.getGlyphName(int(glyphID))
895 glyphID = glyfTable.getGlyphID(self.glyphName)
896 return struct.pack(">HH", flags, glyphID)
[all...]
/external/icu/icu4c/source/layout/
H A DGlyphIterator.h57 void setCurrGlyphID(TTGlyphID glyphID);
H A DLEGlyphStorage.h387 * @param glyphID the new glyph ID
392 void setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success);
H A DLEGlyphStorage.cpp273 void LEGlyphStorage::setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success) argument
289 fGlyphs[glyphIndex] = glyphID;
/external/skia/include/gpu/
H A DSkGr.h121 virtual bool getGlyphPath(uint16_t glyphID, SkPath*);
/external/skia/src/ports/
H A DSkFontConfigInterface_android.cpp107 SkTypeface* getTypefaceForGlyphID(uint16_t glyphID, const SkTypeface* origTypeface,
541 uint16_t glyphID; local
542 paint.textToGlyphs(&uni, sizeof(uni), &glyphID);
543 if (glyphID != 0) {
685 SkTypeface* SkFontConfigInterfaceAndroid::getTypefaceForGlyphID(uint16_t glyphID, argument
698 if (glyphID < upperBounds) {
722 if (glyphID < upperBounds) {
771 SkTypeface* SkGetTypefaceForGlyphID(uint16_t glyphID, const SkTypeface* origTypeface, argument
775 return fontConfig->getTypefaceForGlyphID(glyphID, origTypeface, options,
/external/chromium_org/third_party/skia/include/pdf/
H A DSkPDFDevice.h299 void updateFont(const SkPaint& paint, uint16_t glyphID,
301 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
/external/skia/include/pdf/
H A DSkPDFDevice.h292 void updateFont(const SkPaint& paint, uint16_t glyphID,
294 int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID);
/external/skia/src/core/
H A DSkScalerContext.h169 may be chained (under the hood), the glyphID that is returned may in
175 /** Map the glyphID to its glyph index, and then to its char code. Unmapped
178 SkUnichar glyphIDToChar(uint16_t glyphID);
302 // is found it returns NULL. If a match is found then the glyphID param is
303 // set to the glyphID that maps to the provided char.
304 SkScalerContext* getContextFromChar(SkUnichar uni, uint16_t* glyphID);
H A DSkPaint.cpp606 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); local
609 if (0 == glyphID[i]) {
736 unsigned glyphID = *ptr; local
739 return cache->getGlyphIDMetrics(glyphID);
749 unsigned glyphID = *ptr; local
751 return cache->getGlyphIDMetrics(glyphID);
814 unsigned glyphID = *ptr; local
817 return cache->getGlyphIDAdvance(glyphID);
827 unsigned glyphID = *ptr; local
829 return cache->getGlyphIDAdvance(glyphID);
932 unsigned glyphID = *ptr; local
944 unsigned glyphID = *ptr; local
[all...]
/external/skia/src/gpu/
H A DSkGrFontScaler.cpp222 bool SkGrFontScaler::getGlyphPath(uint16_t glyphID, SkPath* path) { argument
224 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID);
/external/fonttools/Lib/fontTools/
H A DcffLib.py466 for glyphID in range(prev, first):
467 gidArray[glyphID] = fd
472 for glyphID in range(prev, first):
473 gidArray[glyphID] = fd
1020 for glyphID in range(1, nCodes + 1):
1023 encoding[code] = charset[glyphID]
1029 glyphID = 1
1033 for glyphID in range(glyphID, glyphID
[all...]
/external/fonttools/Tools/fontTools/
H A DcffLib.py466 for glyphID in range(prev, first):
467 gidArray[glyphID] = fd
472 for glyphID in range(prev, first):
473 gidArray[glyphID] = fd
1020 for glyphID in range(1, nCodes + 1):
1023 encoding[code] = charset[glyphID]
1029 glyphID = 1
1033 for glyphID in range(glyphID, glyphID
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPaint.cpp574 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); local
577 if (0 == glyphID[i]) {
704 unsigned glyphID = *ptr; local
707 return cache->getGlyphIDMetrics(glyphID);
717 unsigned glyphID = *ptr; local
719 return cache->getGlyphIDMetrics(glyphID);
782 unsigned glyphID = *ptr; local
785 return cache->getGlyphIDAdvance(glyphID);
795 unsigned glyphID = *ptr; local
797 return cache->getGlyphIDAdvance(glyphID);
900 unsigned glyphID = *ptr; local
912 unsigned glyphID = *ptr; local
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontMgr_android.cpp368 uint16_t glyphID; local
369 paint.textToGlyphs(&character, sizeof(character), &glyphID);
370 if (glyphID != 0) {
H A DSkFontHost_mac.cpp327 CGGlyph glyphID, size_t* rowBytesPtr,
662 void getVerticalOffset(CGGlyph glyphID, SkPoint* offset) const;
766 CGGlyph glyphID, size_t* rowBytesPtr,
855 context.getVerticalOffset(glyphID, &offset);
862 &glyphID, 1);
869 void SkScalerContext_Mac::getVerticalOffset(CGGlyph glyphID, SkPoint* offset) const { argument
873 CTFontGetVerticalTranslationsForGlyphs(fCTFont, &glyphID, &cgVertOffset, 1);
765 getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, CGGlyph glyphID, size_t* rowBytesPtr, bool generateA8FromLCD) argument
/external/chromium_org/third_party/skia/tools/lua/
H A Dglyph-usage.lua70 -- array is an array of bools (true), using glyphID as the index
/external/skia/tests/
H A DPDFPrimitivesTest.cpp337 uint16_t glyphID = 65000; local
338 c.drawText(&glyphID, 2, 0, 0, paint);
/external/skia/tools/lua/
H A Dglyph-usage.lua70 -- array is an array of bools (true), using glyphID as the index
/external/chromium_org/third_party/skia/tests/
H A DPDFPrimitivesTest.cpp338 uint16_t glyphID = 65000; local
339 c.drawText(&glyphID, 2, 0, 0, paint);

Completed in 737 milliseconds

1234