/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAltGlyphItemElement.cpp | 41 // The ?altGlyphItem? element defines a candidate set of possible glyph substitutions. 47 // there is at least one glyph. 48 for (SVGGlyphRefElement* glyph = Traversal<SVGGlyphRefElement>::firstChild(*this); glyph; glyph = Traversal<SVGGlyphRefElement>::nextSibling(*glyph)) { 50 if (glyph->hasValidGlyphElement(referredGlyphName)) {
|
/external/chromium_org/third_party/skia/src/core/ |
SkAutoKern.h | 27 SkFixed adjust(const SkGlyph& glyph) 29 // if (SkAbs32(glyph.fLsbDelta) > 47 || SkAbs32(glyph.fRsbDelta) > 47) 30 // printf("------- %d> L %d R %d\n", glyph.f_GlyphID, glyph.fLsbDelta, glyph.fRsbDelta); 33 int distort = fPrevRsbDelta - glyph.fLsbDelta; 35 fPrevRsbDelta = glyph.fRsbDelta; 44 SkFixed adjust = SkAutoKern_AdjustF(fPrevRsbDelta, glyph.fLsbDelta); 45 fPrevRsbDelta = glyph.fRsbDelta [all...] |
SkGlyphCache.cpp | 176 // this ID is based on the glyph index 187 SkGlyph* glyph = fGlyphHash[index]; local 189 if (NULL == glyph || glyph->fID != id) { 190 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); 191 fGlyphHash[index] = glyph; 193 return *glyph; 207 // this ID is based on the glyph index 230 // this ID is based on the glyph index 247 SkGlyph* glyph = fGlyphHash[index] local 268 SkGlyph* glyph = fGlyphHash[index]; local 285 SkGlyph* glyph; local 691 const SkGlyph* glyph = fGlyphArray[i]; local [all...] |
/external/skia/src/core/ |
SkAutoKern.h | 27 SkFixed adjust(const SkGlyph& glyph) 29 // if (SkAbs32(glyph.fLsbDelta) > 47 || SkAbs32(glyph.fRsbDelta) > 47) 30 // printf("------- %d> L %d R %d\n", glyph.f_GlyphID, glyph.fLsbDelta, glyph.fRsbDelta); 33 int distort = fPrevRsbDelta - glyph.fLsbDelta; 35 fPrevRsbDelta = glyph.fRsbDelta; 44 SkFixed adjust = SkAutoKern_AdjustF(fPrevRsbDelta, glyph.fLsbDelta); 45 fPrevRsbDelta = glyph.fRsbDelta [all...] |
SkGlyphCache.cpp | 176 // this ID is based on the glyph index 187 SkGlyph* glyph = fGlyphHash[index]; local 189 if (NULL == glyph || glyph->fID != id) { 190 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); 191 fGlyphHash[index] = glyph; 193 return *glyph; 207 // this ID is based on the glyph index 230 // this ID is based on the glyph index 247 SkGlyph* glyph = fGlyphHash[index] local 268 SkGlyph* glyph = fGlyphHash[index]; local 285 SkGlyph* glyph; local 691 const SkGlyph* glyph = fGlyphArray[i]; local [all...] |
/frameworks/base/libs/hwui/font/ |
FontUtil.h | 43 #define GET_METRICS(cache, glyph) cache->getGlyphIDMetrics(glyph) 45 #define IS_END_OF_STRING(glyph) false 56 #define GET_METRICS(cache, glyph) cache->getUnicharMetrics(glyph) 58 #define IS_END_OF_STRING(glyph) glyph < 0
|
Font.cpp | 141 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, 143 int width = (int) glyph->mBitmapWidth; 144 int height = (int) glyph->mBitmapHeight; 146 int nPenX = x + glyph->mBitmapLeft; 147 int nPenY = y + glyph->mBitmapTop; 163 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, 165 float width = (float) glyph->mBitmapWidth; 166 float height = (float) glyph->mBitmapHeight; 168 float nPenX = x + glyph->mBitmapLeft; 169 float nPenY = y + glyph->mBitmapTop + height 335 glyph_t glyph = GET_GLYPH(text); local 374 glyph_t glyph = GET_GLYPH(text); local 409 glyph_t glyph = GET_GLYPH(text); local [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-font-private.hh | 45 HB_FONT_FUNC_IMPLEMENT (glyph) \ 149 hb_codepoint_t glyph; local 150 return get_glyph (unicode, 0, &glyph); 154 hb_codepoint_t *glyph) 156 *glyph = 0; 157 return klass->get.glyph (this, user_data, 158 unicode, variation_selector, glyph, 159 klass->user_data.glyph); 162 inline hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) 165 glyph, [all...] |
/external/harfbuzz_ng/src/ |
hb-font-private.hh | 45 HB_FONT_FUNC_IMPLEMENT (glyph) \ 149 hb_codepoint_t glyph; local 150 return get_glyph (unicode, 0, &glyph); 154 hb_codepoint_t *glyph) 156 *glyph = 0; 157 return klass->get.glyph (this, user_data, 158 unicode, variation_selector, glyph, 159 klass->user_data.glyph); 162 inline hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) 165 glyph, [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
ftglyph.c | 21 /* that can be used by client applications to easily retrieve glyph */ 63 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 65 FT_Library library = FT_GLYPH( glyph )->library; 74 glyph->left = slot->bitmap_left; 75 glyph->top = slot->bitmap_top; 80 glyph->bitmap = slot->bitmap; 85 FT_Bitmap_New( &glyph->bitmap ); 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); 113 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 114 FT_Library library = FT_GLYPH( glyph )->library 125 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 161 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 191 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 222 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 237 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 248 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 287 FT_Glyph glyph = NULL; local 360 FT_Glyph glyph; local 515 FT_Glyph b, glyph; local [all...] |
/external/freetype/src/base/ |
ftglyph.c | 21 /* that can be used by client applications to easily retrieve glyph */ 63 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 65 FT_Library library = FT_GLYPH( glyph )->library; 74 glyph->left = slot->bitmap_left; 75 glyph->top = slot->bitmap_top; 80 glyph->bitmap = slot->bitmap; 85 FT_Bitmap_New( &glyph->bitmap ); 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); 113 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 114 FT_Library library = FT_GLYPH( glyph )->library 125 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 161 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 191 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 222 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 237 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 248 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 287 FT_Glyph glyph = NULL; local 360 FT_Glyph glyph; local 511 FT_Glyph b, glyph; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
fxft_ftglyph.c | 22 /* that can be used by client applications to easily retrieve glyph */ 63 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 65 FT_Library library = FT_GLYPH( glyph )->library; 74 glyph->left = slot->bitmap_left; 75 glyph->top = slot->bitmap_top; 80 glyph->bitmap = slot->bitmap; 85 FT_Bitmap_New( &glyph->bitmap ); 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); 113 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 114 FT_Library library = FT_GLYPH( glyph )->library 125 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 161 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 191 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 222 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 237 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 248 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 287 FT_Glyph glyph = NULL; local 360 FT_Glyph glyph; local 515 FT_Glyph b, glyph; local [all...] |
/external/icu/icu4c/source/layout/ |
SegmentSingleProcessor2.cpp | 40 le_int32 glyph; local 42 for (glyph = 0; glyph < glyphCount; glyph += 1) { 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 49 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SimpleArrayProcessor.cpp | 38 le_int32 glyph; local 42 for (glyph = 0; LE_SUCCESS(success) && (glyph < glyphCount); glyph += 1) { 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 46 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SimpleArrayProcessor2.cpp | 41 le_int32 glyph; local 43 for (glyph = 0; glyph < glyphCount; glyph += 1) { 44 LEGlyphID thisGlyph = glyphStorage[glyph]; 48 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SingleTableProcessor.cpp | 38 le_int32 glyph; local 41 for (glyph = 0; glyph < glyphCount; glyph += 1) { 42 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(singleTableLookupTable, entries, glyphStorage[glyph], success); 45 glyphStorage[glyph] = SWAPW(lookupSingle->value);
|
SingleTableProcessor2.cpp | 40 le_int32 glyph; local 43 for (glyph = 0; glyph < glyphCount; glyph += 1) { 44 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(singleTableLookupTable, entries, glyphStorage[glyph], success); 47 glyphStorage[glyph] = SWAPW(lookupSingle->value);
|
LEGlyphFilter.h | 17 * recognize a set of glyph indices. 31 * glyph index to see if it is in the set 34 * @param glyph - the glyph index to be tested 36 * @return TRUE if the glyph index is in the set. 40 virtual le_bool accept(LEGlyphID glyph) const = 0;
|
GDEFMarkFilter.cpp | 27 le_bool GDEFMarkFilter::accept(LEGlyphID glyph) const 29 le_int32 glyphClass = classDefTable->getGlyphClass(glyph);
|
/external/chromium_org/third_party/brotli/src/woff2/ |
glyph.cc | 15 // Glyph manipulation 17 #include "./glyph.h" 39 bool ReadCompositeGlyphData(Buffer* buffer, Glyph* glyph) { 40 glyph->have_instructions = false; 41 glyph->composite_data = buffer->buffer() + buffer->offset(); 48 glyph->have_instructions |= (flags & kFLAG_WE_HAVE_INSTRUCTIONS) != 0; 49 size_t arg_size = 2; // glyph index 69 glyph->composite_data_size = buffer->offset() - start_offset; 73 bool ReadGlyph(const uint8_t* data, size_t len, Glyph* glyph) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
text.c | 51 struct vg_glyph *glyph; local 53 glyph = (struct vg_glyph *) 55 if (glyph) 56 FREE(glyph); 58 return (glyph != NULL); 68 struct vg_glyph *glyph; local 73 glyph = CALLOC_STRUCT(vg_glyph); 74 glyph->object = obj; 75 glyph->is_hinted = isHinted; 76 memcpy(glyph->glyph_origin, glyphOrigin, sizeof(glyph->glyph_origin)) 155 struct vg_glyph *glyph = (struct vg_glyph *) cso_hash_iter_data(iter); local 200 struct vg_glyph *glyph; local 231 struct vg_glyph *glyph; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
text.c | 51 struct vg_glyph *glyph; local 53 glyph = (struct vg_glyph *) 55 if (glyph) 56 FREE(glyph); 58 return (glyph != NULL); 68 struct vg_glyph *glyph; local 73 glyph = CALLOC_STRUCT(vg_glyph); 74 glyph->object = obj; 75 glyph->is_hinted = isHinted; 76 memcpy(glyph->glyph_origin, glyphOrigin, sizeof(glyph->glyph_origin)) 155 struct vg_glyph *glyph = (struct vg_glyph *) cso_hash_iter_data(iter); local 200 struct vg_glyph *glyph; local 231 struct vg_glyph *glyph; local [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkScalerContext_win_dw.h | 29 virtual void generateAdvance(SkGlyph* glyph) SK_OVERRIDE; 30 virtual void generateMetrics(SkGlyph* glyph) SK_OVERRIDE; 31 virtual void generateImage(const SkGlyph& glyph) SK_OVERRIDE; 32 virtual void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE; 37 const void* drawDWMask(const SkGlyph& glyph);
|
/external/skia/src/ports/ |
SkScalerContext_win_dw.h | 29 virtual void generateAdvance(SkGlyph* glyph) SK_OVERRIDE; 30 virtual void generateMetrics(SkGlyph* glyph) SK_OVERRIDE; 31 virtual void generateImage(const SkGlyph& glyph) SK_OVERRIDE; 32 virtual void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE; 37 const void* drawDWMask(const SkGlyph& glyph);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
GlyphMetricsMap.h | 32 #include "platform/fonts/Glyph.h" 48 T metricsForGlyph(Glyph glyph) 50 return locatePage(glyph / GlyphMetricsPage::size)->metricsForGlyph(glyph); 53 void setMetricsForGlyph(Glyph glyph, const T& metrics) 55 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics); 63 T metricsForGlyph(Glyph glyph) const { return m_metrics[glyph % size]; [all...] |