/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAltGlyphItemElement.cpp | 40 // The ?altGlyphItem? element defines a candidate set of possible glyph substitutions. 46 // there is at least one glyph. 47 for (SVGGlyphRefElement* glyph = Traversal<SVGGlyphRefElement>::firstChild(*this); glyph; glyph = Traversal<SVGGlyphRefElement>::nextSibling(*glyph)) { 49 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 674 const SkGlyph* glyph = fGlyphArray[i]; 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...] |
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/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/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);
|
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))) {
|
/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...] |
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/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/fonts/ |
SkTestScalerContext.cpp | 119 void SkTestTypeface::getAdvance(SkGlyph* glyph) { 120 glyph->fAdvanceX = fTestFont->fWidths[SkGlyph::ID2Code(glyph->fID)]; 121 glyph->fAdvanceY = 0; 128 void SkTestTypeface::getMetrics(SkGlyph* glyph) { 129 glyph->fAdvanceX = fTestFont->fWidths[SkGlyph::ID2Code(glyph->fID)]; 130 glyph->fAdvanceY = 0; 133 void SkTestTypeface::getPath(const SkGlyph& glyph, SkPath* path) { 134 *path = *fTestFont->fPaths[SkGlyph::ID2Code(glyph.fID)] [all...] |
/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...] |
/external/chromium_org/third_party/icu/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/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/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; 36 const void* drawDWMask(const SkGlyph& glyph, 40 HRESULT getBoundingBox(SkGlyph* glyph,
|