/external/chromium_org/third_party/ots/src/ |
cmap.cc | 15 // cmap - Character To Glyph Index Mapping Table 40 // Glyph array size for the Mac Roman (format 0) table. 220 const uint16_t glyph = code_point + ranges[i].id_delta; local 221 if (glyph >= num_glyphs) { 235 uint16_t glyph; local 236 std::memcpy(&glyph, data + glyph_id_offset, 2); 237 glyph = ntohs(glyph); 238 if (glyph >= num_glyphs) { 320 // We assert that the glyph value is within range. Because of the rang [all...] |
/external/chromium_org/third_party/skia/third_party/harfbuzz/tests/shaping/ |
main.cpp | 113 HB_Error hb_getPointInOutline(HB_Font font, HB_Glyph glyph, int flags, hb_uint32 point, HB_Fixed *xpos, HB_Fixed *ypos, hb_uint32 *nPoints) 120 if ((error = (HB_Error)FT_Load_Glyph(face, glyph, load_flags))) 123 if (face->glyph->format != ft_glyph_format_outline) 126 *nPoints = face->glyph->outline.n_points; 133 *xpos = face->glyph->outline.points[point].x; 134 *ypos = face->glyph->outline.points[point].y; 139 void hb_getGlyphMetrics(HB_Font font, HB_Glyph glyph, HB_GlyphMetrics *metrics) 303 qDebug(" glyph result = %s", str.toLatin1().constData());
|
/external/freetype/src/sfnt/ |
ttsbit.c | 353 decoder->bitmap = &face->root.glyph->bitmap; 466 error = ft_glyphslot_alloc_bitmap( decoder->face->root.glyph, size ); 546 /* check that we can write the glyph into the bitmap */ 685 /* check that we can write the glyph into the bitmap */ 887 error = Load_SBit_Png( decoder->face->root.glyph, 935 /* read the data, depending on the glyph format */ 974 /* system font, `AppleMyungJo.ttf' (version 7.0d2e6), uses glyph */ 977 /* the value for a byte-aligned glyph, use the other loading */ 1057 * glyph index. 1091 /* now find the glyph's location and extend within the ebdt table * [all...] |
/external/harfbuzz_ng/src/ |
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 information array [all...] |
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);
|
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; 1836 hb_codepoint_t glyph; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
StatusBarButton.js | 167 this.glyph = document.createElement("div"); 168 this.glyph.className = "glyph"; 169 this.element.appendChild(this.glyph); 172 this.glyphShadow.className = "glyph shadow"; 334 this.longClickGlyph.className = "fill long-click-glyph"; 338 this.longClickGlyphShadow.className = "fill long-click-glyph shadow";
|
/external/chromium_org/third_party/icu/source/test/letest/ |
FontObject.h | 199 le_uint16 getGlyphAdvance(LEGlyphID glyph);
|
PortableFontInstance.cpp | 336 void PortableFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const 338 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 369 le_bool PortableFontInstance::getGlyphPoint(LEGlyphID /*glyph*/, le_int32 /*pointNumber*/, LEPoint &/*point*/) const
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 54 GlyphTable::Glyph* GlyphTable::GetGlyph(int32_t offset, int32_t length) { 55 return GlyphTable::Glyph::GetGlyph(this, this->data_, offset, length); 112 CALLER_ATTACH GlyphTable::Glyph::Builder* 114 return Glyph::Builder::GetBuilder(this, data); 172 Glyph::Builder::GetBuilder(this, 187 "Loca values not set - unable to parse glyph data."); 203 * GlyphTable::Glyph class 205 GlyphTable::Glyph::~Glyph() {} 207 CALLER_ATTACH GlyphTable::Glyph* 214 GlyphPtr glyph; local [all...] |
/external/icu/icu4c/source/test/letest/ |
FontObject.h | 199 le_uint16 getGlyphAdvance(LEGlyphID glyph);
|
/external/icu/icu4c/source/test/perf/leperf/ |
FontObject.h | 199 le_uint16 getGlyphAdvance(LEGlyphID glyph);
|
/external/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 54 GlyphTable::Glyph* GlyphTable::GetGlyph(int32_t offset, int32_t length) { 55 return GlyphTable::Glyph::GetGlyph(this, this->data_, offset, length); 112 CALLER_ATTACH GlyphTable::Glyph::Builder* 114 return Glyph::Builder::GetBuilder(this, data); 172 Glyph::Builder::GetBuilder(this, 187 "Loca values not set - unable to parse glyph data."); 203 * GlyphTable::Glyph class 205 GlyphTable::Glyph::~Glyph() {} 207 CALLER_ATTACH GlyphTable::Glyph* 214 GlyphPtr glyph; local [all...] |
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 39 * When we add a glyph to the cache, we see if it fits within one of the existing columns that 40 * have already been started (this is the case if the glyph fits vertically as well as 43 * glyph fits, we check the final node, which is the remaining space in the cache, creating 93 bool fitBitmap(const SkGlyph& glyph, uint32_t* retOriginX, uint32_t* retOriginY);
|
/external/chromium_org/third_party/freetype/src/psnames/ |
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 * [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFFont.cpp | 269 // Specify width and bounding box for the glyph. 466 // typing char id 0x0014 in search box will get glyph id 0x0004 first. However, 725 * like SkPDFGraphicState. b) maintain a per font glyph usage class in each 726 * page/pdf device. c) in the document, retrieve the per font glyph usage 787 // A font with multibyte glyphs will support all glyph IDs in a single font. 827 // This only is to catch callers who pass invalid glyph ids. 828 // If glyph id is invalid, then we will create duplicate entries [all...] |
/external/freetype/src/psnames/ |
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 * [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psnames/ |
fxft_psmodule.c | 44 /* Return the Unicode value corresponding to a given glyph. Note that */ 45 /* we do deal with glyph variants by detecting a non-initial dot in */ 51 /* If the name begins with `uni', then the glyph name may be a */ 60 /* XXX: Add code to deal with ligatures, i.e. glyph names like */ 143 /* Look for a non-initial dot in the glyph name in order to */ 159 /* now look up the glyph in the Adobe Glyph List */ 208 // XYQ: function for searching Unicode in the glyph list 237 /* sort base glyphs before glyph variants */ 312 FT_UInt glyph, [all...] |
/external/skia/src/pdf/ |
SkPDFFont.cpp | 269 // Specify width and bounding box for the glyph. 466 // typing char id 0x0014 in search box will get glyph id 0x0004 first. However, 725 * like SkPDFGraphicState. b) maintain a per font glyph usage class in each 726 * page/pdf device. c) in the document, retrieve the per font glyph usage 787 // A font with multibyte glyphs will support all glyph IDs in a single font. 827 // This only is to catch callers who pass invalid glyph ids. 828 // If glyph id is invalid, then we will create duplicate entries [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
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);
|
hb-ot-shape-complex-indic.cc | 511 hb_codepoint_t glyph = virama_glyph; local 514 if (!config->virama || !font->get_glyph (config->virama, 0, &glyph)) 515 glyph = 0; 519 /* Our get_glyph() function needs a font, so we can't get the virama glyph 521 (const_cast<indic_shape_plan_t *> (this))->virama_glyph = glyph; 524 *pglyph = glyph; 525 return glyph != 0; 1762 hb_codepoint_t glyph; local [all...] |
/external/fonttools/Lib/fontTools/ttLib/ |
__init__.py | 96 1) glyph bounding boxes 109 supported. Asking for a glyph ID with a glyph name or GID that is not in 327 # Make sure the glyph order is loaded, as it otherwise gets 328 # lost if the XML doesn't contain the glyph order, yet does 330 # glyph names from (ie. 'post', 'cmap' or 'CFF '). 441 # Try to create glyph names from the unicode cmap (if available) 442 # in combination with the Adobe Glyph List (AGL). 455 # build glyph names (eg. because there is only a minimal post table, 457 # - but the cmap parser also needs glyph names to work with.. [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
aflatin2.c | 85 if ( error || face->glyph->outline.n_points <= 0 ) 99 error = af_glyph_hints_reload( hints, &face->glyph->outline ); 195 FT_GlyphSlot glyph = face->glyph; local 232 if ( error || glyph->outline.n_points <= 0 ) 236 points = glyph->outline.points; 248 for ( nn = 0; nn < glyph->outline.n_contours; first = last+1, nn++ ) 254 last = glyph->outline.contours[nn]; 258 /* which are way outside of the glyph's real outline. */ 337 FT_CURVE_TAG( glyph->outline.tags[start] ) != FT_CURVE_TAG_ON | [all...] |
/external/freetype/src/autofit/ |
aflatin2.c | 86 if ( error || face->glyph->outline.n_points <= 0 ) 100 error = af_glyph_hints_reload( hints, &face->glyph->outline ); 196 FT_GlyphSlot glyph = face->glyph; local 233 if ( error || glyph->outline.n_points <= 0 ) 237 points = glyph->outline.points; 249 for ( nn = 0; nn < glyph->outline.n_contours; first = last+1, nn++ ) 255 last = glyph->outline.contours[nn]; 259 /* which are way outside of the glyph's real outline. */ 338 FT_CURVE_TAG( glyph->outline.tags[start] ) != FT_CURVE_TAG_ON | [all...] |
/external/icu/icu4c/source/layout/ |
LayoutEngine.cpp | 107 virtual le_bool accept(LEGlyphID glyph) const; 120 le_bool CanonMarkFilter::accept(LEGlyphID glyph) const 123 le_int32 glyphClass = classDefTable->getGlyphClass(classDefTable, glyph, success); 176 // Copy the glyphs into caller's (32-bit) glyph array, OR in extraBits
|