/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | SimpleFontDataMac.mm | 281 // reported x-height to only include the portion of the glyph that is above the baseline. 283 NSGlyph xGlyph = glyphPageZero ? glyphPageZero->glyphDataForCharacter('x').glyph : 0; 459 FloatRect SimpleFontData::platformBoundsForGlyph(Glyph glyph) const 462 boundingBox = CTFontGetBoundingRectsForGlyphs(m_platformData.ctFont(), platformData().orientation() == Vertical ? kCTFontVerticalOrientation : kCTFontHorizontalOrientation, &glyph, 0, 1); 470 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const 477 if (!wkGetGlyphTransformedAdvances(platformData().cgFont(), font, &m, &glyph, &advance)) { 478 LOG_ERROR("Unable to cache glyph widths for %@ %f", [font displayName], pointSize); 482 CTFontGetAdvancesForGlyphs(m_platformData.ctFont(), kCTFontVerticalOrientation, &glyph, &advance, 1);
|
/external/freetype/src/psaux/ |
H A D | psobjs.c | 1452 /* Initializes a given glyph builder. */ 1455 /* builder :: A pointer to the glyph builder to initialize. */ 1462 /* glyph :: The current glyph object. */ 1470 FT_GlyphSlot glyph, 1477 builder->glyph = glyph; 1480 if ( glyph ) 1482 FT_GlyphLoader loader = glyph->internal->loader; 1494 builder->hints_funcs = glyph 1467 t1_builder_init( T1_Builder builder, FT_Face face, FT_Size size, FT_GlyphSlot glyph, FT_Bool hinting ) argument 1525 FT_GlyphSlot glyph = builder->glyph; local [all...] |
H A D | psobjs.h | 158 FT_GlyphSlot glyph,
|
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. */ 224 " glyph names table not available in this font\n" )); 249 /* if we are trying to load a composite glyph, do not load the */ 253 FT_GlyphSlot glyph = (FT_GlyphSlot)decoder->builder.glyph; local 254 FT_GlyphLoader loader = glyph->internal->loader; 279 /* set up remaining glyph fields */ 280 glyph [all...] |
/external/freetype/src/base/ |
H A D | ftstroke.c | 2263 FT_Glyph glyph = NULL; local 2272 glyph = *pglyph; 2273 if ( glyph == NULL || glyph->clazz != FT_OUTLINE_GLYPH_CLASS_GET ) 2280 error = FT_Glyph_Copy( glyph, © ); 2284 glyph = copy; 2288 FT_OutlineGlyph oglyph = (FT_OutlineGlyph)glyph; 2299 FT_Outline_Done( glyph->library, outline ); 2301 error = FT_Outline_New( glyph->library, 2315 *pglyph = glyph; 2339 FT_Glyph glyph = NULL; local [all...] |
/external/freetype/include/freetype/internal/ |
H A D | fttrace.h | 33 FT_TRACE_DEF( glyph ) /* glyph management (ftglyph.c) */ 34 FT_TRACE_DEF( gloader ) /* glyph loader (ftgloadr.c) */ 58 FT_TRACE_DEF( ttgload ) /* TT glyph loader (ttgload.c) */
|
/external/icu4c/layout/ |
H A D | ArabicLayoutEngine.cpp | 29 le_bool CharSubstitutionFilter::accept(LEGlyphID glyph) const 31 return fFontInstance->canDisplay((LEUnicode) glyph);
|
H A D | OpenTypeLayoutEngine.cpp | 435 LEGlyphID glyph = glyphStorage[g]; local 437 if (glyph == zwnj) { 438 glyphStorage[g] = LE_SET_GLYPH(glyph, 0xFFFF);
|
H A D | LETypes.h | 96 * Used for 16-bit glyph indices as they're represented 104 * Used for glyph indices. The low-order 16 bits are 105 * the glyph ID within the font. The next 8 bits are 115 * Used to mask off the glyph ID part of an LEGlyphID. 123 * Used to shift the glyph ID part of an LEGlyphID 199 #define LE_SET_GLYPH(gid, glyph) ((gid & ~LE_GLYPH_MASK) | ((glyph << LE_GLYPH_SHIFT) & LE_GLYPH_MASK))
|
H A D | LayoutEngine.cpp | 102 virtual le_bool accept(LEGlyphID glyph) const; 115 le_bool CanonMarkFilter::accept(LEGlyphID glyph) const 117 le_int32 glyphClass = classDefTable->getGlyphClass(glyph); 170 // Copy the glyphs into caller's (32-bit) glyph array, OR in extraBits
|
/external/skia/include/core/ |
H A D | SkScalerContext.h | 112 encounters an error measuring a glyph). Note: this does not alter the 284 // remember our glyph offset/base 289 /** Return the corresponding glyph for the specified unichar. Since contexts 292 base-glyph-count to know how to translate back into local glyph space. 296 /** Map the glyphID to its glyph index, and then to its char code. Unmapped 351 void internalGetPath(const SkGlyph& glyph, SkPath* fillPath, 357 // returns the right context from our link-list for this glyph. If no match 359 SkScalerContext* getGlyphContext(const SkGlyph& glyph);
|
/external/harfbuzz/tests/shaping/ |
H A D | 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) argument 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) argument 303 qDebug(" glyph result = %s", str.toLatin1().constData());
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | FontAndroid.cpp | 474 // Get the advances (widths) for each glyph. 483 // So, for each input code point, the log tells you which output glyph was 514 uint16_t* m_glyphs16; // A vector of 16-bit glyph ids. 515 SkPoint* m_positions; // A vector of positions for each glyph. 535 unsigned m_letterSpacing; // pixels to be added after each glyph. 634 // In right-to-left mode we need to render the shaped glyph backwards and 816 // RTL) codepoint of the current glyph. Each time we advance a glyph, 818 // glyph. 852 // zero width space. We get the glyph dat 1000 int glyph = walker.logClusters()[from]; local 1008 int glyph = walker.logClusters()[to]; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | UniscribeController.cpp | 39 // take the GlyphBuffer as an arg so that we don't have to populate the glyph buffer when 232 // The recommended size for the glyph buffer is 1.5 * the character length + 16 in the uniscribe docs. 263 // Convert all chars that should be treated as spaces to use the space glyph. 277 // Substitute in the space glyph at the appropriate place in the glyphs 286 // Populate our glyph buffer with this information. 292 Glyph glyph = glyphs[k]; local 308 // If we're a glyph with an advance, go ahead and add in letter-spacing. 338 // FIXME: We need to take the GOFFSETS for combining glyphs and store them in the glyph buffer 343 glyphBuffer->add(glyph, fontData, advance, &size); 346 FloatRect glyphBounds = fontData->boundsForGlyph(glyph); [all...] |
H A D | FontCGWin.cpp | 50 static CGPathRef createPathForGlyph(HDC hdc, Glyph glyph) argument 58 DWORD outlineLength = GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_NATIVE, &glyphMetrics, 0, 0, &identity); 64 GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_NATIVE, &glyphMetrics, outlineLength, outline.data(), &identity);
|
/external/icu4c/test/letest/ |
H A D | FontObject.h | 199 le_uint16 getGlyphAdvance(LEGlyphID glyph);
|
H A D | PortableFontInstance.cpp | 336 void PortableFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument 338 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 369 le_bool PortableFontInstance::getGlyphPoint(LEGlyphID /*glyph*/, le_int32 /*pointNumber*/, LEPoint &/*point*/) const
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | UniscribeHelper.cpp | 171 // the glyph indices match. 292 // Compute the starting glyph within this span. |from| and |to| are 296 // To compute the first glyph when going RTL, we use |to|. 307 // The last glyph is actually the first character in the range. 315 // (remember our character could be more than one glyph, so we 316 // can't look up our glyph and add one). 323 // computation to see the glyph one past the end. 416 // The character is in this run, return the first glyph for it 417 // (should generally be the only glyph). It seems Uniscribe gives 418 // glyph 945 WORD glyph = shaping.m_glyphs[glyphIndex]; local [all...] |
/external/freetype/src/psnames/ |
H A D | psmodule.c | 40 /* Return the Unicode value corresponding to a given glyph. Note that */ 41 /* we do deal with glyph variants by detecting a non-initial dot in */ 48 /* If the name begins with `uni', then the glyph name may be a */ 57 /* XXX: Add code to deal with ligatures, i.e. glyph names like */ 140 /* Look for a non-initial dot in the glyph name in order to */ 156 /* now look up the glyph in the Adobe Glyph List */ 177 /* sort base glyphs before glyph variants */ 252 FT_UInt glyph, 266 /* mark this extra glyph as a candidate for the cmap */ 268 extra_glyphs[n] = glyph; 251 ps_check_extra_glyph_name( const char* gname, FT_UInt glyph, FT_UInt* extra_glyphs, FT_UInt *states ) argument [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 267 // Specify width and bounding box for the glyph. 460 // typing char id 0x0014 in search box will get glyph id 0x0004 first. However, 688 * like SkPDFGraphicState. b) maintain a per font glyph usage class in each 689 * page/pdf device. c) in the document, retrieve the per font glyph usage 721 // A font with multibyte glyphs will support all glyph IDs in a single font. 934 // Single byte glyph encoding supports a max of 255 glyphs. 1096 // Generate glyph id array. 1098 glyphIDs.push(0); // Always include glyph 0. 1371 const SkGlyph& glyph = cache->getGlyphIDMetrics(gID); 1372 widthArray->appendScalar(SkFixedToScalar(glyph [all...] |
/external/webkit/Source/WebCore/rendering/mathml/ |
H A D | RenderMathMLOperator.cpp | 106 // We stack glyphs using a 14px height with a displayed glyph height 157 // The 'index' holds the stretchable character's glyph information 188 // font size to adjust the glyph size. 221 // We have a middle glyph (e.g. a curly bracket) that requires special processing. 224 // We only have enough space for a single middle glyph. 242 // The middle glyph in the stack. 245 // The remaining is the top half minus the middle glyph height. 251 // Extend to the bottom glyph. 262 // The bottom glyph in the stack. 266 // We do not have a middle glyph an 311 createGlyph(UChar glyph, int size, int charRelative, int topRelative) argument [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | inspector.css | 467 .glyph { 477 .glyph.shadow { 494 button.status-bar-item .glyph.shadow { 498 button.status-bar-item.toggled-on .glyph { 524 #dock-status-bar-item .glyph { 528 body.detached #dock-status-bar-item .glyph { 536 #console-status-bar-item .glyph { 540 .clear-status-bar-item .glyph { 2509 button.enable-toggle-status-bar-item .glyph { 2513 button.enable-toggle-status-bar-item.toggled-on .glyph { [all...] |
/external/freetype/src/autofit/ |
H A D | aflatin.c | 52 /* standard width and height for the glyph with given charcode. */ 81 if ( error || face->glyph->outline.n_points <= 0 ) 99 error = af_glyph_hints_reload( hints, &face->glyph->outline ); 198 FT_GlyphSlot glyph = face->glyph; local 238 if ( error || glyph->outline.n_points <= 0 ) 242 points = glyph->outline.points; 255 nn < glyph->outline.n_contours; 262 last = glyph->outline.contours[nn]; 266 /* which are way outside of the glyph' [all...] |
H A D | aflatin2.c | 84 if ( error || face->glyph->outline.n_points <= 0 ) 98 error = af_glyph_hints_reload( hints, &face->glyph->outline ); 194 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. */ 333 FT_CURVE_TAG( glyph [all...] |
/external/skia/src/core/ |
H A D | SkPaint.cpp | 426 const SkGlyph& glyph = cache->getUnicharMetrics(text); local 429 return glyph; 436 const SkGlyph& glyph = cache->getGlyphIDMetrics(glyphId); local 439 return glyph; 442 const void* SkPaint::findImage(const SkGlyph& glyph) { argument 447 const void* image = cache->findImage(glyph); 900 static SkFixed advance(const SkGlyph& glyph, int xyIndex) { 902 return (&glyph.fAdvanceX)[xyIndex]; 1489 // ignore it at the glyph outline generation stage if the font 2160 const SkGlyph& glyph [all...] |