/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape-complex-indic.cc | 512 hb_codepoint_t glyph = virama_glyph; local 515 if (!config->virama || !font->get_glyph (config->virama, 0, &glyph)) 516 glyph = 0; 520 /* Our get_glyph() function needs a font, so we can't get the virama glyph 522 (const_cast<indic_shape_plan_t *> (this))->virama_glyph = glyph; 525 *pglyph = glyph; 526 return glyph != 0; 1091 * as well as below the base glyph. The feature 'below-base 1187 * If dotted-circle is the last glyph, it just does nothing. 1349 /* This will make sure that this glyph passe 1837 hb_codepoint_t glyph; local [all...] |
H A D | hb-ot-layout-gsubgpos-private.hh | 534 match_properties_mark (hb_codepoint_t glyph, argument 542 return gdef.mark_set_covers (lookup_props >> 16, glyph); 558 hb_codepoint_t glyph = info->codepoint; local 561 /* Not covered, if, for example, glyph class is ligature and 568 return match_properties_mark (glyph, glyph_props, lookup_props); 714 unsigned int count, /* Including the first glyph (not matched) */ 715 const USHORT input[], /* Array of input values--start with second glyph */ 729 unsigned int count, /* Including the first glyph (not matched) */ 730 const USHORT input[], /* Array of input values--start with second glyph */ 754 * it as a ligature glyph [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_font/ |
H A D | fpdf_font_cid.cpp | 1020 FXFT_Glyph glyph; local 1021 err = FXFT_Get_Glyph(((FXFT_Face)face)->glyph, &glyph); 1023 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); 1043 FXFT_Done_Glyph(glyph);
|
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_text.cpp | 20 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local 21 const CFX_GlyphBitmap* pGlyph = glyph.m_pGlyph; 25 int char_left = glyph.m_OriginX + pGlyph->m_Left; 31 int char_top = glyph.m_OriginY - pGlyph->m_Top; 214 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local 216 glyph.m_fOriginX = charpos.m_OriginX; 217 glyph.m_fOriginY = charpos.m_OriginY; 218 text2Device.Transform(glyph.m_fOriginX, glyph.m_fOriginY); 220 glyph 264 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local 313 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local [all...] |
/external/pdfium/third_party/freetype/include/ |
H A D | freetype.h | 269 /* A structure used to model the metrics of a single glyph. The */ 271 /* @FT_LOAD_NO_SCALE has been used while loading the glyph, values */ 276 /* The glyph's width. */ 279 /* The glyph's height. */ 295 /* mean further below the vertical glyph origin. */ 299 /* glyph has a positive advance downward. */ 303 /* dimensions of the hinted glyph (in case hinting is applicable). */ 305 /* Stroking a glyph with an outside border does not increase */ 448 /* module in charge of converting a glyph image to a bitmap, when */ 449 /* necessary. Each renderer supports a given glyph imag 1032 FT_GlyphSlot glyph; member in struct:FT_FaceRec_ [all...] |
/external/pdfium/third_party/freetype/include/internal/ |
H A D | psaux.h | 521 /* A structure used during glyph loading to store its outline. */ 528 /* glyph :: The current glyph slot. */ 532 /* base :: The base glyph outline. */ 534 /* current :: The current glyph outline. */ 540 /* pos_x :: The horizontal translation (if composite glyph). */ 542 /* pos_y :: The vertical translation (if composite glyph). */ 558 /* the metrics of a given glyph, not load all of its */ 567 FT_GlyphSlot glyph; member in struct:T1_BuilderRec_ 606 /* calls during glyph loadin [all...] |
H A D | tttypes.h | 219 /* advance :: The advance width or height for the glyph. */ 221 /* bearing :: The left-side or top-side bearing for the glyph. */ 402 /* A structure used to hold the big metrics of a given glyph bitmap */ 407 /* height :: The glyph height in pixels. */ 409 /* width :: The glyph width in pixels. */ 445 /* A structure used to hold the small metrics of a given glyph bitmap */ 450 /* height :: The glyph height in pixels. */ 452 /* width :: The glyph width in pixels. */ 486 /* max_width :: The maximum glyph width in pixels. */ 550 /* first_glyph :: The first glyph inde 1467 FT_GlyphSlot glyph; member in struct:TT_LoaderRec_ [all...] |
/external/pdfium/third_party/freetype/src/base/ |
H A D | ftstroke.c | 2309 FT_Glyph glyph = NULL; local 2320 glyph = *pglyph; 2321 if ( !glyph || glyph->clazz != FT_OUTLINE_GLYPH_CLASS_GET ) 2328 error = FT_Glyph_Copy( glyph, © ); 2332 glyph = copy; 2336 FT_OutlineGlyph oglyph = (FT_OutlineGlyph)glyph; 2347 FT_Outline_Done( glyph->library, outline ); 2349 error = FT_Outline_New( glyph->library, 2363 *pglyph = glyph; 2387 FT_Glyph glyph = NULL; local [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
H A D | cffgload.c | 238 /* Initializes a given glyph builder. */ 241 /* builder :: A pointer to the glyph builder to initialize. */ 248 /* glyph :: The current glyph object. */ 256 CFF_GlyphSlot glyph, 263 builder->glyph = glyph; 266 if ( glyph ) 268 FT_GlyphLoader loader = glyph->root.internal->loader; 285 builder->hints_funcs = glyph 253 cff_builder_init( CFF_Builder* builder, TT_Face face, CFF_Size size, CFF_GlyphSlot glyph, FT_Bool hinting ) argument 315 CFF_GlyphSlot glyph = builder->glyph; local 785 FT_GlyphSlot glyph = (FT_GlyphSlot)builder->glyph; local [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType.cpp | 198 void generateAdvance(SkGlyph* glyph) override; 199 void generateMetrics(SkGlyph* glyph) override; 200 void generateImage(const SkGlyph& glyph) override; 201 void generatePath(const SkGlyph& glyph, SkPath* path) override; 203 SkUnichar generateGlyphToChar(uint16_t glyph) override; 221 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, 225 void updateGlyphIfLCD(SkGlyph* glyph); 227 // update FreeType2 glyph slot with glyph emboldened 228 void emboldenIfNeeded(FT_Face face, FT_GlyphSlot glyph); 983 generateGlyphToChar(uint16_t glyph) argument 998 generateAdvance(SkGlyph* glyph) argument 1030 getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, bool snapToPixelBoundary) argument 1082 updateGlyphIfLCD(SkGlyph* glyph) argument 1094 scaleGlyphMetrics(SkGlyph& glyph, SkScalar scale) argument 1105 generateMetrics(SkGlyph* glyph) argument 1210 clear_glyph_image(const SkGlyph& glyph) argument 1214 generateImage(const SkGlyph& glyph) argument 1235 generatePath(const SkGlyph& glyph, SkPath* path) argument 1422 emboldenIfNeeded(FT_Face face, FT_GlyphSlot glyph) argument [all...] |
H A D | SkFontHost_win.cpp | 165 // Binary search for glyph count. 376 // glyph id in a font file are continuous. So, even if we have ranges, 382 SkAutoTArray<WORD> glyph(count); 386 GetGlyphIndicesW(fontHdc, chars.get(), count, glyph.get(), 388 // If the glyph ID is valid, and the glyph is not mapped, then we will 389 // fill in the char id into the vector. If the glyph is mapped already, 393 // unlikely to have collisions since glyph reuse happens mostly for 396 if (glyph[j] != 0xffff && glyph[ 452 draw(const SkGlyph& glyph, bool isBW, size_t* srcRBPtr) argument 835 generateAdvance(SkGlyph* glyph) argument 839 generateMetrics(SkGlyph* glyph) argument 1141 rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph) argument 1193 rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, const uint8_t* table8) argument 1212 rgb_to_lcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument 1232 generateImage(const SkGlyph& glyph) argument 1588 getGDIGlyphPath(const SkGlyph& glyph, UINT flags, SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf) argument 1626 generatePath(const SkGlyph& glyph, SkPath* path) argument [all...] |
H A D | SkFontHost_mac.cpp | 51 // Set to make glyph bounding boxes visible. 327 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, 623 void generateAdvance(SkGlyph* glyph) override; 624 void generateMetrics(SkGlyph* glyph) override; 625 void generateImage(const SkGlyph& glyph) override; 626 void generatePath(const SkGlyph& glyph, SkPath* path) override; 675 * unrotated glyph, and then the rotation is applied separately. 774 CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, argument 791 if (SkMask::kBW_Format != glyph.fMaskFormat) { 797 if (!generateA8FromLCD && SkMask::kA8_Format == glyph 1008 generateAdvance(SkGlyph* glyph) argument 1012 generateMetrics(SkGlyph* glyph) argument 1176 rgb_to_a8(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph, const uint8_t* table8) argument 1206 rgb_to_lcd16(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument 1236 generateImage(const SkGlyph& glyph) argument 1328 generatePath(const SkGlyph& glyph, SkPath* path) argument 1468 CGGlyph glyph; local 1516 CGGlyph glyph; local 1528 CGGlyph glyph = gId; local [all...] |
/external/freetype/include/internal/ |
H A D | tttypes.h | 219 /* advance :: The advance width or height for the glyph. */ 221 /* bearing :: The left-side or top-side bearing for the glyph. */ 402 /* A structure used to hold the big metrics of a given glyph bitmap */ 407 /* height :: The glyph height in pixels. */ 409 /* width :: The glyph width in pixels. */ 445 /* A structure used to hold the small metrics of a given glyph bitmap */ 450 /* height :: The glyph height in pixels. */ 452 /* width :: The glyph width in pixels. */ 486 /* max_width :: The maximum glyph width in pixels. */ 550 /* first_glyph :: The first glyph inde 1465 FT_GlyphSlot glyph; member in struct:TT_LoaderRec_ [all...] |
/external/skia/src/core/ |
H A D | SkDraw.cpp | 1381 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 1383 x += autokern.adjust(glyph) + glyph.fAdvanceX; 1384 y += glyph.fAdvanceY; 1442 static void D1G_RectClip(const SkDraw1Glyph& state, Sk48Dot16 fx, Sk48Dot16 fy, const SkGlyph& glyph) { argument 1454 SkASSERT(glyph.fWidth > 0 && glyph.fHeight > 0); 1458 left += glyph.fLeft; 1459 top += glyph.fTop; 1461 int right = left + glyph 1492 D1G_RgnClip(const SkDraw1Glyph& state, Sk48Dot16 fx, Sk48Dot16 fy, const SkGlyph& glyph) argument 1666 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); local 1708 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 1792 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); local 1817 const SkGlyph& glyph = glyphCacheProc(cache, ¤tText, local 1833 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 1849 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local [all...] |
H A D | SkPaint.cpp | 824 static SkFixed advance(const SkGlyph& glyph, int xyIndex) { argument 826 return (&glyph.fAdvanceX)[xyIndex]; 2367 const SkGlyph& glyph = fGlyphCacheProc(fCache, &fText); local 2369 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale); 2370 fPrevAdvance = advance(glyph, fXYIndex); // + fPaint.getTextTracking(); 2372 if (glyph.fWidth) { 2374 *path = fCache->findPath(glyph);
|
/external/skia/src/gpu/ |
H A D | GrAtlasTextContext.cpp | 131 // essentially manipulating the geometry (in this case, the distance to the glyph 867 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); local 869 fx += autokern.adjust(glyph); 871 if (glyph.fWidth) { 874 GrGlyph::Pack(glyph.getGlyphID(), 875 glyph.getSubXFixed(), 876 glyph.getSubYFixed(), 885 fx += glyph.fAdvanceX; 886 fy += glyph.fAdvanceY; 938 const SkGlyph& glyph local 973 const SkGlyph& glyph = glyphCacheProc(cache, ¤tText, local 1000 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 1025 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 1096 const SkGlyph& glyph = glyphCacheProc(origPaintCache, &textPtr, 0, 0); local 1159 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 1189 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 1232 GrGlyph* glyph = fCurrStrike->getGlyph(packed, scaler); local 1295 GrGlyph* glyph = fCurrStrike->getGlyph(packed, scaler); local 1350 appendGlyphPath(BitmapTextBlob* blob, GrGlyph* glyph, GrFontScaler* scaler, SkScalar x, SkScalar y) argument 1365 appendGlyphCommon(BitmapTextBlob* blob, Run* run, Run::SubRunInfo* subRun, const SkRect& positions, GrColor color, size_t vertexStride, bool useVertexColor, GrGlyph* glyph) argument 1646 GrGlyph* glyph; variable 1655 SkASSERT(glyph); variable 1796 regenerateTextureCoords(GrGlyph* glyph, intptr_t vertex, size_t vertexStride) argument [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 98 const SkGlyph& glyph = glyphCacheProc(cache, &start, 0, 0); local 99 xAdv += glyph.fAdvanceX; 100 yAdv += glyph.fAdvanceY; 127 // Make sure we have a glyph id encoding. 136 // For user supplied glyph ids we need to validate them. 1213 // The current pdf font cannot encode the current glyph. 1214 // Try to get a pdf font which can encode the current glyph. 1218 SkDEBUGFAIL("PDF could not encode glyph."); 1277 // Merge glyph sets from the drawn device.
|