Searched refs:glyph (Results 1 - 25 of 355) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGAltGlyphItemElement.cpp40 // 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/
H A DSkAutoKern.h27 SkFixed adjust(const SkGlyph& glyph) argument
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
[all...]
H A DSkGlyphCache.cpp176 // 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 local
268 SkGlyph* glyph = fGlyphHash[index]; local
285 SkGlyph* glyph; local
335 findImage(const SkGlyph& glyph) argument
355 findPath(const SkGlyph& glyph) argument
367 findDistanceField(const SkGlyph& glyph) argument
674 const SkGlyph* glyph = fGlyphArray[i]; local
[all...]
/external/skia/src/core/
H A DSkAutoKern.h27 SkFixed adjust(const SkGlyph& glyph) argument
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
[all...]
H A DSkGlyphCache.cpp176 // 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 local
268 SkGlyph* glyph = fGlyphHash[index]; local
285 SkGlyph* glyph; local
335 findImage(const SkGlyph& glyph) argument
355 findPath(const SkGlyph& glyph) argument
367 findDistanceField(const SkGlyph& glyph) argument
691 const SkGlyph* glyph = fGlyphArray[i]; local
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-font-private.hh45 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) argument
165 glyph,
153 get_glyph(hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) argument
169 get_glyph_v_advance(hb_codepoint_t glyph) argument
176 get_glyph_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
185 get_glyph_v_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
208 get_glyph_extents(hb_codepoint_t glyph, hb_glyph_extents_t *extents) argument
218 get_glyph_contour_point(hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y) argument
228 get_glyph_name(hb_codepoint_t glyph, char *name, unsigned int size) argument
238 get_glyph_from_name(const char *name, int len, hb_codepoint_t *glyph) argument
252 get_glyph_advance_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
266 guess_v_origin_minus_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
275 get_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
301 add_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
313 subtract_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
338 get_glyph_extents_for_origin(hb_codepoint_t glyph, hb_direction_t direction, hb_glyph_extents_t *extents) argument
350 get_glyph_contour_point_for_origin(hb_codepoint_t glyph, unsigned int point_index, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
364 glyph_to_string(hb_codepoint_t glyph, char *s, unsigned int size) argument
375 glyph_from_string(const char *s, int len, hb_codepoint_t *glyph) argument
[all...]
/external/harfbuzz_ng/src/
H A Dhb-font-private.hh45 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) argument
165 glyph,
153 get_glyph(hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) argument
169 get_glyph_v_advance(hb_codepoint_t glyph) argument
176 get_glyph_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
185 get_glyph_v_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
208 get_glyph_extents(hb_codepoint_t glyph, hb_glyph_extents_t *extents) argument
218 get_glyph_contour_point(hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y) argument
228 get_glyph_name(hb_codepoint_t glyph, char *name, unsigned int size) argument
238 get_glyph_from_name(const char *name, int len, hb_codepoint_t *glyph) argument
252 get_glyph_advance_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
266 guess_v_origin_minus_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
275 get_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
301 add_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
313 subtract_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
338 get_glyph_extents_for_origin(hb_codepoint_t glyph, hb_direction_t direction, hb_glyph_extents_t *extents) argument
350 get_glyph_contour_point_for_origin(hb_codepoint_t glyph, unsigned int point_index, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
364 glyph_to_string(hb_codepoint_t glyph, char *s, unsigned int size) argument
375 glyph_from_string(const char *s, int len, hb_codepoint_t *glyph) argument
[all...]
/external/chromium_org/third_party/freetype/src/base/
H A Dftglyph.c21 /* 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 )
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
455 FT_Glyph_Get_CBox( FT_Glyph glyph, FT_UInt bbox_mode, FT_BBox *acbox ) argument
515 FT_Glyph b, glyph; local
[all...]
/external/freetype/src/base/
H A Dftglyph.c21 /* 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 )
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
456 FT_Glyph_Get_CBox( FT_Glyph glyph, FT_UInt bbox_mode, FT_BBox *acbox ) argument
511 FT_Glyph b, glyph; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftglyph.c22 /* 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 )
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
455 FT_Glyph_Get_CBox( FT_Glyph glyph, FT_UInt bbox_mode, FT_BBox *acbox ) argument
515 FT_Glyph b, glyph; local
[all...]
/external/icu/icu4c/source/layout/
H A DSegmentSingleProcessor2.cpp40 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);
H A DSimpleArrayProcessor.cpp38 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);
H A DSimpleArrayProcessor2.cpp41 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);
H A DSingleTableProcessor.cpp38 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);
H A DSingleTableProcessor2.cpp40 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);
H A DGDEFMarkFilter.cpp27 le_bool GDEFMarkFilter::accept(LEGlyphID glyph) const
29 le_int32 glyphClass = classDefTable->getGlyphClass(glyph);
H A DSingleSubstitutionSubtables.cpp45 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))) {
H A DLEGlyphFilter.h17 * 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;
/external/chromium_org/third_party/brotli/src/woff2/
H A Dglyph.cc17 #include "./glyph.h"
39 bool ReadCompositeGlyphData(Buffer* buffer, Glyph* glyph) { argument
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) { argument
82 // Empty glyph.
87 if (!buffer.ReadS16(&glyph
221 StoreBbox(const Glyph& glyph, size_t* offset, uint8_t* dst) argument
228 StoreInstructions(const Glyph& glyph, size_t* offset, uint8_t* dst) argument
233 StoreEndPtsOfContours(const Glyph& glyph, size_t* offset, uint8_t* dst) argument
246 StorePoints(const Glyph& glyph, size_t* offset, uint8_t* dst, size_t dst_size) argument
342 StoreGlyph(const Glyph& glyph, uint8_t* dst, size_t* dst_size) argument
[all...]
H A Dtransform.cc23 #include "./glyph.h"
84 bool Encode(int glyph_id, const Glyph& glyph) { argument
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) { argument
118 Write255UShort(&glyph_stream_, glyph.instructions_size);
120 glyph.instructions_data, glyph
123 WriteSimpleGlyph(int glyph_id, const Glyph& glyph) argument
152 WriteCompositeGlyph(int glyph_id, const Glyph& glyph) argument
165 WriteBbox(int glyph_id, const Glyph& glyph) argument
236 Glyph glyph; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dtext.c51 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
91 vg_render_glyph(struct vg_context *ctx, struct vg_glyph *glyph, VGbitfield paintModes, VGboolean allowAutoHinting) argument
115 vg_advance_glyph(struct vg_context *ctx, struct vg_glyph *glyph, VGfloat adjustment_x, VGfloat adjustment_y, VGboolean last) argument
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/
H A Dtext.c51 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
91 vg_render_glyph(struct vg_context *ctx, struct vg_glyph *glyph, VGbitfield paintModes, VGboolean allowAutoHinting) argument
115 vg_advance_glyph(struct vg_context *ctx, struct vg_glyph *glyph, VGfloat adjustment_x, VGfloat adjustment_y, VGboolean last) argument
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/
H A DSkTestScalerContext.cpp119 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
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DGlyphMetricsMap.h48 T metricsForGlyph(Glyph glyph) argument
50 return locatePage(glyph / GlyphMetricsPage::size)->metricsForGlyph(glyph);
53 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument
55 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics);
63 T metricsForGlyph(Glyph glyph) const { return m_metrics[glyph % size]; }
64 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument
66 setMetricsForIndex(glyph
[all...]
/external/pixman/pixman/
H A Dpixman-glyph.c66 free_glyph (glyph_t *glyph) argument
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
117 insert_glyph(pixman_glyph_cache_t *cache, glyph_t *glyph) argument
141 remove_glyph(pixman_glyph_cache_t *cache, glyph_t *glyph) argument
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...]

Completed in 2345 milliseconds

1234567891011>>