Searched defs:glyph (Results 201 - 219 of 219) sorted by relevance

123456789

/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_text.cpp20 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;
239 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local
241 glyph.m_fOriginX = charpos.m_OriginX;
242 glyph.m_fOriginY = charpos.m_OriginY;
243 text2Device.Transform(glyph.m_fOriginX, glyph.m_fOriginY);
245 glyph
289 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local
338 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local
[all...]
/external/skia/src/ports/
H A DSkFontHost_FreeType.cpp199 virtual void generateAdvance(SkGlyph* glyph) SK_OVERRIDE;
200 virtual void generateMetrics(SkGlyph* glyph) SK_OVERRIDE;
201 virtual void generateImage(const SkGlyph& glyph) SK_OVERRIDE;
202 virtual void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE;
205 virtual SkUnichar generateGlyphToChar(uint16_t glyph) SK_OVERRIDE;
223 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox,
227 void updateGlyphIfLCD(SkGlyph* glyph);
229 // update FreeType2 glyph slot with glyph emboldened
230 void emboldenIfNeeded(FT_Face face, FT_GlyphSlot glyph);
1092 generateGlyphToChar(uint16_t glyph) argument
1107 generateAdvance(SkGlyph* glyph) argument
1140 getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, bool snapToPixelBoundary) argument
1190 updateGlyphIfLCD(SkGlyph* glyph) argument
1202 scaleGlyphMetrics(SkGlyph& glyph, SkScalar scale) argument
1213 generateMetrics(SkGlyph* glyph) argument
1318 generateImage(const SkGlyph& glyph) argument
1341 generatePath(const SkGlyph& glyph, SkPath* path) argument
1547 emboldenIfNeeded(FT_Face face, FT_GlyphSlot glyph) argument
[all...]
H A DSkFontHost_win.cpp178 // Binary search for glyph count.
391 // glyph id in a font file are continuous. So, even if we have ranges,
397 SkAutoTArray<WORD> glyph(count);
401 GetGlyphIndicesW(fontHdc, chars.get(), count, glyph.get(),
403 // If the glyph ID is valid, and the glyph is not mapped, then we will
404 // fill in the char id into the vector. If the glyph is mapped already,
408 // unlikely to have collisions since glyph reuse happens mostly for
411 if (glyph[j] != 0xffff && glyph[
467 draw(const SkGlyph& glyph, bool isBW, size_t* srcRBPtr) argument
868 generateAdvance(SkGlyph* glyph) argument
872 generateMetrics(SkGlyph* glyph) argument
1219 rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph) argument
1271 rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, const uint8_t* table8) argument
1290 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
1306 rgb_to_lcd32(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument
1326 generateImage(const SkGlyph& glyph) argument
1692 getGDIGlyphPath(const SkGlyph& glyph, UINT flags, SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf) argument
1729 generatePath(const SkGlyph& glyph, SkPath* path) argument
[all...]
H A DSkFontHost_mac.cpp330 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
652 void generateAdvance(SkGlyph* glyph) SK_OVERRIDE;
653 void generateMetrics(SkGlyph* glyph) SK_OVERRIDE;
654 void generateImage(const SkGlyph& glyph) SK_OVERRIDE;
655 void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE;
765 CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, argument
779 if (SkMask::kBW_Format != glyph.fMaskFormat) {
785 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.fMaskFormat) {
791 if (!fCG || fSize.fWidth < glyph.fWidth || fSize.fHeight < glyph
957 generateAdvance(SkGlyph* glyph) argument
961 generateMetrics(SkGlyph* glyph) argument
1121 rgb_to_a8(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph, const uint8_t* table8) argument
1146 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
1171 rgb_to_lcd32(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument
1187 cgpixels_to_pmcolor(CGRGBPixel rgb, const SkGlyph& glyph, int x, int y) argument
1206 generateImage(const SkGlyph& glyph) argument
1309 generatePath(const SkGlyph& glyph, SkPath* path) argument
1454 CGGlyph glyph; local
1502 CGGlyph glyph; local
1514 CGGlyph glyph = gId; local
[all...]
/external/chromium_org/third_party/freetype/include/freetype/internal/
H A Dtttypes.h150 /* advance :: The advance width or height for the glyph. */
152 /* bearing :: The left-side or top-side bearing for the glyph. */
333 /* A structure used to hold the big metrics of a given glyph bitmap */
338 /* height :: The glyph height in pixels. */
340 /* width :: The glyph width in pixels. */
376 /* A structure used to hold the small metrics of a given glyph bitmap */
381 /* height :: The glyph height in pixels. */
383 /* width :: The glyph width in pixels. */
417 /* max_width :: The maximum glyph width in pixels. */
481 /* first_glyph :: The first glyph inde
1390 FT_GlyphSlot glyph; member in struct:TT_LoaderRec_
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-layout-gsubgpos-private.hh515 match_properties_mark (hb_codepoint_t glyph, argument
523 return gdef.mark_set_covers (lookup_props >> 16, glyph);
539 hb_codepoint_t glyph = info->codepoint; local
542 /* Not covered, if, for example, glyph class is ligature and
549 return match_properties_mark (glyph, glyph_props, lookup_props);
695 unsigned int count, /* Including the first glyph (not matched) */
696 const USHORT input[], /* Array of input values--start with second glyph */
710 unsigned int count, /* Including the first glyph (not matched) */
711 const USHORT input[], /* Array of input values--start with second glyph */
735 * it as a ligature glyph
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkDraw.cpp1366 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
1368 x += autokern.adjust(glyph) + glyph.fAdvanceX;
1369 y += glyph.fAdvanceY;
1427 static void D1G_RectClip(const SkDraw1Glyph& state, SkFixed fx, SkFixed fy, const SkGlyph& glyph) { argument
1430 SkASSERT(glyph.fWidth > 0 && glyph.fHeight > 0);
1434 left += glyph.fLeft;
1435 top += glyph.fTop;
1437 int right = left + glyph
1468 D1G_RgnClip(const SkDraw1Glyph& state, SkFixed fx, SkFixed fy, const SkGlyph& glyph) argument
1642 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); local
1685 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
1773 const SkGlyph& glyph = glyphCacheProc(cache, &text, local
1798 const SkGlyph& glyph = glyphCacheProc(cache, &currentText, local
1814 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
1830 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
[all...]
H A DSkPaint.cpp1023 static SkFixed advance(const SkGlyph& glyph, int xyIndex) { argument
1025 return (&glyph.fAdvanceX)[xyIndex];
2568 const SkGlyph& glyph = fGlyphCacheProc(fCache, &fText); local
2570 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale);
2571 fPrevAdvance = advance(glyph, fXYIndex); // + fPaint.getTextTracking();
2573 if (glyph.fWidth) {
2575 *path = fCache->findPath(glyph);
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFDevice.cpp94 const SkGlyph& glyph = glyphCacheProc(cache, &start, 0, 0); local
95 xAdv += glyph.fAdvanceX;
96 yAdv += glyph.fAdvanceY;
123 // Make sure we have a glyph id encoding.
132 // For user supplied glyph ids we need to validate them.
1140 //TODO: the const_cast here is a bug if the encoding started out as glyph encoding.
1184 // The current pdf font cannot encode the current glyph.
1185 // Try to get a pdf font which can encode the current glyph.
1189 SkDEBUGFAIL("PDF could not encode glyph.");
1256 // Merge glyph set
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_win.cpp178 // Binary search for glyph count.
392 // glyph id in a font file are continuous. So, even if we have ranges,
398 SkAutoTArray<WORD> glyph(count);
402 GetGlyphIndicesW(fontHdc, chars.get(), count, glyph.get(),
404 // If the glyph ID is valid, and the glyph is not mapped, then we will
405 // fill in the char id into the vector. If the glyph is mapped already,
409 // unlikely to have collisions since glyph reuse happens mostly for
412 if (glyph[j] != 0xffff && glyph[
468 draw(const SkGlyph& glyph, bool isBW, size_t* srcRBPtr) argument
868 generateAdvance(SkGlyph* glyph) argument
872 generateMetrics(SkGlyph* glyph) argument
1187 rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph) argument
1239 rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, const uint8_t* table8) argument
1258 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
1274 rgb_to_lcd32(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument
1294 generateImage(const SkGlyph& glyph) argument
1660 getGDIGlyphPath(const SkGlyph& glyph, UINT flags, SkAutoSTMalloc<BUFFERSIZE, uint8_t>* glyphbuf) argument
1698 generatePath(const SkGlyph& glyph, SkPath* path) argument
[all...]
H A DSkFontHost_mac.cpp326 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
652 void generateAdvance(SkGlyph* glyph) SK_OVERRIDE;
653 void generateMetrics(SkGlyph* glyph) SK_OVERRIDE;
654 void generateImage(const SkGlyph& glyph) SK_OVERRIDE;
655 void generatePath(const SkGlyph& glyph, SkPath* path) SK_OVERRIDE;
765 CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, argument
779 if (SkMask::kBW_Format != glyph.fMaskFormat) {
785 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.fMaskFormat) {
791 if (!fCG || fSize.fWidth < glyph.fWidth || fSize.fHeight < glyph
957 generateAdvance(SkGlyph* glyph) argument
961 generateMetrics(SkGlyph* glyph) argument
1121 rgb_to_a8(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph, const uint8_t* table8) argument
1146 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
1171 rgb_to_lcd32(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument
1187 cgpixels_to_pmcolor(CGRGBPixel rgb, const SkGlyph& glyph, int x, int y) argument
1206 generateImage(const SkGlyph& glyph) argument
1309 generatePath(const SkGlyph& glyph, SkPath* path) argument
1449 CGGlyph glyph; local
1497 CGGlyph glyph; local
1509 CGGlyph glyph = gId; local
[all...]
/external/freetype/include/internal/
H A Dtttypes.h219 /* 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/harfbuzz_ng/src/
H A Dhb-ot-layout-gsubgpos-private.hh515 match_properties_mark (hb_codepoint_t glyph, argument
523 return gdef.mark_set_covers (lookup_props >> 16, glyph);
539 hb_codepoint_t glyph = info->codepoint; local
542 /* Not covered, if, for example, glyph class is ligature and
549 return match_properties_mark (glyph, glyph_props, lookup_props);
695 unsigned int count, /* Including the first glyph (not matched) */
696 const USHORT input[], /* Array of input values--start with second glyph */
710 unsigned int count, /* Including the first glyph (not matched) */
711 const USHORT input[], /* Array of input values--start with second glyph */
735 * it as a ligature glyph
[all...]
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
H A Dtttypes.h150 /* advance :: The advance width or height for the glyph. */
152 /* bearing :: The left-side or top-side bearing for the glyph. */
333 /* A structure used to hold the big metrics of a given glyph bitmap */
338 /* height :: The glyph height in pixels. */
340 /* width :: The glyph width in pixels. */
376 /* A structure used to hold the small metrics of a given glyph bitmap */
381 /* height :: The glyph height in pixels. */
383 /* width :: The glyph width in pixels. */
417 /* max_width :: The maximum glyph width in pixels. */
481 /* first_glyph :: The first glyph inde
1390 FT_GlyphSlot glyph; member in struct:TT_LoaderRec_
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/
H A Dtttypes.h150 /* advance :: The advance width or height for the glyph. */
152 /* bearing :: The left-side or top-side bearing for the glyph. */
333 /* A structure used to hold the big metrics of a given glyph bitmap */
338 /* height :: The glyph height in pixels. */
340 /* width :: The glyph width in pixels. */
376 /* A structure used to hold the small metrics of a given glyph bitmap */
381 /* height :: The glyph height in pixels. */
383 /* width :: The glyph width in pixels. */
417 /* max_width :: The maximum glyph width in pixels. */
481 /* first_glyph :: The first glyph inde
1390 FT_GlyphSlot glyph; member in struct:TT_LoaderRec_
[all...]
/external/pixman/pixman/
H A Dpixman.h937 const void *glyph; member in struct:__anon28860
/external/skia/src/core/
H A DSkDraw.cpp1353 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
1355 x += autokern.adjust(glyph) + glyph.fAdvanceX;
1356 y += glyph.fAdvanceY;
1414 static void D1G_RectClip(const SkDraw1Glyph& state, SkFixed fx, SkFixed fy, const SkGlyph& glyph) { argument
1417 SkASSERT(glyph.fWidth > 0 && glyph.fHeight > 0);
1421 left += glyph.fLeft;
1422 top += glyph.fTop;
1424 int right = left + glyph
1455 D1G_RgnClip(const SkDraw1Glyph& state, SkFixed fx, SkFixed fy, const SkGlyph& glyph) argument
1629 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); local
1672 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
1760 const SkGlyph& glyph = glyphCacheProc(cache, &text, local
1785 const SkGlyph& glyph = glyphCacheProc(cache, &currentText, local
1801 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
1817 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local
[all...]
H A DSkPaint.cpp1055 static SkFixed advance(const SkGlyph& glyph, int xyIndex) { argument
1057 return (&glyph.fAdvanceX)[xyIndex];
1616 // ignore it at the glyph outline generation stage if the font
2638 const SkGlyph& glyph = fGlyphCacheProc(fCache, &fText); local
2640 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale);
2641 fPrevAdvance = advance(glyph, fXYIndex); // + fPaint.getTextTracking();
2643 if (glyph.fWidth) {
2645 *path = fCache->findPath(glyph);
/external/skia/src/pdf/
H A DSkPDFDevice.cpp108 const SkGlyph& glyph = glyphCacheProc(cache, &start, 0, 0); local
109 xAdv += glyph.fAdvanceX;
110 yAdv += glyph.fAdvanceY;
137 // Make sure we have a glyph id encoding.
146 // For user supplied glyph ids we need to validate them.
1180 * glyph resolves to
1215 // the glyph
1221 // find the fallback typeface that supports this glyph
1242 // keep a scratch glyph and pos storage
1363 // Merge glyph set
[all...]

Completed in 670 milliseconds

123456789