/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape.cc | 545 * is positioned hanging over the previous glyph. When 547 * hanging over the next glyph after the final reordering. 578 /* Change glyph origin to what GPOS expects, apply GPOS, change it back. */ 757 hb_codepoint_t glyph; local 758 if (font->get_glyph (u, 0, &glyph)) 759 glyphs->add (glyph); 763 if (m != u && font->get_glyph (m, 0, &glyph)) 764 glyphs->add (glyph);
|
/external/icu/icu4c/source/layout/ |
H A D | OpenTypeLayoutEngine.cpp | 546 LEGlyphID glyph = glyphStorage[g]; local 548 if (glyph == zwnj) { 549 glyphStorage[g] = LE_SET_GLYPH(glyph, 0xFFFF);
|
/external/pdfium/third_party/freetype/src/psaux/ |
H A D | psobjs.c | 1517 /* Initializes a given glyph builder. */ 1520 /* builder :: A pointer to the glyph builder to initialize. */ 1527 /* glyph :: The current glyph object. */ 1535 FT_GlyphSlot glyph, 1542 builder->glyph = glyph; 1545 if ( glyph ) 1547 FT_GlyphLoader loader = glyph->internal->loader; 1559 builder->hints_funcs = glyph 1532 t1_builder_init( T1_Builder builder, FT_Face face, FT_Size size, FT_GlyphSlot glyph, FT_Bool hinting ) argument 1590 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...] |
/external/skia/src/core/ |
H A D | SkGlyphCache.cpp | 131 // Initialize entries of fCharToGlyphHash to index the sentinel glyph and 226 SkGlyph* glyph; local 231 // this ID is based on the glyph index 234 glyph = &fGlyphArray[rec->fGlyphIndex]; 237 glyph = &fGlyphArray[rec->fGlyphIndex]; 238 if (type == kFull_MetricsType && glyph->isJustAdvance()) { 239 fScalerContext->getMetrics(glyph); 242 return glyph; 248 SkGlyph* glyph = &fGlyphArray[glyph_index]; local 250 if (glyph 282 SkGlyph* glyph = &gptr[glyph_index]; local 315 findImage(const SkGlyph& glyph) argument 335 findPath(const SkGlyph& glyph) argument 665 const SkGlyph* glyph = &fGlyphArray[i]; local [all...] |
H A D | SkScalerContext.cpp | 118 void SkScalerContext::getAdvance(SkGlyph* glyph) { argument 120 glyph->fMaskFormat = MASK_FORMAT_JUST_ADVANCE; 124 generateAdvance(glyph); 127 void SkScalerContext::getMetrics(SkGlyph* glyph) { argument 128 generateMetrics(glyph); 136 glyph->fLsbDelta = glyph->fRsbDelta = 0; 139 // if either dimension is empty, zap the image bounds of the glyph 140 if (0 == glyph->fWidth || 0 == glyph 471 const SkGlyph* glyph = &origGlyph; local 588 getPath(const SkGlyph& glyph, SkPath* path) argument 596 generateGlyphToChar(uint16_t glyph) argument 602 internalGetPath(const SkGlyph& glyph, SkPath* fillPath, SkPath* devPath, SkMatrix* fillToDevMatrix) argument [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 337 void SkScalerContext_FreeType_Base::generateGlyphImage(FT_Face face, const SkGlyph& glyph) { argument 341 switch ( face->glyph->format ) { 343 FT_Outline* outline = &face->glyph->outline; 349 dx = SkFixedToFDot6(glyph.getSubXFixed()); 350 dy = SkFixedToFDot6(glyph.getSubYFixed()); 366 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { 367 FT_Render_Glyph(face->glyph, doVert ? FT_RENDER_MODE_LCD_V : FT_RENDER_MODE_LCD); 369 glyph.toMask(&mask); 371 copyFT2LCD16<true>(face->glyph->bitmap, mask, doBGR, 374 copyFT2LCD16<false>(face->glyph [all...] |
H A D | SkScalerContext_win_dw.cpp | 211 // horizontal glyphs and the subpixel flag should not affect glyph shapes. 324 void SkScalerContext_DW::generateAdvance(SkGlyph* glyph) { argument 328 glyph->fRsbDelta = 0; 329 glyph->fLsbDelta = 0; 331 glyph->fAdvanceX = 0; 332 glyph->fAdvanceY = 0; 334 uint16_t glyphId = glyph->getGlyphID(); 347 "Could not get gdi compatible glyph metrics."); 371 glyph->fAdvanceX = SkScalarToFixed(vecs[0].fX); 372 glyph 375 getBoundingBox(SkGlyph* glyph, DWRITE_RENDERING_MODE renderingMode, DWRITE_TEXTURE_TYPE textureType, RECT* bbox) argument 425 glyph_check_and_set_bounds(SkGlyph* glyph, const RECT& bbox) argument 436 generateMetrics(SkGlyph* glyph) argument 539 bilevel_to_bw(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph) argument 578 rgb_to_a8(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, const uint8_t* table8) argument 595 rgb_to_lcd16(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument 619 drawDWMask(const SkGlyph& glyph, DWRITE_RENDERING_MODE renderingMode, DWRITE_TEXTURE_TYPE textureType) argument 681 generateImage(const SkGlyph& glyph) argument 724 generatePath(const SkGlyph& glyph, SkPath* path) argument [all...] |
/external/freetype/src/pshinter/ |
H A D | pshalgo.c | 440 PSH_Glyph glyph ) 458 if ( ( dimension == 0 && !glyph->do_horz_hints ) || 459 ( dimension == 1 && !glyph->do_vert_hints ) ) 471 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || 472 ( dimension == 1 && glyph->do_vert_snapping ); 517 psh_hint_align( parent, globals, dimension, glyph ); 537 if ( glyph->do_stem_adjust ) 668 PSH_Glyph glyph ) 686 if ( ( dimension == 0 && !glyph->do_horz_hints ) || 687 ( dimension == 1 && !glyph 1175 psh_glyph_load_points( PSH_Glyph glyph, FT_Int dimension ) argument 1209 psh_glyph_save_points( PSH_Glyph glyph, FT_Int dimension ) argument 1249 psh_glyph_init( PSH_Glyph glyph, FT_Outline* outline, PS_Hints ps_hints, PSH_Globals globals ) argument 1659 psh_glyph_find_strong_points( PSH_Glyph glyph, FT_Int dimension ) argument 1813 psh_glyph_interpolate_strong_points( PSH_Glyph glyph, FT_Int dimension ) argument 1864 psh_glyph_interpolate_normal_points( PSH_Glyph glyph, FT_Int dimension ) argument 2018 psh_glyph_interpolate_other_points( PSH_Glyph glyph, FT_Int dimension ) argument 2170 PSH_Glyph glyph = &glyphrec; local [all...] |
/external/freetype/src/truetype/ |
H A D | ttgload.c | 51 /* Composite glyph flags. */ 70 /* Return the horizontal metrics in font units for a given glyph. */ 87 /* Return the vertical metrics in font units for a given glyph. */ 192 /* overriding metrics for this glyph. */ 367 /* check that we can add the contours to the glyph */ 413 load->glyph->control_len = 0; 414 load->glyph->control_data = NULL; 449 load->glyph->control_len = n_ins; 450 load->glyph->control_data = load->exec->glyphIns; 749 /* Hint the glyph usin 1945 TT_GlyphSlot glyph = loader->glyph; local 2111 load_sbit_image( TT_Size size, TT_GlyphSlot glyph, FT_UInt glyph_index, FT_Int32 load_flags ) argument 2171 tt_loader_init( TT_Loader loader, TT_Size size, TT_GlyphSlot glyph, FT_Int32 load_flags, FT_Bool glyf_table_only ) argument [all...] |
H A D | ttinterp.h | 118 const FT_ULong glyph; member in struct:SPH_TweakRule_ 128 const FT_ULong glyph; member in struct:SPH_ScaleRule_ 191 FT_UInt glyphSize; /* glyph instructions buffer size */ 192 FT_Byte* glyphIns; /* glyph instructions buffer */ 228 FT_Bool is_composite; /* true if the glyph is composite */ 274 FT_Bool iup_called; /* IUP called for glyph? */ 333 /* Only the glyph loader and debugger should call this function. */ 334 /* (And right now only the glyph loader uses it.) */
|
/external/icu/icu4c/source/layoutex/ |
H A D | ParagraphLayout.cpp | 430 // Make big arrays for the glyph widths, glyph-to-char and char-to-glyph maps, 433 // For each layout get the positions and convert them into glyph widths, in 434 // logical order. Get the glyph-to-char mapping, offset by starting index in the 435 // character array. Swap the glyph width and glyph-to-char arrays into logical order. 436 // Finally, fill in the char-to-glyph mappings. 447 le_int32 glyph; local 480 for (glyph 674 le_int32 glyph = fCharToMinGlyphMap[fLineStart]; local [all...] |
/external/icu/icu4c/source/test/letest/ |
H A D | 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], glyph [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
H A D | fpdf_edit_doc.cpp | 1037 FX_DWORD glyph = pEncoding->GlyphFromCharCode(stem_chars[0]); local 1038 nStemV = pFont->GetGlyphWidth(glyph); 1040 glyph = pEncoding->GlyphFromCharCode(stem_chars[i]); 1041 int width = pFont->GetGlyphWidth(glyph);
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_text.cpp | 405 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[i]; local 406 if (glyph.m_pGlyph == NULL) { 409 m_pDevice->SetBitMask(&glyph.m_pGlyph->m_Bitmap, 410 glyph.m_OriginX + glyph.m_pGlyph->m_Left, 411 glyph.m_OriginY - glyph.m_pGlyph->m_Top, fill_argb); 492 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar]; local 493 if (glyph.m_pGlyph == NULL) { 496 bitmap.TransferBitmap((int)((glyph [all...] |
/external/pdfium/third_party/freetype/src/pshinter/ |
H A D | pshalgo.c | 442 PSH_Glyph glyph ) 460 if ( ( dimension == 0 && !glyph->do_horz_hints ) || 461 ( dimension == 1 && !glyph->do_vert_hints ) ) 473 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) || 474 ( dimension == 1 && glyph->do_vert_snapping ); 519 psh_hint_align( parent, globals, dimension, glyph ); 539 if ( glyph->do_stem_adjust ) 670 PSH_Glyph glyph ) 688 if ( ( dimension == 0 && !glyph->do_horz_hints ) || 689 ( dimension == 1 && !glyph 1184 psh_glyph_load_points( PSH_Glyph glyph, FT_Int dimension ) argument 1218 psh_glyph_save_points( PSH_Glyph glyph, FT_Int dimension ) argument 1258 psh_glyph_init( PSH_Glyph glyph, FT_Outline* outline, PS_Hints ps_hints, PSH_Globals globals ) argument 1668 psh_glyph_find_strong_points( PSH_Glyph glyph, FT_Int dimension ) argument 1826 psh_glyph_interpolate_strong_points( PSH_Glyph glyph, FT_Int dimension ) argument 1877 psh_glyph_interpolate_normal_points( PSH_Glyph glyph, FT_Int dimension ) argument 2031 psh_glyph_interpolate_other_points( PSH_Glyph glyph, FT_Int dimension ) argument 2183 PSH_Glyph glyph = &glyphrec; local [all...] |
/external/pdfium/third_party/freetype/src/truetype/ |
H A D | ttgload.c | 51 /* Composite glyph flags. */ 70 /* Return the horizontal metrics in font units for a given glyph. */ 87 /* Return the vertical metrics in font units for a given glyph. */ 188 /* overriding metrics for this glyph. */ 363 /* check that we can add the contours to the glyph */ 409 load->glyph->control_len = 0; 410 load->glyph->control_data = 0; 445 load->glyph->control_len = n_ins; 446 load->glyph->control_data = load->exec->glyphIns; 728 /* Hint the glyph usin 1857 TT_GlyphSlot glyph = loader->glyph; local 2023 load_sbit_image( TT_Size size, TT_GlyphSlot glyph, FT_UInt glyph_index, FT_Int32 load_flags ) argument 2083 tt_loader_init( TT_Loader loader, TT_Size size, TT_GlyphSlot glyph, FT_Int32 load_flags, FT_Bool glyf_table_only ) argument [all...] |
H A D | ttinterp.h | 130 const FT_ULong glyph; member in struct:SPH_TweakRule_ 140 const FT_ULong glyph; member in struct:SPH_ScaleRule_ 203 FT_UInt glyphSize; /* glyph instructions buffer size */ 204 FT_Byte* glyphIns; /* glyph instructions buffer */ 240 FT_Bool is_composite; /* true if the glyph is composite */ 282 FT_Bool iup_called; /* IUP called for glyph? */ 341 /* Only the glyph loader and debugger should call this function. */
|
/external/sfntly/cpp/src/sample/chromium/ |
H A D | subsetter_impl.cc | 170 // Sort and uniquify glyph ids. 172 glyph_id_remaining.insert(0); // Always include glyph id 0. 177 // Identify if any given glyph id maps to a composite glyph. If so, include 178 // the glyphs referenced by that composite glyph. 184 // Invalid glyph id, ignore. 190 // Empty glyph, ignore. 195 GlyphPtr glyph; local 196 glyph.Attach(glyph_table->GetGlyph(offset, length)); 197 if (glyph 254 GlyphPtr glyph; local [all...] |
/external/sfntly/cpp/src/sfntly/table/truetype/ |
H A D | glyph_table.cc | 187 "Loca values not set - unable to parse glyph data."); 214 GlyphPtr glyph; local 219 glyph = new SimpleGlyph(sliced_data); 221 glyph = new CompositeGlyph(sliced_data); 223 return glyph.Detach();
|
/external/freetype/include/ |
H A D | freetype.h | 269 /* A structure used to model the metrics of a single glyph. The */ 271 /* @FT_LOAD_NO_SCALE has been used while loading the glyph, values */ 276 /* The glyph's width. */ 279 /* The glyph's height. */ 295 /* mean further below the vertical glyph origin. */ 299 /* glyph has a positive advance downward. */ 303 /* dimensions of the hinted glyph (in case hinting is applicable). */ 305 /* Stroking a glyph with an outside border does not increase */ 451 /* module in charge of converting a glyph image to a bitmap, when */ 452 /* necessary. Each renderer supports a given glyph imag 1052 FT_GlyphSlot glyph; member in struct:FT_FaceRec_ [all...] |
/external/freetype/include/internal/ |
H A D | psaux.h | 521 /* A structure used during glyph loading to store its outline. */ 528 /* glyph :: The current glyph slot. */ 532 /* base :: The base glyph outline. */ 534 /* current :: The current glyph outline. */ 540 /* pos_x :: The horizontal translation (if composite glyph). */ 542 /* pos_y :: The vertical translation (if composite glyph). */ 558 /* the metrics of a given glyph, not load all of its */ 567 FT_GlyphSlot glyph; member in struct:T1_BuilderRec_ 606 /* calls during glyph loadin [all...] |
/external/freetype/src/autofit/ |
H A D | 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 [all...] |
/external/freetype/src/base/ |
H A D | ftstroke.c | 2305 FT_Glyph glyph = NULL; local 2316 glyph = *pglyph; 2317 if ( !glyph || glyph->clazz != FT_OUTLINE_GLYPH_CLASS_GET ) 2324 error = FT_Glyph_Copy( glyph, © ); 2328 glyph = copy; 2332 FT_OutlineGlyph oglyph = (FT_OutlineGlyph)glyph; 2343 FT_Outline_Done( glyph->library, outline ); 2345 error = FT_Outline_New( glyph->library, 2361 *pglyph = glyph; 2385 FT_Glyph glyph = NULL; local [all...] |
/external/freetype/src/cff/ |
H A D | cffgload.c | 238 /* Initializes a given glyph builder. */ 241 /* builder :: A pointer to the glyph builder to initialize. */ 248 /* glyph :: The current glyph object. */ 256 CFF_GlyphSlot glyph, 263 builder->glyph = glyph; 266 if ( glyph ) 268 FT_GlyphLoader loader = glyph->root.internal->loader; 285 builder->hints_funcs = glyph 253 cff_builder_init( CFF_Builder* builder, TT_Face face, CFF_Size size, CFF_GlyphSlot glyph, FT_Bool hinting ) argument 315 CFF_GlyphSlot glyph = builder->glyph; local 785 FT_GlyphSlot glyph = (FT_GlyphSlot)builder->glyph; local [all...] |