/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-ot-math.c | 189 hb_codepoint_t glyph; in test_get_glyph_italics_correction() local 193 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 194 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction() 198 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 199 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction() 203 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 204 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathItalicsCo… in test_get_glyph_italics_correction() 208 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 209 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // Glyph without… in test_get_glyph_italics_correction() 210 g_assert(hb_font_get_glyph_from_name (hb_font, "A", -1, &glyph)); in test_get_glyph_italics_correction() [all …]
|
/third_party/harfbuzz/test/api/ |
D | test-ot-math.c | 189 hb_codepoint_t glyph; in test_get_glyph_italics_correction() local 193 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 194 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction() 198 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 199 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction() 203 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 204 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathItalicsCo… in test_get_glyph_italics_correction() 208 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 209 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // Glyph without… in test_get_glyph_italics_correction() 210 g_assert(hb_font_get_glyph_from_name (hb_font, "A", -1, &glyph)); in test_get_glyph_italics_correction() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | test-ot-math.c | 189 hb_codepoint_t glyph; in test_get_glyph_italics_correction() local 193 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 194 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction() 198 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 199 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathGlyphInfo… in test_get_glyph_italics_correction() 203 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 204 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // MathItalicsCo… in test_get_glyph_italics_correction() 208 g_assert(hb_font_get_glyph_from_name (hb_font, "space", -1, &glyph)); in test_get_glyph_italics_correction() 209 …g_assert_cmpint(hb_ot_math_get_glyph_italics_correction (hb_font, glyph), ==, 0); // Glyph without… in test_get_glyph_italics_correction() 210 g_assert(hb_font_get_glyph_from_name (hb_font, "A", -1, &glyph)); in test_get_glyph_italics_correction() [all …]
|
/third_party/freetype/src/base/ |
D | ftglyph.c | 49 #define FT_COMPONENT glyph 64 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; in ft_bitmap_glyph_init() local 66 FT_Library library = FT_GLYPH( glyph )->library; in ft_bitmap_glyph_init() 75 glyph->left = slot->bitmap_left; in ft_bitmap_glyph_init() 76 glyph->top = slot->bitmap_top; in ft_bitmap_glyph_init() 81 glyph->bitmap = slot->bitmap; in ft_bitmap_glyph_init() 86 FT_Bitmap_Init( &glyph->bitmap ); in ft_bitmap_glyph_init() 87 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); in ft_bitmap_glyph_init() 114 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; in ft_bitmap_glyph_done() local 115 FT_Library library = FT_GLYPH( glyph )->library; in ft_bitmap_glyph_done() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/in-house/tests/ |
D | emoji-clusters.tests | 1 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;263A,FE0F;[1=0|1=0] 2 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;1F636,200D,1F32B,FE0F;[1=0… 3 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;1F636,200D,1F32B;[1=0|1=0|… 4 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;1F62E,200D,1F4A8;[1=0|1=0|… 5 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;1F635,200D,1F4AB;[1=0|1=0|… 6 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;2639,FE0F;[1=0|1=0] 7 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;2620,FE0F;[1=0|1=0] 8 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;2763,FE0F;[1=0|1=0] 9 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;2764,FE0F,200D,1F525;[1=0|… 10 ../fonts/AdobeBlank2.ttf;--no-glyph-names --no-positions --font-funcs=ot;2764,200D,1F525;[1=0|1=0|1… [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftglyph.c | 48 #define FT_COMPONENT glyph 63 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; in ft_bitmap_glyph_init() local 65 FT_Library library = FT_GLYPH( glyph )->library; in ft_bitmap_glyph_init() 74 glyph->left = slot->bitmap_left; in ft_bitmap_glyph_init() 75 glyph->top = slot->bitmap_top; in ft_bitmap_glyph_init() 80 glyph->bitmap = slot->bitmap; in ft_bitmap_glyph_init() 85 FT_Bitmap_Init( &glyph->bitmap ); in ft_bitmap_glyph_init() 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); in ft_bitmap_glyph_init() 113 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; in ft_bitmap_glyph_done() local 114 FT_Library library = FT_GLYPH( glyph )->library; in ft_bitmap_glyph_done() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftglyph.c | 47 #define FT_COMPONENT glyph 62 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; in ft_bitmap_glyph_init() local 64 FT_Library library = FT_GLYPH( glyph )->library; in ft_bitmap_glyph_init() 73 glyph->left = slot->bitmap_left; in ft_bitmap_glyph_init() 74 glyph->top = slot->bitmap_top; in ft_bitmap_glyph_init() 79 glyph->bitmap = slot->bitmap; in ft_bitmap_glyph_init() 84 FT_Bitmap_Init( &glyph->bitmap ); in ft_bitmap_glyph_init() 85 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); in ft_bitmap_glyph_init() 112 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; in ft_bitmap_glyph_done() local 113 FT_Library library = FT_GLYPH( glyph )->library; in ft_bitmap_glyph_done() [all …]
|
/third_party/freetype/src/pfr/ |
D | pfrgload.c | 40 pfr_glyph_init( PFR_Glyph glyph, in pfr_glyph_init() argument 43 FT_ZERO( glyph ); in pfr_glyph_init() 45 glyph->loader = loader; in pfr_glyph_init() 46 glyph->path_begun = 0; in pfr_glyph_init() 53 pfr_glyph_done( PFR_Glyph glyph ) in pfr_glyph_done() argument 55 FT_Memory memory = glyph->loader->memory; in pfr_glyph_done() 58 FT_FREE( glyph->x_control ); in pfr_glyph_done() 59 glyph->y_control = NULL; in pfr_glyph_done() 61 glyph->max_xy_control = 0; in pfr_glyph_done() 63 glyph->num_x_control = 0; in pfr_glyph_done() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/ |
D | pfrgload.c | 40 pfr_glyph_init( PFR_Glyph glyph, in pfr_glyph_init() argument 43 FT_ZERO( glyph ); in pfr_glyph_init() 45 glyph->loader = loader; in pfr_glyph_init() 46 glyph->path_begun = 0; in pfr_glyph_init() 53 pfr_glyph_done( PFR_Glyph glyph ) in pfr_glyph_done() argument 55 FT_Memory memory = glyph->loader->memory; in pfr_glyph_done() 58 FT_FREE( glyph->x_control ); in pfr_glyph_done() 59 glyph->y_control = NULL; in pfr_glyph_done() 61 glyph->max_xy_control = 0; in pfr_glyph_done() 63 glyph->num_x_control = 0; in pfr_glyph_done() [all …]
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
D | pfrgload.c | 40 pfr_glyph_init( PFR_Glyph glyph, in pfr_glyph_init() argument 43 FT_ZERO( glyph ); in pfr_glyph_init() 45 glyph->loader = loader; in pfr_glyph_init() 46 glyph->path_begun = 0; in pfr_glyph_init() 53 pfr_glyph_done( PFR_Glyph glyph ) in pfr_glyph_done() argument 55 FT_Memory memory = glyph->loader->memory; in pfr_glyph_done() 58 FT_FREE( glyph->x_control ); in pfr_glyph_done() 59 glyph->y_control = NULL; in pfr_glyph_done() 61 glyph->max_xy_control = 0; in pfr_glyph_done() 63 glyph->num_x_control = 0; in pfr_glyph_done() [all …]
|
/third_party/flutter/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 378 bool SkScalerContext_DW::generateAdvance(SkGlyph* glyph) { in generateAdvance() argument 379 glyph->fAdvanceX = 0; in generateAdvance() 380 glyph->fAdvanceY = 0; in generateAdvance() 382 uint16_t glyphId = glyph->getGlyphID(); in generateAdvance() 422 glyph->fAdvanceX = SkScalarToFloat(advance.fX); in generateAdvance() 423 glyph->fAdvanceY = SkScalarToFloat(advance.fY); in generateAdvance() 427 HRESULT SkScalerContext_DW::getBoundingBox(SkGlyph* glyph, in getBoundingBox() argument 433 fXform.dx = SkFixedToFloat(glyph->getSubXFixed()); in getBoundingBox() 434 fXform.dy = SkFixedToFloat(glyph->getSubYFixed()); in getBoundingBox() 438 UINT16 glyphId = glyph->getGlyphID(); in getBoundingBox() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkStrike.cpp | 42 SkGlyph* glyph = fAlloc.make<SkGlyph>(packedGlyphID); in makeGlyph() local 43 fGlyphMap.set(glyph); in makeGlyph() 44 return glyph; in makeGlyph() 47 SkGlyph* SkStrike::glyph(SkPackedGlyphID packedGlyphID) { in glyph() function in SkStrike 49 SkGlyph* glyph = fGlyphMap.findOrNull(packedGlyphID); in glyph() local 50 if (glyph == nullptr) { in glyph() 51 glyph = this->makeGlyph(packedGlyphID); in glyph() 52 fScalerContext->getMetrics(glyph); in glyph() 54 return glyph; in glyph() 57 SkGlyph* SkStrike::glyph(SkGlyphID glyphID) { in glyph() function in SkStrike [all …]
|
/third_party/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 426 bool SkScalerContext_DW::generateAdvance(SkGlyph* glyph) { in generateAdvance() argument 427 glyph->fAdvanceX = 0; in generateAdvance() 428 glyph->fAdvanceY = 0; in generateAdvance() 429 uint16_t glyphId = glyph->getGlyphID(); in generateAdvance() 477 glyph->fAdvanceX = SkScalarToFloat(advance.fX); in generateAdvance() 478 glyph->fAdvanceY = SkScalarToFloat(advance.fY); in generateAdvance() 482 HRESULT SkScalerContext_DW::getBoundingBox(SkGlyph* glyph, in getBoundingBox() argument 490 fXform.dx = SkFixedToFloat(glyph->getSubXFixed()); in getBoundingBox() 491 fXform.dy = SkFixedToFloat(glyph->getSubYFixed()); in getBoundingBox() 495 UINT16 glyphId = glyph->getGlyphID(); in getBoundingBox() [all …]
|
D | SkScalerContext_mac_ct.cpp | 154 const SkGlyph& glyph, CGGlyph glyphID, in getCG() argument 168 if (SkMask::kBW_Format != glyph.maskFormat()) { in getCG() 174 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.maskFormat()) { in getCG() 182 if (SkMask::kARGB32_Format == glyph.maskFormat()) { in getCG() 187 if (!fCG || fSize.fWidth < glyph.width() || fSize.fHeight < glyph.height()) { in getCG() 188 if (fSize.fWidth < glyph.width()) { in getCG() 189 fSize.fWidth = RoundSize(glyph.width()); in getCG() 191 if (fSize.fHeight < glyph.height()) { in getCG() 192 fSize.fHeight = RoundSize(glyph.height()); in getCG() 197 const CGImageAlphaInfo alpha = (glyph.isColor()) in getCG() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-font.hh | 212 hb_codepoint_t glyph; in has_glyph() local 213 return get_nominal_glyph (unicode, &glyph); in has_glyph() 217 hb_codepoint_t *glyph) in get_nominal_glyph() 219 *glyph = 0; in get_nominal_glyph() 221 unicode, glyph, in get_nominal_glyph() 238 hb_codepoint_t *glyph) in get_variation_glyph() 240 *glyph = 0; in get_variation_glyph() 242 unicode, variation_selector, glyph, in get_variation_glyph() 246 hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance() 249 glyph, in get_glyph_h_advance() [all …]
|
D | hb-ot-glyf-table.hh | 203 hb_bytes_t glyph) in _fix_component_gids() 206 if (OT::glyf::CompositeGlyphHeader::get_iterator (&glyph, in _fix_component_gids() 207 glyph.length, in _fix_component_gids() 222 _zero_instruction_length (hb_bytes_t glyph) in _zero_instruction_length() 224 const GlyphHeader &glyph_header = StructAtOffset<GlyphHeader> (&glyph, 0); in _zero_instruction_length() 228 …const HBUINT16 &instruction_length = StructAtOffset<HBUINT16> (&glyph, GlyphHeader::static_size + … in _zero_instruction_length() 232 static bool _remove_composite_instruction_flag (hb_bytes_t glyph) in _remove_composite_instruction_flag() 234 const GlyphHeader &glyph_header = StructAtOffset<GlyphHeader> (&glyph, 0); in _remove_composite_instruction_flag() 239 …if (unlikely (!OT::glyf::CompositeGlyphHeader::get_iterator (&glyph, glyph.length, &composite_it))… in _remove_composite_instruction_flag() 404 bool get_composite (hb_codepoint_t glyph, in get_composite() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-font.hh | 215 hb_codepoint_t glyph; in has_glyph() local 216 return get_nominal_glyph (unicode, &glyph); in has_glyph() 220 hb_codepoint_t *glyph) in get_nominal_glyph() 222 *glyph = 0; in get_nominal_glyph() 224 unicode, glyph, in get_nominal_glyph() 241 hb_codepoint_t *glyph) in get_variation_glyph() 243 *glyph = 0; in get_variation_glyph() 245 unicode, variation_selector, glyph, in get_variation_glyph() 249 hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance() 252 glyph, in get_glyph_h_advance() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-font.hh | 215 hb_codepoint_t glyph; in has_glyph() local 216 return get_nominal_glyph (unicode, &glyph); in has_glyph() 220 hb_codepoint_t *glyph, in get_nominal_glyph() 223 *glyph = not_found; in get_nominal_glyph() 225 unicode, glyph, in get_nominal_glyph() 242 hb_codepoint_t *glyph, in get_variation_glyph() 245 *glyph = not_found; in get_variation_glyph() 247 unicode, variation_selector, glyph, in get_variation_glyph() 251 hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance() 254 glyph, in get_glyph_h_advance() [all …]
|
/third_party/freetype/src/cff/ |
D | cffgload.c | 202 cff_slot_load( CFF_GlyphSlot glyph, in cff_slot_load() argument 210 TT_Face face = (TT_Face)glyph->root.face; in cff_slot_load() 244 glyph->x_scale = 0x10000L; in cff_slot_load() 245 glyph->y_scale = 0x10000L; in cff_slot_load() 248 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load() 249 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 277 &glyph->root.bitmap, in cff_slot_load() 287 glyph->root.outline.n_points = 0; in cff_slot_load() 288 glyph->root.outline.n_contours = 0; in cff_slot_load() 290 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load() [all …]
|
/third_party/flutter/skia/tools/fonts/ |
D | RandomScalerContext.cpp | 54 bool RandomScalerContext::generateAdvance(SkGlyph* glyph) { return fProxy->generateAdvance(glyph); } in generateAdvance() argument 56 void RandomScalerContext::generateMetrics(SkGlyph* glyph) { in generateMetrics() argument 59 switch (glyph->getGlyphID() % 4) { in generateMetrics() 60 case 0: glyph->fMaskFormat = SkMask::kLCD16_Format; break; in generateMetrics() 61 case 1: glyph->fMaskFormat = SkMask::kA8_Format; break; in generateMetrics() 62 case 2: glyph->fMaskFormat = SkMask::kARGB32_Format; break; in generateMetrics() 63 case 3: glyph->fMaskFormat = SkMask::kBW_Format; break; in generateMetrics() 66 fProxy->getMetrics(glyph); in generateMetrics() 68 if (fFakeIt || (glyph->getGlyphID() % 4) != 2) { in generateMetrics() 73 if (!fProxy->getPath(glyph->getPackedID(), &path)) { in generateMetrics() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | GlyfEncoder.java | 66 Glyph glyph = glyf.glyph(sourceOffset, length); in encode() local 67 writeGlyph(glyph); in encode() 71 private void writeGlyph(Glyph glyph) { in writeGlyph() argument 73 if (glyph == null || glyph.dataLength() == 0) { in writeGlyph() 75 } else if (glyph instanceof SimpleGlyph) { in writeGlyph() 76 writeSimpleGlyph((SimpleGlyph)glyph); in writeGlyph() 77 } else if (glyph instanceof CompositeGlyph) { in writeGlyph() 78 writeCompositeGlyph((CompositeGlyph)glyph); in writeGlyph() 85 private void writeInstructions(Glyph glyph) throws IOException{ in writeInstructions() argument 87 splitPush(glyph); in writeInstructions() [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | GlyfEncoder.java | 66 Glyph glyph = glyf.glyph(sourceOffset, length); in encode() local 67 writeGlyph(glyph); in encode() 71 private void writeGlyph(Glyph glyph) { in writeGlyph() argument 73 if (glyph == null || glyph.dataLength() == 0) { in writeGlyph() 75 } else if (glyph instanceof SimpleGlyph) { in writeGlyph() 76 writeSimpleGlyph((SimpleGlyph)glyph); in writeGlyph() 77 } else if (glyph instanceof CompositeGlyph) { in writeGlyph() 78 writeCompositeGlyph((CompositeGlyph)glyph); in writeGlyph() 85 private void writeInstructions(Glyph glyph) throws IOException{ in writeInstructions() argument 87 splitPush(glyph); in writeInstructions() [all …]
|
/third_party/skia/src/core/ |
D | SkScalerCache.cpp | 37 std::tuple<SkGlyph*, size_t> SkScalerCache::glyph(SkPackedGlyphID packedGlyphID) { in glyph() function in SkScalerCache 49 SkGlyph* glyph = fAlloc.make<SkGlyph>(fScalerContext->makeGlyph(packedGlyphID)); in digest() local 50 return {this->addGlyph(glyph), sizeof(SkGlyph)}; in digest() 53 SkGlyphDigest SkScalerCache::addGlyph(SkGlyph* glyph) { in addGlyph() argument 55 SkGlyphDigest digest = SkGlyphDigest{index, *glyph}; in addGlyph() 56 fDigestForPackedGlyphID.set(glyph->getPackedID(), digest); in addGlyph() 57 fGlyphForIndex.push_back(glyph); in addGlyph() 61 std::tuple<const SkPath*, size_t> SkScalerCache::preparePath(SkGlyph* glyph) { in preparePath() argument 63 if (glyph->setPath(&fAlloc, fScalerContext.get())) { in preparePath() 64 delta = glyph->path()->approximateBytesUsed(); in preparePath() [all …]
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
D | cffgload.c | 194 cff_slot_load( CFF_GlyphSlot glyph, in cff_slot_load() argument 202 TT_Face face = (TT_Face)glyph->root.face; in cff_slot_load() 236 glyph->x_scale = 0x10000L; in cff_slot_load() 237 glyph->y_scale = 0x10000L; in cff_slot_load() 240 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load() 241 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 269 &glyph->root.bitmap, in cff_slot_load() 279 glyph->root.outline.n_points = 0; in cff_slot_load() 280 glyph->root.outline.n_contours = 0; in cff_slot_load() 282 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/cff/ |
D | cffgload.c | 195 cff_slot_load( CFF_GlyphSlot glyph, in cff_slot_load() argument 203 TT_Face face = (TT_Face)glyph->root.face; in cff_slot_load() 237 glyph->x_scale = 0x10000L; in cff_slot_load() 238 glyph->y_scale = 0x10000L; in cff_slot_load() 241 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load() 242 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 270 &glyph->root.bitmap, in cff_slot_load() 280 glyph->root.outline.n_points = 0; in cff_slot_load() 281 glyph->root.outline.n_contours = 0; in cff_slot_load() 283 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load() [all …]
|