/external/icu/icu4c/source/layout/ |
SingleSubstitutionSubtables.cpp | 45 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 46 le_int32 coverageIndex = getGlyphCoverage(base, glyph, success); 49 TTGlyphID substitute = ((TTGlyphID) LE_GET_GLYPH(glyph)) + SWAPW(deltaGlyphID); 51 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { 63 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 64 le_int32 coverageIndex = getGlyphCoverage(base, glyph, success); 69 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) {
|
SegmentArrayProcessor.cpp | 39 le_int32 glyph; local 41 for (glyph = 0; glyph < glyphCount; glyph += 1) { 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 52 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SegmentArrayProcessor2.cpp | 39 le_int32 glyph; local 41 for (glyph = 0; glyph < glyphCount; glyph += 1) { 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 53 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SegmentSingleProcessor.cpp | 39 le_int32 glyph; local 41 for (glyph = 0; glyph < glyphCount && LE_SUCCESS(success); glyph += 1) { 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 48 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
TrimmedArrayProcessor.cpp | 47 le_int32 glyph; local 49 for (glyph = 0; glyph < glyphCount; glyph += 1) { 50 LEGlyphID thisGlyph = glyphStorage[glyph]; 56 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
TrimmedArrayProcessor2.cpp | 43 le_int32 glyph; local 45 for (glyph = 0; glyph < glyphCount; glyph += 1) { 46 LEGlyphID thisGlyph = glyphStorage[glyph]; 52 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
LookupTables.cpp | 27 const LookupSegment *BinarySearchLookupTable::lookupSegment(const LETableReference &base, const LookupSegment *segments, LEGlyphID glyph, LEErrorCode &success) const 33 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 60 const LookupSingle *BinarySearchLookupTable::lookupSingle(const LETableReference &base, const LookupSingle *entries, LEGlyphID glyph, LEErrorCode &success) const 65 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 69 if (SWAPW(trial->glyph) <= ttGlyph) { 78 if (SWAPW(trial->glyph) <= ttGlyph) { 83 if (SWAPW(entry->glyph) == ttGlyph) {
|
/external/pixman/pixman/ |
pixman-glyph.c | 66 free_glyph (glyph_t *glyph) 68 pixman_list_unlink (&glyph->mru_link); 69 pixman_image_unref (glyph->image); 70 free (glyph); 118 glyph_t *glyph) 123 idx = hash (glyph->font_key, glyph->glyph_key); 137 *loc = glyph; 142 glyph_t *glyph) 146 idx = hash (glyph->font_key, glyph->glyph_key) 173 glyph_t *glyph = cache->glyphs[i]; local 235 glyph_t *glyph = CONTAINER_OF (glyph_t, mru_link, cache->mru.tail); local 259 glyph_t *glyph; local 309 glyph_t *glyph; local 332 glyph_t *glyph = (glyph_t *)glyphs[i].glyph; local 364 const glyph_t *glyph = glyphs[i].glyph; local 440 glyph_t *glyph = (glyph_t *)glyphs[i].glyph; local 534 glyph_t *glyph = (glyph_t *)glyphs[i].glyph; local [all...] |
/external/chromium_org/third_party/brotli/src/woff2/ |
transform.cc | 23 #include "./glyph.h" 84 bool Encode(int glyph_id, const Glyph& glyph) { 85 if (glyph.composite_data_size > 0) { 86 WriteCompositeGlyph(glyph_id, glyph); 87 } else if (glyph.contours.size() > 0) { 88 WriteSimpleGlyph(glyph_id, glyph); 117 void WriteInstructions(const Glyph& glyph) { 118 Write255UShort(&glyph_stream_, glyph.instructions_size) 236 Glyph glyph; local [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrTextStrike_impl.h | 85 static bool LessThan(const GrGlyph& glyph, const Key& key) { 86 return glyph.fPackedID < key.fPackedID; 88 static bool Equals(const GrGlyph& glyph, const Key& key) { 89 return glyph.fPackedID == key.fPackedID; 98 GrGlyph* glyph = fCache.find(packed); local 99 if (NULL == glyph) { 100 glyph = this->generateGlyph(packed, scaler); 102 return glyph;
|
GrTextStrike.cpp | 242 static void free_glyph(GrGlyph*& glyph) { glyph->free(); } 267 GrGlyph* glyph = fPool.alloc(); local 268 glyph->init(packed, bounds); 269 fCache.insert(packed, glyph); 270 return glyph; 285 bool GrTextStrike::addGlyphToAtlas(GrGlyph* glyph, GrFontScaler* scaler) { 291 SkASSERT(glyph); 293 SkASSERT(fCache.contains(glyph)); 294 SkASSERT(NULL == glyph->fPlot) [all...] |
SkGrFontScaler.cpp | 107 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 110 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); 116 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 119 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight) 154 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 206 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 224 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID); local [all...] |
/external/icu/icu4c/source/samples/layout/ |
ScriptCompositeFontInstance.cpp | 36 void ScriptCompositeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const 39 le_int32 script = LE_GET_SUB_FONT(glyph); 46 font->getGlyphAdvance(LE_GET_GLYPH(glyph), advance); 50 le_bool ScriptCompositeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const 53 le_int32 script = LE_GET_SUB_FONT(glyph); 57 return font->getGlyphPoint(LE_GET_GLYPH(glyph), pointNumber, point); 99 LEGlyphID glyph = scriptFont->mapCharToGlyph(ch); local 101 return LE_SET_GLYPH(subFont, glyph);
|
/external/skia/src/gpu/ |
GrTextStrike_impl.h | 85 static bool LessThan(const GrGlyph& glyph, const Key& key) { 86 return glyph.fPackedID < key.fPackedID; 88 static bool Equals(const GrGlyph& glyph, const Key& key) { 89 return glyph.fPackedID == key.fPackedID; 98 GrGlyph* glyph = fCache.find(packed); local 99 if (NULL == glyph) { 100 glyph = this->generateGlyph(packed, scaler); 102 return glyph;
|
GrTextStrike.cpp | 242 static void free_glyph(GrGlyph*& glyph) { glyph->free(); } 267 GrGlyph* glyph = fPool.alloc(); local 268 glyph->init(packed, bounds); 269 fCache.insert(packed, glyph); 270 return glyph; 285 bool GrTextStrike::addGlyphToAtlas(GrGlyph* glyph, GrFontScaler* scaler) { 291 SkASSERT(glyph); 293 SkASSERT(fCache.contains(glyph)); 294 SkASSERT(NULL == glyph->fPlot) [all...] |
SkGrFontScaler.cpp | 107 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 110 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); 116 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 119 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight) 154 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 206 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 224 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID); local [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-font.h | 81 /* glyph extents */ 96 hb_codepoint_t *glyph, 101 hb_codepoint_t glyph, 107 hb_codepoint_t glyph, 121 hb_codepoint_t glyph, 125 hb_codepoint_t glyph, unsigned int point_index, 131 hb_codepoint_t glyph, 136 hb_codepoint_t *glyph, 324 hb_codepoint_t *glyph); 328 hb_codepoint_t glyph); [all...] |
hb-font.cc | 52 hb_codepoint_t *glyph, 56 return font->parent->get_glyph (unicode, variation_selector, glyph); 58 *glyph = 0; 65 hb_codepoint_t glyph, 69 return font->parent_scale_x_distance (font->parent->get_glyph_h_advance (glyph)); 77 hb_codepoint_t glyph, 81 return font->parent_scale_y_distance (font->parent->get_glyph_v_advance (glyph)); 89 hb_codepoint_t glyph, 95 hb_bool_t ret = font->parent->get_glyph_h_origin (glyph, x, y); 108 hb_codepoint_t glyph, [all...] |
/external/harfbuzz_ng/src/ |
hb-font.h | 81 /* glyph extents */ 96 hb_codepoint_t *glyph, 101 hb_codepoint_t glyph, 107 hb_codepoint_t glyph, 121 hb_codepoint_t glyph, 125 hb_codepoint_t glyph, unsigned int point_index, 131 hb_codepoint_t glyph, 136 hb_codepoint_t *glyph, 324 hb_codepoint_t *glyph); 328 hb_codepoint_t glyph); [all...] |
/external/chromium_org/third_party/skia/src/fonts/ |
SkGScalerContext.cpp | 79 void SkGScalerContext::generateAdvance(SkGlyph* glyph) { 80 fProxy->getAdvance(glyph); 83 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), 84 SkFixedToScalar(glyph->fAdvanceY), &advance); 85 glyph->fAdvanceX = SkScalarToFixed(advance.fX); 86 glyph->fAdvanceY = SkScalarToFixed(advance.fY); 89 void SkGScalerContext::generateMetrics(SkGlyph* glyph) { 90 fProxy->getMetrics(glyph); 93 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), 94 SkFixedToScalar(glyph->fAdvanceY), &advance) [all...] |
/external/skia/src/fonts/ |
SkGScalerContext.cpp | 79 void SkGScalerContext::generateAdvance(SkGlyph* glyph) { 80 fProxy->getAdvance(glyph); 83 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), 84 SkFixedToScalar(glyph->fAdvanceY), &advance); 85 glyph->fAdvanceX = SkScalarToFixed(advance.fX); 86 glyph->fAdvanceY = SkScalarToFixed(advance.fY); 89 void SkGScalerContext::generateMetrics(SkGlyph* glyph) { 90 fProxy->getMetrics(glyph); 93 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), 94 SkFixedToScalar(glyph->fAdvanceY), &advance) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkDrawProcs.h | 26 /** Half the sampling frequency of the rasterized glyph in x. */ 28 /** Half the sampling frequency of the rasterized glyph in y. */ 31 /** Draws one glyph. 96 // Returns the position of the glyph in fixed point, which may be rounded or not 99 void operator()(const SkPoint& loc, const SkGlyph& glyph, SkIPoint* dst) { 103 dst->set(SkScalarToFixed(loc.fX) - (glyph.fAdvanceX >> 1), 104 SkScalarToFixed(loc.fY) - (glyph.fAdvanceY >> 1)); 107 dst->set(SkScalarToFixed(loc.fX) - glyph.fAdvanceX, 108 SkScalarToFixed(loc.fY) - glyph.fAdvanceY); 121 // Returns the glyph position, which may be rounded or not by the calle [all...] |
/external/skia/src/core/ |
SkDrawProcs.h | 26 /** Half the sampling frequency of the rasterized glyph in x. */ 28 /** Half the sampling frequency of the rasterized glyph in y. */ 31 /** Draws one glyph. 96 // Returns the position of the glyph in fixed point, which may be rounded or not 99 void operator()(const SkPoint& loc, const SkGlyph& glyph, SkIPoint* dst) { 103 dst->set(SkScalarToFixed(loc.fX) - (glyph.fAdvanceX >> 1), 104 SkScalarToFixed(loc.fY) - (glyph.fAdvanceY >> 1)); 107 dst->set(SkScalarToFixed(loc.fX) - glyph.fAdvanceX, 108 SkScalarToFixed(loc.fY) - glyph.fAdvanceY); 121 // Returns the glyph position, which may be rounded or not by the calle [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 337 void SkScalerContext_FreeType_Base::generateGlyphImage(FT_Face face, const SkGlyph& glyph) { 341 switch ( face->glyph->format ) { 343 FT_Outline* outline = &face->glyph->outline; 349 dx = SkFixedToFDot6(glyph.getSubXFixed()); 350 dy = SkFixedToFDot6(glyph.getSubYFixed()); 366 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { 367 FT_Render_Glyph(face->glyph, doVert ? FT_RENDER_MODE_LCD_V : FT_RENDER_MODE_LCD); 369 glyph.toMask(&mask); 371 copyFT2LCD16<true>(face->glyph->bitmap, mask, doBGR, 374 copyFT2LCD16<false>(face->glyph->bitmap, mask, doBGR [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 337 void SkScalerContext_FreeType_Base::generateGlyphImage(FT_Face face, const SkGlyph& glyph) { 341 switch ( face->glyph->format ) { 343 FT_Outline* outline = &face->glyph->outline; 349 dx = SkFixedToFDot6(glyph.getSubXFixed()); 350 dy = SkFixedToFDot6(glyph.getSubYFixed()); 366 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { 367 FT_Render_Glyph(face->glyph, doVert ? FT_RENDER_MODE_LCD_V : FT_RENDER_MODE_LCD); 369 glyph.toMask(&mask); 371 copyFT2LCD16<true>(face->glyph->bitmap, mask, doBGR, 374 copyFT2LCD16<false>(face->glyph->bitmap, mask, doBGR [all...] |