/external/chromium_org/ui/gfx/ |
render_text_mac.cc | 288 for (size_t glyph = 0; glyph < glyph_count; glyph++) { 289 if (run->glyphs[glyph] == 65535) 290 run->glyphs[glyph] = 0; 301 for (size_t glyph = 0; glyph < glyph_count; glyph++) { 302 SkPoint* point = &run->glyph_positions[glyph]; 303 point->set(x + SkDoubleToScalar(positions_ptr[glyph].x) [all...] |
/external/chromium_org/third_party/icu/source/test/letest/ |
PortableFontInstance.h | 103 virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const; 105 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
|
letest.cpp | 246 le_int32 biasedIndices[6], indices[6], glyph; local 271 log_err("Could not get glyph, indices and position arrays.\n"); 280 for(glyph = 0; glyph < glyphCount; glyph += 1) { 281 if (extraBitGlyphs[glyph] != (glyphs[glyph] | 0xFF000000L)) { 283 glyph, glyph, extraBitGlyphs[glyph], glyphs[glyph]) [all...] |
cletest.c | 216 le_int32 biasedIndices[6], indices[6], glyph; local 241 log_err("Could not get glyph, indices and position arrays.\n"); 251 for (glyph = 0; glyph < glyphCount; glyph += 1) { 252 if (biasedIndices[glyph] != (indices[glyph] + 1024)) { 254 glyph, glyph, biasedIndices[glyph], indices[glyph]) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
composite_bitmap_glyph.cc | 55 throw IllegalStateException("Attempt to create a Composite Bitmap Glyph " 105 Ptr<CompositeBitmapGlyph> glyph = new CompositeBitmapGlyph(data, format()); local 106 return glyph.Detach();
|
/external/chromium_org/third_party/skia/third_party/harfbuzz/src/ |
harfbuzz-shape.h | 43 /* Do we need ink/logical extents for the glyph here? */ 55 void (*getMetrics)(HB_Font *font, HB_Glyph glyph, HB_GlyphMetrics *metrics); 146 HB_Glyph glyph; member in struct:HB_GlyphItem 193 /* Accessor for a particular glyph */
|
/external/icu/icu4c/source/layout/ |
LEFontInstance.h | 22 * to glyph mapping process. Examples of this are filtering out control characters 50 * This is a forward reference to the class which holds the per-glyph 60 * character to glyph mapping, and obtain metrics information without knowing any platform 197 * to glyph mapping. 222 * This method maps an array of character codes to an array of glyph 223 * indices, using the font's character to glyph map. 227 * characters, storing the glyph ID for the high surrogate, and a deleted glyph (0xFFFF) 235 * @param reverse - if <code>TRUE</code>, store the glyph indices in reverse order. 237 * @param filterZeroWidth - <code>TRUE</code> if ZWJ / ZWNJ characters should map to a glyph w/ no contours [all...] |
/external/icu/icu4c/source/samples/layout/ |
GDIFontInstance.h | 93 virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const; 95 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
|
GnomeFontInstance.h | 88 virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const; 90 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
|
/external/icu/icu4c/source/test/letest/ |
PortableFontInstance.h | 107 virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const; 109 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
|
letest.cpp | 246 le_int32 biasedIndices[6], indices[6], glyph; local 271 log_err("Could not get glyph, indices and position arrays.\n"); 280 for(glyph = 0; glyph < glyphCount; glyph += 1) { 281 if (extraBitGlyphs[glyph] != (glyphs[glyph] | 0xFF000000L)) { 283 glyph, glyph, extraBitGlyphs[glyph], glyphs[glyph]) [all...] |
cletest.c | 216 le_int32 biasedIndices[6], indices[6], glyph; local 241 log_err("Could not get glyph, indices and position arrays.\n"); 251 for (glyph = 0; glyph < glyphCount; glyph += 1) { 252 if (biasedIndices[glyph] != (indices[glyph] + 1024)) { 254 glyph, glyph, biasedIndices[glyph], indices[glyph]) [all...] |
/external/icu/icu4c/source/test/perf/leperf/ |
PortableFontInstance.h | 107 virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const; 109 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
composite_bitmap_glyph.cc | 55 throw IllegalStateException("Attempt to create a Composite Bitmap Glyph " 105 Ptr<CompositeBitmapGlyph> glyph = new CompositeBitmapGlyph(data, format()); local 106 return glyph.Detach();
|
/external/chromium_org/third_party/skia/src/core/ |
SkScalerContext.h | 163 // remember our glyph offset/base 168 /** Return the corresponding glyph for the specified unichar. Since contexts 171 base-glyph-count to know how to translate back into local glyph space. 175 /** Map the glyphID to its glyph index, and then to its char code. Unmapped 216 /** Generates the contents of glyph.fAdvanceX and glyph.fAdvanceY. 219 virtual void generateAdvance(SkGlyph* glyph) = 0; 221 /** Generates the contents of glyph.fWidth, fHeight, fTop, fLeft, 226 virtual void generateMetrics(SkGlyph* glyph) = 0 [all...] |
/external/skia/src/core/ |
SkScalerContext.h | 163 // remember our glyph offset/base 168 /** Return the corresponding glyph for the specified unichar. Since contexts 171 base-glyph-count to know how to translate back into local glyph space. 175 /** Map the glyphID to its glyph index, and then to its char code. Unmapped 216 /** Generates the contents of glyph.fAdvanceX and glyph.fAdvanceY. 219 virtual void generateAdvance(SkGlyph* glyph) = 0; 221 /** Generates the contents of glyph.fWidth, fHeight, fTop, fLeft, 226 virtual void generateMetrics(SkGlyph* glyph) = 0 [all...] |
/frameworks/base/libs/hwui/font/ |
CacheTexture.cpp | 233 bool CacheTexture::fitBitmap(const SkGlyph& glyph, uint32_t* retOriginX, uint32_t* retOriginY) { 234 switch (glyph.fMaskFormat) { 255 ALOGD("fitBitmap: unknown glyph format %x encountered", glyph.fMaskFormat); 260 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > mHeight) { 264 uint16_t glyphW = glyph.fWidth + TEXTURE_BORDER_SIZE; 265 uint16_t glyphH = glyph.fHeight + TEXTURE_BORDER_SIZE; 275 // Store glyph in this block iff: it fits the block's remaining space and: 276 // it's the remainder space (mY == 0) or there's only enough height for this one glyph 282 // Only enough space for this glyph - don't bother rounding up the widt [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
WidthIterator.cpp | 156 Glyph glyph = glyphData.glyph; local 161 // Now that we have a glyph and font data, get its width. 166 width = fontData->widthForGlyph(glyph); 175 if (m_run.applyWordRounding() && width == fontData->spaceWidth() && (fontData->pitch() == FixedPitch || glyph == fontData->spaceGlyph())) 250 bounds = fontData->boundsForGlyph(glyph); 256 glyph = 0; 290 glyphBuffer->add(glyph, fontData, (rtl ? oldWidth + lastRoundingWidth : width));
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-layout-gdef-table.hh | 137 USHORT caretValuePoint; /* Contour point index on glyph */ 322 * GDEF -- The Glyph Definition Table 338 inline unsigned int get_glyph_class (hb_codepoint_t glyph) const 339 { return (this+glyphClassDef).get_class (glyph); } 344 inline unsigned int get_mark_attachment_type (hb_codepoint_t glyph) const 345 { return (this+markAttachClassDef).get_class (glyph); } 380 * glyph class and other bits, and high 8-bit gthe mark attachment type (if any). 382 inline unsigned int get_glyph_props (hb_codepoint_t glyph) const 384 unsigned int klass = get_glyph_class (glyph); 395 klass = get_mark_attachment_type (glyph); [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gdef-table.hh | 137 USHORT caretValuePoint; /* Contour point index on glyph */ 322 * GDEF -- The Glyph Definition Table 338 inline unsigned int get_glyph_class (hb_codepoint_t glyph) const 339 { return (this+glyphClassDef).get_class (glyph); } 344 inline unsigned int get_mark_attachment_type (hb_codepoint_t glyph) const 345 { return (this+markAttachClassDef).get_class (glyph); } 380 * glyph class and other bits, and high 8-bit gthe mark attachment type (if any). 382 inline unsigned int get_glyph_props (hb_codepoint_t glyph) const 384 unsigned int klass = get_glyph_class (glyph); 395 klass = get_mark_attachment_type (glyph); [all...] |
/frameworks/base/libs/hwui/ |
FontRenderer.cpp | 70 ALOGD("TextSetupFunctor: called with unknown glyph format %x", glyphFormat); 209 const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) { 211 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { 215 // Could not fit glyph into current cache textures 219 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, 223 // If the glyph bitmap is empty let's assum the glyph is valid 225 if (glyph.fWidth == 0 || glyph.fHeight == 0) { 233 // choose an appropriate cache texture list for this glyph forma [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkTypeface_win_dw.cpp | 277 // Construct Glyph to Unicode table. 293 UINT16 glyph; local 294 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); 295 if (glyph > 0) { 303 UINT16 glyph; local 304 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); 305 if (glyph > 0) { 311 SkAutoTArray<UINT16> glyph(count); 312 fontFace->GetGlyphIndices(chars.get(), count, glyph.get()); 316 if (glyph[j] > maxGlyph) maxGlyph = glyph[j] [all...] |
/external/skia/src/ports/ |
SkTypeface_win_dw.cpp | 277 // Construct Glyph to Unicode table. 293 UINT16 glyph; local 294 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); 295 if (glyph > 0) { 303 UINT16 glyph; local 304 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); 305 if (glyph > 0) { 311 SkAutoTArray<UINT16> glyph(count); 312 fontFace->GetGlyphIndices(chars.get(), count, glyph.get()); 316 if (glyph[j] > maxGlyph) maxGlyph = glyph[j] [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
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/pdfium/core/src/fxge/android/ |
fpf_skiafont.cpp | 103 FXFT_Glyph glyph; local 104 if (FXFT_Get_Glyph(m_Face->glyph, &glyph)) { 109 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); 118 FXFT_Done_Glyph(glyph);
|