Searched defs:glyph (Results 26 - 50 of 117) sorted by relevance

12345

/external/sfntly/cpp/src/sfntly/tools/subsetter/
H A Dglyph_table_subsetter.cc74 GlyphPtr glyph; local
75 glyph.Attach(glyph_table->GetGlyph(old_offset, old_length));
76 ReadableFontDataPtr data = glyph->ReadFontData();
/external/freetype/include/
H A Dftglyph.h22 /* that can be used by client applications to easily retrieve glyph */
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 */
96 /* The root glyph structure contains a given glyph image plus its */
102 /* clazz :: A pointer to the glyph's class. Private. */
104 /* format :: The format of the glyph's image. */
106 /* advance :: A 16.16 vector that gives the glyph'
537 FT_Done_Glyph( FT_Glyph glyph ); variable
[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_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 )
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
460 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/cache/
H A Dftcbasic.c166 /* 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 range
[all...]
/external/harfbuzz_ng/test/api/
H A Dtest-shape.c45 hb_codepoint_t glyph,
48 switch (glyph) {
59 hb_codepoint_t *glyph,
63 case 'T': *glyph = 1; return TRUE;
64 case 'e': *glyph = 2; return TRUE;
65 case 's': *glyph = 3; return TRUE;
44 glyph_h_advance_func(hb_font_t *font, void *font_data, hb_codepoint_t glyph, void *user_data) argument
57 glyph_func(hb_font_t *font, void *font_data, hb_codepoint_t unicode, hb_codepoint_t variant_selector, hb_codepoint_t *glyph, void *user_data) argument
H A Dtest-font.c115 hb_codepoint_t glyph; local
135 glyph = 3;
136 g_assert (!hb_font_get_glyph (font, 17, 2, &glyph));
137 g_assert_cmpint (glyph, ==, 0);
203 hb_codepoint_t glyph, unsigned int point_index,
207 if (glyph == 1) {
212 if (glyph == 2) {
223 hb_codepoint_t glyph, unsigned int point_index,
227 if (glyph == 1) {
234 glyph, point_inde
202 contour_point_func1(hb_font_t *font, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data) argument
222 contour_point_func2(hb_font_t *font, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data) argument
238 glyph_h_advance_func1(hb_font_t *font, void *font_data, hb_codepoint_t glyph, void *user_data) argument
[all...]
/external/icu/icu4c/source/layout/
H A DLookupTables.h46 TTGlyphID glyph; member in struct:LookupSingle
58 const LookupSegment *lookupSegment(const LETableReference &base, const LookupSegment *segments, LEGlyphID glyph, LEErrorCode &success) const;
60 const LookupSingle *lookupSingle(const LETableReference &base, const LookupSingle *entries, LEGlyphID glyph, LEErrorCode &success) const;
/external/icu/icu4c/source/samples/layout/
H A DGnomeFontInstance.cpp137 void GnomeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument
142 if (glyph >= 0xFFFE) {
148 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT);
154 advance.fX = fFace->glyph->metrics.horiAdvance >> 6;
158 le_bool GnomeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const argument
162 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT);
168 if (pointNumber >= fFace->glyph->outline.n_points) {
172 point.fX = fFace->glyph->outline.points[pointNumber].x >> 6;
173 point.fY = fFace->glyph->outline.points[pointNumber].y >> 6;
185 TTGlyphID glyph local
[all...]
H A DGDIFontInstance.cpp357 void GDIFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument
362 if (glyph == 0xFFFE || glyph == 0xFFFF) {
374 result = GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_METRICS, &metrics, 0, NULL, &identity);
384 le_bool GDIFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const argument
390 result = fFontInstance->getGlyphPoint(glyph, pointNumber, pt);
/external/pdfium/core/src/fxge/android/
H A Dfpf_skiafont.cpp103 FXFT_Glyph glyph; local
104 if (FXFT_Get_Glyph(m_Face->glyph, &glyph)) {
109 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox);
118 FXFT_Done_Glyph(glyph);
/external/pdfium/third_party/freetype/include/
H A Dftglyph.h22 /* that can be used by client applications to easily retrieve glyph */
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 */
96 /* The root glyph structure contains a given glyph image plus its */
102 /* clazz :: A pointer to the glyph's class. Private. */
104 /* format :: The format of the glyph's image. */
106 /* advance :: A 16.16 vector that gives the glyph'
537 FT_Done_Glyph( FT_Glyph glyph ); variable
[all...]
/external/pdfium/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
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/third_party/freetype/src/cid/
H A Dcidgload.c61 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;
295 glyph
[all...]
/external/sfntly/cpp/src/sample/subtly/
H A Dfont_assembler.cc88 // 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
[all...]
H A Dfont_info.cc199 // 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 a
[all...]
/external/skia/src/core/
H A DSkDrawProcs.h26 /** 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 glyph position, which may be rounded or not by the caller
98 void operator()(const SkPoint& loc, const SkGlyph& glyph, SkPoint* dst) { argument
102 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX >> 1),
103 loc.fY - SkFixedToScalar(glyph.fAdvanceY >> 1));
106 dst->set(loc.fX - SkFixedToScalar(glyph.fAdvanceX),
107 loc.fY - SkFixedToScalar(glyph.fAdvanceY));
/external/skia/src/gpu/
H A DGrGlyph.h97 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { argument
98 return glyph.fPackedID;
/external/freetype/src/cff/
H A Dcffgload.h47 /* A structure used during glyph loading to store its outline. */
54 /* glyph :: The current glyph slot. */
56 /* loader :: The current glyph loader. */
58 /* base :: The base glyph outline. */
60 /* current :: The current glyph outline. */
62 /* pos_x :: The horizontal translation (if composite glyph). */
64 /* pos_y :: The vertical translation (if composite glyph). */
79 /* the metrics of a given glyph, not load all of its */
90 CFF_GlyphSlot glyph; member in struct:CFF_Builder_
[all...]
/external/freetype/src/psnames/
H A Dpsmodule.c41 /* Return the Unicode value corresponding to a given glyph. Note that */
42 /* we do deal with glyph variants by detecting a non-initial dot in */
49 /* If the name begins with `uni', then the glyph name may be a */
58 /* XXX: Add code to deal with ligatures, i.e. glyph names like */
141 /* Look for a non-initial dot in the glyph name in order to */
157 /* now look up the glyph in the Adobe Glyph List */
178 /* sort base glyphs before glyph variants */
253 FT_UInt glyph,
267 /* mark this extra glyph as a candidate for the cmap */
269 extra_glyphs[n] = glyph;
252 ps_check_extra_glyph_name( const char* gname, FT_UInt glyph, FT_UInt* extra_glyphs, FT_UInt *states ) argument
[all...]
/external/harfbuzz_ng/src/
H A Dhb-ft.cc74 hb_codepoint_t *glyph,
81 *glyph = FT_Face_GetCharVariantIndex (ft_face, unicode, variation_selector);
82 return *glyph != 0;
85 *glyph = FT_Get_Char_Index (ft_face, unicode);
86 return *glyph != 0;
92 hb_codepoint_t glyph,
99 if (unlikely (FT_Get_Advance (ft_face, glyph, load_flags, &v)))
111 hb_codepoint_t glyph,
118 if (unlikely (FT_Get_Advance (ft_face, glyph, load_flags, &v)))
129 hb_codepoint_t glyph HB_UNUSE
70 hb_ft_get_glyph(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
90 hb_ft_get_glyph_h_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
109 hb_ft_get_glyph_v_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
139 hb_ft_get_glyph_v_origin(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
189 hb_ft_get_glyph_extents(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_glyph_extents_t *extents, void *user_data HB_UNUSED) argument
209 hb_ft_get_glyph_contour_point(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
236 hb_ft_get_glyph_name(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, char *name, unsigned int size, void *user_data HB_UNUSED) argument
252 hb_ft_get_glyph_from_name(hb_font_t *font HB_UNUSED, void *font_data, const char *name, int len, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
[all...]
H A Dhb-ot-font.cc74 inline unsigned int get_advance (hb_codepoint_t glyph) const
76 if (unlikely (glyph >= this->num_metrics))
79 * for this direction: return one EM. Otherwise, it means that the glyph
87 if (glyph >= this->num_advances)
88 glyph = this->num_advances - 1;
90 return this->table->longMetric[glyph].advance;
136 hb_codepoint_t *glyph) const
142 glyph))
150 return this->table->get_glyph (unicode, glyph);
197 hb_codepoint_t *glyph,
193 hb_ot_get_glyph(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
206 hb_ot_get_glyph_h_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
216 hb_ot_get_glyph_v_advance(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument
238 hb_ot_get_glyph_v_origin(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
272 hb_ot_get_glyph_extents(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, hb_glyph_extents_t *extents, void *user_data HB_UNUSED) argument
283 hb_ot_get_glyph_contour_point(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument
296 hb_ot_get_glyph_name(hb_font_t *font HB_UNUSED, void *font_data, hb_codepoint_t glyph, char *name, unsigned int size, void *user_data HB_UNUSED) argument
307 hb_ot_get_glyph_from_name(hb_font_t *font HB_UNUSED, void *font_data, const char *name, int len, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument
[all...]
H A Dhb-ot-shape-normalize.cc110 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) argument
112 buffer->cur().glyph_index() = glyph;
118 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) argument
120 buffer->cur().glyph_index() = glyph;
200 hb_codepoint_t glyph; local
203 if (shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
204 next_char (buffer, glyph);
207 else if (!shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
208 next_char (buffer, glyph);
212 next_char (buffer, glyph); /* glyp
375 hb_codepoint_t composed, glyph; local
[all...]
/external/icu/icu4c/source/test/letest/
H A DFontObject.cpp207 le_uint16 FontObject::getGlyphAdvance(LEGlyphID glyph) argument
227 le_uint16 index = glyph;
229 if (glyph >= numGlyphs) {
233 if (glyph >= numOfLongHorMetrics) {
/external/icu/icu4c/source/test/perf/leperf/
H A DFontObject.cpp207 le_uint16 FontObject::getGlyphAdvance(LEGlyphID glyph) argument
227 le_uint16 index = glyph;
229 if (glyph >= numGlyphs) {
233 if (glyph >= numOfLongHorMetrics) {
/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...]

Completed in 2361 milliseconds

12345