/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
GlyphPageTreeNodeWin.cpp | 53 // Convert characters to glyph ids by GetGlyphIndices(), during which, we 64 WTF_LOG_ERROR("Unable to get the glyph indices after second attempt"); 69 // Initializes space glyph 70 static bool initSpaceGlyph(HFONT font, HDC dc, Glyph* spaceGlyph) 111 // + If the font has a glyph available for the character, 117 // + If the font has a glyph available for the character, 121 // (Windows automatically assigns the glyph for a box character to 124 // tells WebKit whether or not the all glyph indices for the given 125 // characters are 0x80 (i.e. a possibly-invalid glyph) and let it 133 // because the corresponding glyph index is set as 0x20 when current fon 160 Glyph glyph = localGlyphBuffer[i]; local 226 WORD glyph = state.firstGlyphForCharacter(i * 2); local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.cc | 74 GlyphPtr glyph; local 75 glyph.Attach(glyph_table->GetGlyph(old_offset, old_length)); 76 ReadableFontDataPtr data = glyph->ReadFontData();
|
/external/icu4c/layout/ |
MPreFixups.cpp | 34 // before the base consonant glyph. 88 LEGlyphID glyph = glyphStorage[mpreLimit + i]; local 91 glyphStorage[mpreIndex + i] = glyph;
|
/external/icu4c/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);
|
GnomeFontInstance.cpp | 137 void GnomeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const 142 if (glyph >= 0xFFFE) { 148 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT); 154 advance.fX = fFace->glyph->metrics.horiAdvance >> 6; 158 le_bool GnomeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const 162 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT); 168 if (pointNumber >= fFace->glyph->outline.n_points) { 172 point.fX = fFace->glyph->outline.points[pointNumber].x >> 6; 173 point.fY = fFace->glyph->outline.points[pointNumber].y >> 6; 185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]) local [all...] |
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.cc | 74 GlyphPtr glyph; local 75 glyph.Attach(glyph_table->GetGlyph(old_offset, old_length)); 76 ReadableFontDataPtr data = glyph->ReadFontData();
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
FontCacheSkiaWin.cpp | 72 uint16_t glyph; local 73 paint.textToGlyphs(&character, sizeof(character), &glyph); 74 return glyph;
|
/external/chromium_org/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_New( &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 191 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 222 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 237 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 248 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 287 FT_Glyph glyph = NULL; local 360 FT_Glyph glyph; local 515 FT_Glyph b, glyph; local [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_New( &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 191 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 222 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 237 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 248 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 287 FT_Glyph glyph = NULL; local 360 FT_Glyph glyph; local 515 FT_Glyph b, glyph; local [all...] |
/external/harfbuzz/src/ |
harfbuzz-buffer.c | 178 HB_GlyphItem glyph; local 184 glyph = &buffer->in_string[buffer->in_length]; 185 glyph->gindex = glyph_index; 186 glyph->properties = properties; 187 glyph->cluster = cluster; 188 glyph->component = 0; 189 glyph->ligID = 0; 190 glyph->gproperties = HB_GLYPH_PROPERTIES_UNKNOWN; 263 from the glyph at position `buffer->in_pos'. 265 The cluster value for the glyph at position buffer->in_pos is use [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-buffer.c | 178 HB_GlyphItem glyph; local 184 glyph = &buffer->in_string[buffer->in_length]; 185 glyph->gindex = glyph_index; 186 glyph->properties = properties; 187 glyph->cluster = cluster; 188 glyph->component = 0; 189 glyph->ligID = 0; 190 glyph->gproperties = HB_GLYPH_PROPERTIES_UNKNOWN; 263 from the glyph at position `buffer->in_pos'. 265 The cluster value for the glyph at position buffer->in_pos is use [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextRunRenderingContext.cpp | 125 Glyph glyph = glyphBuffer.glyphAt(from + i); local 126 if (!glyph) 130 SVGGlyph svgGlyph = fontElement->svgGlyphForGlyph(glyph); 132 ASSERT(svgGlyph.tableEntry == glyph); 136 // FIXME: Support arbitary SVG content as glyph (currently limited to <glyph d="..."> situations). 180 // Check if we have the missing glyph data, in which case we can just return. 182 if (glyphData.glyph == missingGlyphData.glyph && glyphData.fontData == missingGlyphData.fontData) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFontElement.cpp | 90 // will not be able to find a glyph for "f", but handles the fallback 108 // This glyph is never meant to be used for rendering, only as identifier as a part of a ligature. 125 SVGGlyphElement* glyph = toSVGGlyphElement(child); local 126 AtomicString unicode = glyph->fastGetAttribute(SVGNames::unicodeAttr); 127 AtomicString glyphId = glyph->getIdAttribute(); 131 m_glyphMap.addGlyph(glyphId, unicode, glyph->buildGlyphIdentifier()); 149 // Register missing-glyph element, if present. 241 // FIXME: We only support glyphName -> single glyph mapping so far. 245 SVGGlyph SVGFontElement::svgGlyphForGlyph(Glyph glyph) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
HarfBuzzFaceSkia.cpp | 73 uint16_t glyph = codepoint; local 75 paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds); 87 static hb_bool_t harfBuzzGetGlyph(hb_font_t* hbFont, void* fontData, hb_codepoint_t unicode, hb_codepoint_t variationSelector, hb_codepoint_t* glyph, void* userData) 98 *glyph = glyph16; 100 *glyph = result.iterator->value; 101 return !!*glyph; 104 static hb_position_t harfBuzzGetGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, void* userData) 109 SkiaGetGlyphWidthAndExtents(&hbFontData->m_paint, glyph, &advance, 0); 113 static hb_bool_t harfBuzzGetGlyphHorizontalOrigin(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_position_t* x, hb_position_t* y, void* userData [all...] |
/external/chromium_org/third_party/freetype/include/freetype/ |
ftglyph.h | 22 /* that can be used by client applications to easily retrieve glyph */ 55 /* Glyph Management */ 58 /* Generic interface to manage individual glyph data. */ 61 /* This section contains definitions used to manage glyph data */ 78 /* Handle to an object used to model generic glyph images. It is a */ 79 /* pointer to the @FT_GlyphRec structure and can contain a glyph */ 83 /* Glyph objects are not owned by the library. You must thus release */ 96 /* The root glyph structure contains a given glyph image plus its */ 102 /* clazz :: A pointer to the glyph's class. Private. * 551 FT_Done_Glyph( FT_Glyph glyph ); variable [all...] |
/external/chromium_org/third_party/freetype/src/cache/ |
ftcbasic.c | 165 /* we will now load the glyph image */ 176 if ( face->glyph->format == FT_GLYPH_FORMAT_BITMAP || 177 face->glyph->format == FT_GLYPH_FORMAT_OUTLINE ) 180 FT_Glyph glyph; local 183 error = FT_Get_Glyph( face->glyph, &glyph ); 186 *aglyph = glyph; 336 *aglyph = FTC_INODE( node )->glyph; 398 *aglyph = FTC_INODE( node )->glyph; 503 /* beware, the hash must be the same for all glyph ranges! * [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-shape-normalize.cc | 110 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) 112 buffer->cur().glyph_index() = glyph; 118 next_char (hb_buffer_t *buffer, hb_codepoint_t glyph) 120 buffer->cur().glyph_index() = glyph; 200 hb_codepoint_t glyph; local 203 if (shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph)) 204 next_char (buffer, glyph); 207 else if (!shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph)) 208 next_char (buffer, glyph); 212 next_char (buffer, glyph); /* glyph is initialized in earlier branches. * 372 hb_codepoint_t composed, glyph; local [all...] |
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
font_assembler.cc | 88 // Creating the segments and the glyph id array 135 // Writing the segments and glyph id array to the CMap 183 // Get the glyph for this resolved_glyph_id. 186 // Get the LOCA table for the current glyph id. 193 // Get the GLYF table for the current glyph id. 197 GlyphPtr glyph; local 198 glyph.Attach(glyph_table->GetGlyph(offset, length)); 200 // The data reference by the glyph is copied into a new glyph and 203 Ptr<ReadableFontData> data = glyph->ReadFontData() [all...] |
font_info.cc | 199 // Since composite glyph elements might themselves be composite, we would need 203 // We'll remove glyph ids from |unresolved_glyph_ids| until it is empty and, 204 // if the glyph is composite, add its elements to the unresolved set. 209 // As long as there are unresolved glyph ids. 211 // Get the corresponding glyph. 224 fprintf(stderr, "Zero length glyph %d\n", glyph_id); 229 GlyphPtr glyph; local 230 glyph.Attach(glyph_table_->GetGlyph(offset, length)); 231 if (glyph == NULL) { 237 // Mark the glyph as resolved [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrBitmapTextContext.cpp | 136 GrGlyph* glyph = fStrike->getGlyph(packed, scaler); local 137 if (NULL == glyph || glyph->fBounds.isEmpty()) { 141 vx += SkIntToFixed(glyph->fBounds.fLeft); 142 vy += SkIntToFixed(glyph->fBounds.fTop); 145 GrFixed width = glyph->fBounds.width(); 146 GrFixed height = glyph->fBounds.height(); 149 if (true || NULL == glyph->fPlot) { 158 if (NULL == glyph->fPlot) { 159 if (fStrike->getGlyphAtlas(glyph, scaler)) [all...] |
GrDistanceFieldTextContext.cpp | 129 GrGlyph* glyph = fStrike->getGlyph(packed, scaler); local 130 if (NULL == glyph || glyph->fBounds.isEmpty()) { 138 vx += SkIntToFixed(glyph->fBounds.fLeft); 139 vy += SkIntToFixed(glyph->fBounds.fTop); 142 GrFixed width = glyph->fBounds.width(); 143 GrFixed height = glyph->fBounds.height(); 146 if (true || NULL == glyph->fPlot) { 155 if (NULL == glyph->fPlot) { 156 if (fStrike->getGlyphAtlas(glyph, scaler)) [all...] |
SkGrFontScaler.cpp | 107 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 110 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight); 116 // expands each bit in a bitmask to 0 or ~0 of type INT_TYPE. Used to expand a BW glyph mask to 144 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local 147 SkASSERT(glyph.fWidth == width); 148 SkASSERT(glyph.fHeight == height); 149 const void* src = fStrike->findImage(glyph); 196 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID); local [all...] |
/external/freetype/include/freetype/ |
ftglyph.h | 22 /* that can be used by client applications to easily retrieve glyph */ 55 /* Glyph Management */ 58 /* Generic interface to manage individual glyph data. */ 61 /* This section contains definitions used to manage glyph data */ 78 /* Handle to an object used to model generic glyph images. It is a */ 79 /* pointer to the @FT_GlyphRec structure and can contain a glyph */ 83 /* Glyph objects are not owned by the library. You must thus release */ 96 /* The root glyph structure contains a given glyph image plus its */ 102 /* clazz :: A pointer to the glyph's class. Private. * 551 FT_Done_Glyph( FT_Glyph glyph ); variable [all...] |
/external/freetype/src/cache/ |
ftcbasic.c | 165 /* we will now load the glyph image */ 176 if ( face->glyph->format == FT_GLYPH_FORMAT_BITMAP || 177 face->glyph->format == FT_GLYPH_FORMAT_OUTLINE ) 180 FT_Glyph glyph; local 183 error = FT_Get_Glyph( face->glyph, &glyph ); 186 *aglyph = glyph; 336 *aglyph = FTC_INODE( node )->glyph; 398 *aglyph = FTC_INODE( node )->glyph; 503 /* beware, the hash must be the same for all glyph ranges! * [all...] |