/external/pdfium/third_party/freetype/src/cff/ |
H A D | cffgload.h | 42 /* A structure used during glyph loading to store its outline. */ 49 /* glyph :: The current glyph slot. */ 51 /* loader :: The current glyph loader. */ 53 /* base :: The base glyph outline. */ 55 /* current :: The current glyph outline. */ 57 /* pos_x :: The horizontal translation (if composite glyph). */ 59 /* pos_y :: The vertical translation (if composite glyph). */ 74 /* the metrics of a given glyph, not load all of its */ 85 CFF_GlyphSlot glyph; member in struct:CFF_Builder_ [all...] |
/external/pdfium/third_party/freetype/src/psnames/ |
H A D | psmodule.c | 41 /* 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/skia/src/core/ |
H A D | SkGlyph.h | 54 void initGlyphIdFrom(const SkGlyph& glyph) { argument 55 this->initCommon(glyph.fID); 110 encounters an error measuring a glyph). Note: this does not alter the
|
/external/skia/src/fonts/ |
H A D | SkGScalerContext.cpp | 78 void SkGScalerContext::generateAdvance(SkGlyph* glyph) { argument 79 fProxy->getAdvance(glyph); 82 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), 83 SkFixedToScalar(glyph->fAdvanceY), &advance); 84 glyph->fAdvanceX = SkScalarToFixed(advance.fX); 85 glyph->fAdvanceY = SkScalarToFixed(advance.fY); 88 void SkGScalerContext::generateMetrics(SkGlyph* glyph) { argument 89 fProxy->getMetrics(glyph); 92 fMatrix.mapXY(SkFixedToScalar(glyph->fAdvanceX), 93 SkFixedToScalar(glyph 115 generateImage(const SkGlyph& glyph) argument 135 generatePath(const SkGlyph& glyph, SkPath* path) argument [all...] |
/external/skia/src/gpu/ |
H A D | GrBatchFontCache.cpp | 188 GrGlyph* glyph = (GrGlyph*)fPool.alloc(sizeof(GrGlyph), SK_MALLOC_THROW); local 189 glyph->init(packed, bounds, format); 190 fCache.add(glyph); 191 return glyph; 206 bool GrBatchTextStrike::addGlyphToAtlas(GrBatchTarget* batchTarget, GrGlyph* glyph, argument 208 SkASSERT(glyph); 210 SkASSERT(fCache.find(glyph->fPackedID)); 211 SkASSERT(NULL == glyph->fPlot); 215 int bytesPerPixel = GrMaskFormatBytesPerPixel(glyph->fMaskFormat); 217 size_t size = glyph [all...] |
H A D | GrBatchFontCache.h | 36 GrGlyph* glyph = fCache.find(packed); local 37 if (NULL == glyph) { 38 glyph = this->generateGlyph(packed, scaler); 40 return glyph; 43 // returns true if glyph successfully added to texture atlas, false otherwise 112 bool hasGlyph(GrGlyph* glyph) { argument 113 SkASSERT(glyph); 114 return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); 120 // For convenience, this function will also set the use token for the current glyph i 122 addGlyphToBulkAndSetUseToken(GrBatchAtlas::BulkUseTokenUpdater* updater, GrGlyph* glyph, GrBatchAtlas::BatchToken token) argument [all...] |
H A D | GrFontScaler.cpp | 87 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 90 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat); 107 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 110 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); 116 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 119 bounds->setXYWH(glyph.fLeft, glyph 154 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 201 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 235 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID); local [all...] |
H A D | GrTextContext.cpp | 199 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 200 if (glyph.fWidth) { 201 const SkPath* path = cache->findPath(glyph); 206 alignProc(tmsLoc, glyph, &loc); 229 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0); local 231 x += autokern.adjust(glyph) + glyph.fAdvanceX; 232 y += glyph.fAdvanceY;
|
H A D | GrStencilAndCoverTextContext.cpp | 91 // backends (8888, gpu, ...) use device-space dependent glyph caches. In 92 // order to match the glyph positions that the other code paths produce, we 93 // must also use device-space dependent glyph cache. This has the 94 // side-effect that the glyph shape outline will be in device-space, 129 const SkGlyph& glyph = glyphCacheProc(fGlyphCache, &textPtr, 0, 0); local 131 stopX += glyph.fAdvanceX; 132 stopY += glyph.fAdvanceY; 155 const SkGlyph& glyph = glyphCacheProc(fGlyphCache, &text, 0, 0); local 156 fx += SkFixedMul(autokern.adjust(glyph), fixedSizeRatio); 157 if (glyph 205 const SkGlyph& glyph = glyphCacheProc(fGlyphCache, &text, 0, 0); local 409 appendGlyph(const SkGlyph& glyph, const SkPoint& pos) argument [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-buffer.cc | 69 * In that case, swap_buffers() is no-op and the glyph operations operate 218 hb_glyph_info_t *glyph; local 222 glyph = &info[len]; 224 memset (glyph, 0, sizeof (*glyph)); 225 glyph->codepoint = codepoint; 226 glyph->mask = 1; 227 glyph->cluster = cluster; 1229 * Returns buffer glyph information array. Returned pointer 1232 * Return value: (transfer none) (array length=length): buffer glyph informatio [all...] |
H A D | hb-font-private.hh | 45 HB_FONT_FUNC_IMPLEMENT (glyph) \ 149 hb_codepoint_t glyph; local 150 return get_glyph (unicode, 0, &glyph); 154 hb_codepoint_t *glyph) 156 *glyph = 0; 157 return klass->get.glyph (this, user_data, 158 unicode, variation_selector, glyph, 159 klass->user_data.glyph); 162 inline hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) argument 165 glyph, 153 get_glyph(hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) argument 169 get_glyph_v_advance(hb_codepoint_t glyph) argument 176 get_glyph_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument 185 get_glyph_v_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument 208 get_glyph_extents(hb_codepoint_t glyph, hb_glyph_extents_t *extents) argument 218 get_glyph_contour_point(hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y) argument 228 get_glyph_name(hb_codepoint_t glyph, char *name, unsigned int size) argument 238 get_glyph_from_name(const char *name, int len, hb_codepoint_t *glyph) argument 252 get_glyph_advance_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 266 guess_v_origin_minus_h_origin(hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument 275 get_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 301 add_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 313 subtract_glyph_origin_for_direction(hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 338 get_glyph_extents_for_origin(hb_codepoint_t glyph, hb_direction_t direction, hb_glyph_extents_t *extents) argument 350 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 364 glyph_to_string(hb_codepoint_t glyph, char *s, unsigned int size) argument 375 glyph_from_string(const char *s, int len, hb_codepoint_t *glyph) argument [all...] |
H A D | hb-ot-shape-complex-hangul.cc | 126 hb_codepoint_t glyph; local 127 return hb_font_get_glyph (font, unicode, 0, &glyph) && hb_font_get_glyph_h_advance (font, glyph) == 0; 162 * mark to precede the whole syllable - unless it is a zero-width glyph, in 284 * necessary precomposed glyph.
|
H A D | hb-ot-shape-complex-thai.cc | 152 hb_codepoint_t glyph; local 153 if (hb_font_get_glyph (font, pua_mappings->win_pua, 0, &glyph)) 155 if (hb_font_get_glyph (font, pua_mappings->mac_pua, 0, &glyph))
|
H A D | hb-font.cc | 52 hb_codepoint_t *glyph, 56 return font->parent->get_glyph (unicode, variation_selector, glyph); 58 *glyph = 0; 65 hb_codepoint_t glyph, 69 return font->parent_scale_x_distance (font->parent->get_glyph_h_advance (glyph)); 77 hb_codepoint_t glyph, 81 return font->parent_scale_y_distance (font->parent->get_glyph_v_advance (glyph)); 89 hb_codepoint_t glyph, 95 hb_bool_t ret = font->parent->get_glyph_h_origin (glyph, x, y); 108 hb_codepoint_t glyph, 48 hb_font_get_glyph_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument 63 hb_font_get_glyph_h_advance_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument 75 hb_font_get_glyph_v_advance_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, void *user_data HB_UNUSED) argument 87 hb_font_get_glyph_h_origin_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument 106 hb_font_get_glyph_v_origin_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument 151 hb_font_get_glyph_extents_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, hb_glyph_extents_t *extents, void *user_data HB_UNUSED) argument 171 hb_font_get_glyph_contour_point_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data HB_UNUSED) argument 191 hb_font_get_glyph_name_nil(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, char *name, unsigned int size, void *user_data HB_UNUSED) argument 205 hb_font_get_glyph_from_name_nil(hb_font_t *font, void *font_data HB_UNUSED, const char *name, int len, hb_codepoint_t *glyph, void *user_data HB_UNUSED) argument 431 hb_font_get_glyph(hb_font_t *font, hb_codepoint_t unicode, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) argument 450 hb_font_get_glyph_h_advance(hb_font_t *font, hb_codepoint_t glyph) argument 468 hb_font_get_glyph_v_advance(hb_font_t *font, hb_codepoint_t glyph) argument 488 hb_font_get_glyph_h_origin(hb_font_t *font, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument 509 hb_font_get_glyph_v_origin(hb_font_t *font, hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y) argument 567 hb_font_get_glyph_extents(hb_font_t *font, hb_codepoint_t glyph, hb_glyph_extents_t *extents) argument 589 hb_font_get_glyph_contour_point(hb_font_t *font, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y) argument 610 hb_font_get_glyph_name(hb_font_t *font, hb_codepoint_t glyph, char *name, unsigned int size) argument 631 hb_font_get_glyph_from_name(hb_font_t *font, const char *name, int len, hb_codepoint_t *glyph) argument 654 hb_font_get_glyph_advance_for_direction(hb_font_t *font, hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 675 hb_font_get_glyph_origin_for_direction(hb_font_t *font, hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 696 hb_font_add_glyph_origin_for_direction(hb_font_t *font, hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 717 hb_font_subtract_glyph_origin_for_direction(hb_font_t *font, hb_codepoint_t glyph, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 761 hb_font_get_glyph_extents_for_origin(hb_font_t *font, hb_codepoint_t glyph, hb_direction_t direction, hb_glyph_extents_t *extents) argument 785 hb_font_get_glyph_contour_point_for_origin(hb_font_t *font, hb_codepoint_t glyph, unsigned int point_index, hb_direction_t direction, hb_position_t *x, hb_position_t *y) argument 806 hb_font_glyph_to_string(hb_font_t *font, hb_codepoint_t glyph, char *s, unsigned int size) argument 828 hb_font_glyph_from_string(hb_font_t *font, const char *s, int len, hb_codepoint_t *glyph) argument [all...] |
H A D | hb-ot-cmap-table.hh | 45 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const 50 *glyph = gid; 64 * code to glyph index values. */ 71 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const 124 *glyph = gid & 0xFFFFu; 203 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const 209 *glyph = gid; 224 glyphIdArray; /* Array of glyph index values for character 236 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const 241 *glyph 327 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph, const void *base) const argument [all...] |
H A D | hb-ot-layout.cc | 133 hb_codepoint_t glyph) 135 return (hb_ot_layout_glyph_class_t) _get_gdef (face).get_glyph_class (glyph); 148 hb_codepoint_t glyph, 153 return _get_gdef (face).get_attach_points (glyph, start_offset, point_count, point_array); 159 hb_codepoint_t glyph, 164 return _get_gdef (font->face).get_lig_carets (font, direction, glyph, start_offset, caret_count, caret_array); 132 hb_ot_layout_get_glyph_class(hb_face_t *face, hb_codepoint_t glyph) argument 147 hb_ot_layout_get_attach_points(hb_face_t *face, hb_codepoint_t glyph, unsigned int start_offset, unsigned int *point_count , unsigned int *point_array ) argument 157 hb_ot_layout_get_ligature_carets(hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph, unsigned int start_offset, unsigned int *caret_count , int *caret_array ) argument
|
/external/icu/icu4c/source/layout/ |
H A D | ContextualSubstSubtables.cpp | 66 TTGlyphID glyph = (TTGlyphID) glyphIterator->getCurrGlyphID(); local 68 if (glyph != SWAPW(glyphArray[match])) { 97 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 98 le_int32 glyphClass = classDefinitionTable->getGlyphClass(glyph); 122 le_int32 glyph = 0; local 125 glyph = glyphCount - 1; 130 Offset coverageTableOffset = SWAPW(coverageTableOffsetArray[glyph]); 143 glyph += direction; 197 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 198 le_int32 coverageIndex = getGlyphCoverage(lookupProcessor->getReference(), glyph, succes 247 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 379 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 451 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local [all...] |
H A D | GlyphIterator.cpp | 203 LEGlyphID glyph = glyphStorage[position]; local 205 glyphStorage[position] = LE_SET_GLYPH(glyph, glyphID);
|
/external/icu/icu4c/source/test/letest/ |
H A D | PortableFontInstance.cpp | 360 void PortableFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument 362 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 393 le_bool PortableFontInstance::getGlyphPoint(LEGlyphID /*glyph*/, le_int32 /*pointNumber*/, LEPoint &/*point*/) const
|
H A D | cletest.c | 218 le_int32 biasedIndices[6], indices[6], glyph; local 243 log_err("Could not get glyph, indices and position arrays.\n"); 253 for (glyph = 0; glyph < glyphCount; glyph += 1) { 254 if (biasedIndices[glyph] != (indices[glyph] + 1024)) { 256 glyph, glyph, biasedIndices[glyph], indice [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
H A D | PortableFontInstance.cpp | 364 void PortableFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument 366 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 397 le_bool PortableFontInstance::getGlyphPoint(LEGlyphID /*glyph*/, le_int32 /*pointNumber*/, LEPoint &/*point*/) const
|
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_font.cpp | 222 FT_Glyph glyph; local 223 error = FXFT_Get_Glyph(((FXFT_Face)m_Face)->glyph, &glyph); 227 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); 247 FT_Done_Glyph(glyph);
|
/external/skia/src/ports/ |
H A D | SkTypeface_win_dw.cpp | 296 UINT16 glyph; local 297 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); 298 SkASSERT(glyph < glyphCount); 299 if (0 < glyph) { 300 maxGlyph = SkTMax(static_cast<int>(glyph), maxGlyph); 301 glyphToUni[glyph] = c;
|
/external/freetype/src/psaux/ |
H A D | psobjs.c | 1511 /* Initializes a given glyph builder. */ 1514 /* builder :: A pointer to the glyph builder to initialize. */ 1521 /* glyph :: The current glyph object. */ 1529 FT_GlyphSlot glyph, 1536 builder->glyph = glyph; 1539 if ( glyph ) 1541 FT_GlyphLoader loader = glyph->internal->loader; 1553 builder->hints_funcs = glyph 1526 t1_builder_init( T1_Builder builder, FT_Face face, FT_Size size, FT_GlyphSlot glyph, FT_Bool hinting ) argument 1584 FT_GlyphSlot glyph = builder->glyph; local [all...] |
H A D | t1decode.c | 117 /* Looks up a given glyph by its StandardEncoding charcode. Used to */ 126 /* A glyph index in the font face. Returns -1 if the corresponding */ 127 /* glyph wasn't found. */ 230 " glyph names table not available in this font\n" )); 255 /* if we are trying to load a composite glyph, do not load the */ 259 FT_GlyphSlot glyph = (FT_GlyphSlot)decoder->builder.glyph; local 260 FT_GlyphLoader loader = glyph->internal->loader; 285 /* set up remaining glyph fields */ 286 glyph [all...] |