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

1 2 3 4 5 6 7 8 9

  /external/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...]
  /external/skia/src/fonts/
SkRandomScalerContext.cpp 56 void SkRandomScalerContext::generateAdvance(SkGlyph* glyph) {
57 fProxy->getAdvance(glyph);
60 void SkRandomScalerContext::generateMetrics(SkGlyph* glyph) {
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->fTop = ibounds.fTop
    [all...]
SkTestScalerContext.cpp 122 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.getGlyphID()]
    [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_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/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/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))) {
SegmentArrayProcessor.cpp 39 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);
SegmentArrayProcessor2.cpp 39 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);
SegmentSingleProcessor.cpp 39 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);
TrimmedArrayProcessor.cpp 47 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);
TrimmedArrayProcessor2.cpp 43 le_int32 glyph; local
45 for (glyph = 0; glyph < glyphCount; glyph += 1) {
46 LEGlyphID thisGlyph = glyphStorage[glyph];
52 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
  /frameworks/base/libs/hwui/font/
FontUtil.h 44 #define GET_METRICS(cache, glyph) cache->getGlyphIDMetrics(glyph)
45 #define IS_END_OF_STRING(glyph) false
Font.cpp 135 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y,
137 int width = (int) glyph->mBitmapWidth;
138 int height = (int) glyph->mBitmapHeight;
140 int nPenX = x + glyph->mBitmapLeft;
141 int nPenY = y + glyph->mBitmapTop;
157 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
159 float width = (float) glyph->mBitmapWidth;
160 float height = (float) glyph->mBitmapHeight;
162 float nPenX = x + glyph->mBitmapLeft;
163 float nPenY = y + glyph->mBitmapTop + height
328 glyph_t glyph = *(glyphs++); local
365 glyph_t glyph = *(glyphs++); local
397 glyph_t glyph = *(glyphs++); 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/harfbuzz_ng/src/
hb-font-private.hh 183 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)
208 glyph,
    [all...]
  /external/skia/src/gpu/text/
GrFontScaler.cpp 49 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) {
70 fStrike->findImage(glyph);
72 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight);
77 bool GrFontScaler::getPackedGlyphDFBounds(const SkGlyph& glyph, SkIRect* bounds) {
81 fStrike->findImage(glyph);
    [all...]
GrBatchFontCache.h 35 GrGlyph* glyph = fCache.find(packed); local
36 if (nullptr == glyph) {
37 glyph = this->generateGlyph(skGlyph, packed, scaler);
39 return glyph;
43 // that the maskformat of the glyph differs from what we expect. In these cases we will just
49 GrGlyph* glyph = fCache.find(packed); local
50 if (nullptr == glyph) {
52 // potentially little benefit(ie, if the glyph is not in our font cache, then its not
55 glyph = this->generateGlyph(skGlyph, packed, scaler);
56 glyph->fMaskFormat = expectedMaskFormat
    [all...]
  /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);

Completed in 399 milliseconds

1 2 3 4 5 6 7 8 9