HomeSort by relevance Sort by last modified time
    Searched defs:glyph (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/sfntly/cpp/src/sfntly/table/bitmap/
simple_bitmap_glyph.cc 41 Ptr<SimpleBitmapGlyph> glyph = new SimpleBitmapGlyph(data, format()); local
42 return glyph.Detach();
bitmap_glyph.cc 30 BitmapGlyphPtr glyph; local
34 glyph.Attach(down_cast<BitmapGlyph*>(builder->Build()));
36 return glyph;
composite_bitmap_glyph.cc 55 throw IllegalStateException("Attempt to create a Composite Bitmap Glyph "
105 Ptr<CompositeBitmapGlyph> glyph = new CompositeBitmapGlyph(data, format()); local
106 return glyph.Detach();
  /frameworks/base/libs/hwui/font/
FontCacheHistoryTracker.cpp 25 void FontCacheHistoryTracker::dumpCachedGlyph(String8& log, const CachedGlyph& glyph) {
26 log.appendFormat("glyph (texture %p, position: (%d, %d), size: %dx%d, gen: %d)", glyph.texture,
27 glyph.startX, glyph.startY, glyph.bitmapW, glyph.bitmapH, glyph.generation);
32 log.appendFormat(" glyph skipped in gen: %d\n", entry.glyph.generation)
77 CachedGlyph& glyph = mUploadHistory.next(); local
87 CachedGlyph& glyph = mUploadHistory.next(); local
    [all...]
FontCacheHistoryTracker.h 28 // Tracks glyph uploads and recent rendered/skipped glyphs, so it can give an idea
29 // what a missing character is: skipped glyph, wrong coordinates in cache texture etc.
49 CachedGlyph glyph; member in struct:android::uirenderer::FontCacheHistoryTracker::RenderEntry
54 static void dumpCachedGlyph(String8& log, const CachedGlyph& glyph);
56 static void dumpUploadEntry(String8& log, const CachedGlyph& glyph);
  /external/icu/icu4c/source/samples/layout/
ScriptCompositeFontInstance.cpp 42 void ScriptCompositeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const
45 le_int32 script = LE_GET_SUB_FONT(glyph);
52 font->getGlyphAdvance(LE_GET_GLYPH(glyph), advance);
56 le_bool ScriptCompositeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const
59 le_int32 script = LE_GET_SUB_FONT(glyph);
63 return font->getGlyphPoint(LE_GET_GLYPH(glyph), pointNumber, point);
105 LEGlyphID glyph = scriptFont->mapCharToGlyph(ch); local
107 return LE_SET_GLYPH(subFont, glyph);
GnomeFontInstance.cpp 143 void GnomeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const
148 if (glyph >= 0xFFFE) {
154 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT);
160 advance.fX = fFace->glyph->metrics.horiAdvance >> 6;
164 le_bool GnomeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const
168 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT);
174 if (pointNumber >= fFace->glyph->outline.n_points) {
178 point.fX = fFace->glyph->outline.points[pointNumber].x >> 6;
179 point.fY = fFace->glyph->outline.points[pointNumber].y >> 6;
191 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]) local
    [all...]
  /external/sfntly/cpp/src/sfntly/tools/subsetter/
glyph_table_subsetter.cc 74 GlyphPtr glyph; local
75 glyph.Attach(glyph_table->GetGlyph(old_offset, old_length));
76 ReadableFontDataPtr data = glyph->ReadFontData();
  /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_Init( &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
163 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
195 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
228 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
243 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
254 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
295 FT_Glyph glyph = NULL; local
368 FT_Glyph glyph; local
519 FT_Glyph b, glyph; local
    [all...]
  /external/pdfium/core/fxge/android/
cfpf_skiafont.cpp 101 FXFT_Glyph glyph; local
102 if (FXFT_Get_Glyph(m_Face->glyph, &glyph)) {
107 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox);
116 FXFT_Done_Glyph(glyph);
  /external/pdfium/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_Init( &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
193 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
226 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
241 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
252 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local
291 FT_Glyph glyph = NULL; local
364 FT_Glyph glyph; local
515 FT_Glyph b, glyph; local
    [all...]
  /external/pdfium/third_party/freetype/src/type1/
t1gload.c 5 /* Type 1 Glyph Loader (body). */
48 /********** quickly processes each glyph charstring to *********/
171 0, /* glyph slot */
192 /* for each glyph, parse the glyph charstring and extract */
201 /* ignore the error if one occurred - skip to next glyph */
236 0, /* glyph slot */
274 T1_GlyphSlot glyph = (T1_GlyphSlot)t1glyph; local
303 FT_TRACE1(( "T1_Load_Glyph: glyph index %d\n", glyph_index ));
312 glyph->x_scale = t1size->metrics.x_scale
    [all...]
  /external/skia/src/core/
SkTextToPathIter.h 77 const SkGlyph& glyph = fGlyphCacheProc(fCache, &text); local
78 SkScalar width = (&glyph.fAdvanceX)[0] * fScale;
  /external/freetype/include/freetype/
ftglyph.h 22 /* that can be used by client applications to easily retrieve glyph */
55 /* Glyph Management */
58 /* Generic interface to manage individual glyph data. */
61 /* This section contains definitions used to manage glyph data */
78 /* Handle to an object used to model generic glyph images. It is a */
79 /* pointer to the @FT_GlyphRec structure and can contain a glyph */
83 /* Glyph objects are not owned by the library. You must thus release */
96 /* The root glyph structure contains a given glyph image plus its */
102 /* clazz :: A pointer to the glyph's class. Private. *
537 FT_Done_Glyph( FT_Glyph glyph ); variable
    [all...]
  /external/freetype/src/cache/
ftcbasic.c 166 /* we will now load the glyph image */
179 if ( face->glyph->format == FT_GLYPH_FORMAT_BITMAP ||
180 face->glyph->format == FT_GLYPH_FORMAT_OUTLINE )
183 FT_Glyph glyph; local
186 error = FT_Get_Glyph( face->glyph, &glyph );
189 *aglyph = glyph;
336 *aglyph = FTC_INODE( node )->glyph;
397 *aglyph = FTC_INODE( node )->glyph;
499 /* beware, the hash must be the same for all glyph ranges! *
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-fallback.cc 398 /* Find the base glyph */
505 hb_codepoint_t glyph; local
529 if (font->get_nominal_glyph (u, &glyph))
531 pos[i].x_advance = font->get_glyph_h_advance (glyph);
537 if (font->get_nominal_glyph ('.', &glyph))
538 pos[i].x_advance = font->get_glyph_h_advance (glyph);
539 else if (font->get_nominal_glyph (',', &glyph))
540 pos[i].x_advance = font->get_glyph_h_advance (glyph);
hb-ot-shape-normalize.cc 98 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph)
100 buffer->cur().glyph_index() = glyph;
106 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph)
108 buffer->cur().glyph_index() = glyph;
167 hb_codepoint_t glyph; local
169 if (shortest && c->font->get_nominal_glyph (u, &glyph))
171 next_char (buffer, glyph);
181 if (!shortest && c->font->get_nominal_glyph (u, &glyph))
183 next_char (buffer, glyph);
212 next_char (buffer, glyph); /* glyph is initialized in earlier branches. *
375 hb_codepoint_t composed, glyph; local
    [all...]
  /external/harfbuzz_ng/test/api/
test-font.c 115 hb_codepoint_t glyph; local
136 glyph = 3;
137 g_assert (!hb_font_get_glyph (font, 17, 2, &glyph));
138 g_assert_cmpint (glyph, ==, 0);
204 hb_codepoint_t glyph, unsigned int point_index,
208 if (glyph == 1) {
213 if (glyph == 2) {
224 hb_codepoint_t glyph, unsigned int point_index,
228 if (glyph == 1) {
235 glyph, point_index, x, y)
    [all...]
test-ot-math.c 185 hb_codepoint_t glyph; local
189 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph));
190 g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo not available
194 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph));
195 g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo empty
199 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph));
200 g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathItalicsCorrectionInfo empty
204 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph));
205 g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // Glyph without italic correction
220 hb_codepoint_t glyph; local
255 hb_codepoint_t glyph; local
281 hb_codepoint_t glyph; local
348 hb_codepoint_t glyph; local
414 hb_codepoint_t glyph; local
538 hb_codepoint_t 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/pdfium/third_party/freetype/include/freetype/
ftglyph.h 22 /* that can be used by client applications to easily retrieve glyph */
55 /* Glyph Management */
58 /* Generic interface to manage individual glyph data. */
61 /* This section contains definitions used to manage glyph data */
78 /* Handle to an object used to model generic glyph images. It is a */
79 /* pointer to the @FT_GlyphRec structure and can contain a glyph */
83 /* Glyph objects are not owned by the library. You must thus release */
96 /* The root glyph structure contains a given glyph image plus its */
102 /* clazz :: A pointer to the glyph's class. Private. *
537 FT_Done_Glyph( FT_Glyph glyph ); variable
    [all...]
  /external/pdfium/third_party/freetype/src/cid/
cidgload.c 5 /* CID-keyed Type1 Glyph Loader (body). */
61 FT_TRACE1(( "cid_load_glyph: glyph index %d\n", glyph_index ));
207 /********** quickly processes each glyph charstring to *********/
233 0, /* glyph slot */
234 0, /* glyph names! XXX */
247 /* for each glyph, parse the glyph charstring and extract */
254 /* ignore the error if one occurred - skip to next glyph */
274 CID_GlyphSlot glyph = (CID_GlyphSlot)cidglyph; local
294 glyph->x_scale = cidsize->metrics.x_scale
    [all...]
  /external/sfntly/cpp/src/sample/subtly/
font_assembler.cc 88 // Creating the segments and the glyph id array
135 // Writing the segments and glyph id array to the CMap
183 // Get the glyph for this resolved_glyph_id.
186 // Get the LOCA table for the current glyph id.
193 // Get the GLYF table for the current glyph id.
197 GlyphPtr glyph; local
198 glyph.Attach(glyph_table->GetGlyph(offset, length));
200 // The data reference by the glyph is copied into a new glyph and
203 Ptr<ReadableFontData> data = glyph->ReadFontData()
    [all...]
font_info.cc 199 // Since composite glyph elements might themselves be composite, we would need
203 // We'll remove glyph ids from |unresolved_glyph_ids| until it is empty and,
204 // if the glyph is composite, add its elements to the unresolved set.
209 // As long as there are unresolved glyph ids.
211 // Get the corresponding glyph.
224 fprintf(stderr, "Zero length glyph %d\n", glyph_id);
229 GlyphPtr glyph; local
230 glyph.Attach(glyph_table_->GetGlyph(offset, length));
231 if (glyph == NULL) {
237 // Mark the glyph as resolved
    [all...]
  /external/skia/src/gpu/text/
GrAtlasGlyphCache.h 36 GrGlyph* glyph = fCache.find(packed); local
37 if (nullptr == glyph) {
38 glyph = this->generateGlyph(skGlyph, packed, cache);
40 return glyph;
44 // that the maskformat of the glyph differs from what we expect. In these cases we will just
50 GrGlyph* glyph = fCache.find(packed); local
51 if (nullptr == glyph) {
53 // potentially little benefit(ie, if the glyph is not in our font cache, then its not
56 glyph = this->generateGlyph(skGlyph, packed, cache);
57 glyph->fMaskFormat = expectedMaskFormat
    [all...]

Completed in 1332 milliseconds

1 2 3 4