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

1234567891011>>

/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/
H A Dpfrgload.h5 /* FreeType PFR glyph loader (specification). */
28 pfr_glyph_init( PFR_Glyph glyph,
32 pfr_glyph_done( PFR_Glyph glyph ); variable
36 pfr_glyph_load( PFR_Glyph glyph,
H A Dpfrsbit.h27 pfr_slot_load_bitmap( PFR_Slot glyph,
H A Dpfrgload.c5 /* FreeType PFR glyph loader (body). */
40 pfr_glyph_init( PFR_Glyph glyph, argument
43 FT_ZERO( glyph );
45 glyph->loader = loader;
46 glyph->path_begun = 0;
53 pfr_glyph_done( PFR_Glyph glyph )
55 FT_Memory memory = glyph->loader->memory;
58 FT_FREE( glyph->x_control );
59 glyph->y_control = NULL;
61 glyph
127 pfr_glyph_line_to( PFR_Glyph glyph, FT_Vector* to ) argument
161 pfr_glyph_curve_to( PFR_Glyph glyph, FT_Vector* control1, FT_Vector* control2, FT_Vector* to ) argument
202 pfr_glyph_move_to( PFR_Glyph glyph, FT_Vector* to ) argument
249 pfr_glyph_load_simple( PFR_Glyph glyph, FT_Byte* p, FT_Byte* limit ) argument
559 pfr_glyph_load_compound( PFR_Glyph glyph, FT_Byte* p, FT_Byte* limit ) argument
722 pfr_glyph_load_rec( PFR_Glyph glyph, FT_Stream stream, FT_ULong gps_offset, FT_ULong offset, FT_ULong size ) argument
[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...]
/external/skia/src/fonts/
H A DSkRandomScalerContext.cpp56 void SkRandomScalerContext::generateAdvance(SkGlyph* glyph) { argument
57 fProxy->getAdvance(glyph);
60 void SkRandomScalerContext::generateMetrics(SkGlyph* glyph) { argument
61 // Here we will change the mask format of the glyph
64 switch (glyph->getGlyphID() % 4) {
79 fProxy->getMetrics(glyph);
81 glyph->fMaskFormat = format;
87 fProxy->getPath(*glyph, &path);
96 glyph->fLeft = ibounds.fLeft;
97 glyph
134 generateImage(const SkGlyph& glyph) argument
178 generatePath(const SkGlyph& glyph, SkPath* path) argument
[all...]
H A DSkTestScalerContext.cpp122 void SkTestTypeface::getAdvance(SkGlyph* glyph) {
123 glyph->fAdvanceX = fTestFont->fWidths[glyph->getGlyphID()];
124 glyph->fAdvanceY = 0;
131 void SkTestTypeface::getMetrics(SkGlyph* glyph) {
132 glyph->fAdvanceX = fTestFont->fWidths[glyph->getGlyphID()];
133 glyph->fAdvanceY = 0;
136 void SkTestTypeface::getPath(const SkGlyph& glyph, SkPath* path) {
137 *path = *fTestFont->fPaths[glyph
[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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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/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_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/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;
H A DSegmentArrayProcessor.cpp39 le_int32 glyph; local
41 for (glyph = 0; glyph < glyphCount; glyph += 1) {
42 LEGlyphID thisGlyph = glyphStorage[glyph];
52 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DSegmentArrayProcessor2.cpp39 le_int32 glyph; local
41 for (glyph = 0; glyph < glyphCount; glyph += 1) {
42 LEGlyphID thisGlyph = glyphStorage[glyph];
53 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DSegmentSingleProcessor.cpp39 le_int32 glyph; local
41 for (glyph = 0; glyph < glyphCount && LE_SUCCESS(success); glyph += 1) {
42 LEGlyphID thisGlyph = glyphStorage[glyph];
48 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DTrimmedArrayProcessor.cpp47 le_int32 glyph; local
49 for (glyph = 0; glyph < glyphCount; glyph += 1) {
50 LEGlyphID thisGlyph = glyphStorage[glyph];
56 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
/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/harfbuzz_ng/src/
H A Dhb-font-private.hh183 hb_codepoint_t glyph; local
184 return get_nominal_glyph (unicode, &glyph);
188 hb_codepoint_t *glyph)
190 *glyph = 0;
192 unicode, glyph,
197 hb_codepoint_t *glyph)
199 *glyph = 0;
201 unicode, variation_selector, glyph,
205 inline hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) argument
208 glyph,
187 get_nominal_glyph(hb_codepoint_t unicode, hb_codepoint_t *glyph) argument
196 get_variation_glyph(hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) argument
212 get_glyph_v_advance(hb_codepoint_t glyph) argument
219 get_glyph_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
228 get_glyph_v_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
251 get_glyph_extents(hb_codepoint_t glyph, hb_glyph_extents_t *extents) argument
261 get_glyph_contour_point(hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y) argument
271 get_glyph_name(hb_codepoint_t glyph, char *name, unsigned int size) argument
281 get_glyph_from_name(const char *name, int len, hb_codepoint_t *glyph) argument
315 get_glyph_advance_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
329 guess_v_origin_minus_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
338 get_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
364 add_glyph_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
374 add_glyph_v_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
384 add_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
396 subtract_glyph_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
406 subtract_glyph_v_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument
416 subtract_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument
441 get_glyph_extents_for_origin(hb_codepoint_t glyph, hb_direction_t direction, hb_glyph_extents_t *extents) argument
453 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
467 glyph_to_string(hb_codepoint_t glyph, char *s, unsigned int size) argument
478 glyph_from_string(const char *s, int len, hb_codepoint_t *glyph) argument
[all...]
/external/skia/src/gpu/text/
H A DGrFontScaler.cpp49 GrMaskFormat GrFontScaler::getPackedGlyphMaskFormat(const SkGlyph& glyph) const {
50 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat);
66 bool GrFontScaler::getPackedGlyphBounds(const SkGlyph& glyph, SkIRect* bounds) { argument
70 fStrike->findImage(glyph);
72 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight);
77 bool GrFontScaler::getPackedGlyphDFBounds(const SkGlyph& glyph, SkIRect* bounds) { argument
81 fStrike->findImage(glyph);
115 getPackedGlyphImage(const SkGlyph& glyph, int width, int height, int dstRB, GrMaskFormat expectedMaskFormat, void* dst) argument
170 getPackedGlyphDFImage(const SkGlyph& glyph, int width, int height, void* dst) argument
199 getGlyphPath(const SkGlyph& glyph) argument
[all...]
/external/icu/icu4c/source/samples/layout/
H A DScriptCompositeFontInstance.cpp36 void ScriptCompositeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument
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 argument
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);

Completed in 833 milliseconds

1234567891011>>