/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttdriver.c | 208 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in tt_get_kerning() local 214 if ( sfnt ) in tt_get_kerning() 215 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in tt_get_kerning() 313 SFNT_Service sfnt = (SFNT_Service)ttface->sfnt; in tt_size_select() local 317 error = sfnt->load_strike_metrics( ttface, in tt_size_select() 343 SFNT_Service sfnt = (SFNT_Service)ttface->sfnt; in tt_size_request() local 347 error = sfnt->set_sbit_strike( ttface, req, &strike_index ); in tt_size_request() 592 SFNT_Service sfnt; in FT_CALLBACK_DEF() local 609 sfnt = (SFNT_Service)( sfntd->clazz->module_interface ); in FT_CALLBACK_DEF() 610 if ( sfnt ) in FT_CALLBACK_DEF() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/ |
D | ttdriver.c | 209 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in tt_get_kerning() local 215 if ( sfnt ) in tt_get_kerning() 216 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in tt_get_kerning() 314 SFNT_Service sfnt = (SFNT_Service)ttface->sfnt; in tt_size_select() local 318 error = sfnt->load_strike_metrics( ttface, in tt_size_select() 344 SFNT_Service sfnt = (SFNT_Service)ttface->sfnt; in tt_size_request() local 348 error = sfnt->set_sbit_strike( ttface, req, &strike_index ); in tt_size_request() 583 SFNT_Service sfnt; in FT_CALLBACK_DEF() local 600 sfnt = (SFNT_Service)( sfntd->clazz->module_interface ); in FT_CALLBACK_DEF() 601 if ( sfnt ) in FT_CALLBACK_DEF() [all …]
|
/third_party/freetype/src/truetype/ |
D | ttdriver.c | 208 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in tt_get_kerning() local 214 if ( sfnt ) in tt_get_kerning() 215 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in tt_get_kerning() 313 SFNT_Service sfnt = (SFNT_Service)ttface->sfnt; in tt_size_select() local 317 error = sfnt->load_strike_metrics( ttface, in tt_size_select() 343 SFNT_Service sfnt = (SFNT_Service)ttface->sfnt; in tt_size_request() local 347 error = sfnt->set_sbit_strike( ttface, req, &strike_index ); in tt_size_request() 582 SFNT_Service sfnt; in FT_CALLBACK_DEF() local 599 sfnt = (SFNT_Service)( sfntd->clazz->module_interface ); in FT_CALLBACK_DEF() 600 if ( sfnt ) in FT_CALLBACK_DEF() [all …]
|
/third_party/freetype/src/sfnt/ |
D | sfobjs.c | 486 SFNT_Service sfnt; in sfnt_init_face() local 496 sfnt = (SFNT_Service)face->sfnt; in sfnt_init_face() 497 if ( !sfnt ) in sfnt_init_face() 499 sfnt = (SFNT_Service)FT_Get_Module_Interface( library, "sfnt" ); in sfnt_init_face() 500 if ( !sfnt ) in sfnt_init_face() 506 face->sfnt = sfnt; in sfnt_init_face() 507 face->goto_table = sfnt->goto_table; in sfnt_init_face() 571 error = sfnt->load_font_dir( face, stream ); in sfnt_init_face() 731 error = sfnt->load_ ## x( face, stream ); \ 748 error = sfnt->load_ ## x( face, stream, vertical ); \ [all …]
|
D | ttload.c | 175 check_table_dir( SFNT_Header sfnt, in check_table_dir() argument 182 FT_ULong offset = sfnt->offset + 12; in check_table_dir() 201 for ( nn = 0; nn < sfnt->num_tables; nn++ ) in check_table_dir() 211 nn, nn == 1 ? "" : "s", sfnt->num_tables )); in check_table_dir() 212 sfnt->num_tables = nn; in check_table_dir() 346 SFNT_HeaderRec sfnt; in tt_face_load_font_dir() local 369 sfnt.offset = FT_STREAM_POS(); in tt_face_load_font_dir() 371 if ( FT_READ_ULONG( sfnt.format_tag ) || in tt_face_load_font_dir() 372 FT_STREAM_READ_FIELDS( offset_table_fields, &sfnt ) ) in tt_face_load_font_dir() 377 if ( sfnt.search_range != 1 << ( sfnt.entry_selector + 4 ) || in tt_face_load_font_dir() [all …]
|
D | sfwoff.c | 105 FT_Byte* sfnt = NULL; in woff_open_font() local 163 if ( FT_ALLOC( sfnt, 12 + woff.num_tables * 16UL ) || in woff_open_font() 167 sfnt_header = sfnt; in woff_open_font() 329 if ( FT_REALLOC( sfnt, in woff_open_font() 334 sfnt_header = sfnt + 12; in woff_open_font() 357 ft_memcpy( sfnt + table->OrigOffset, in woff_open_font() 370 sfnt + table->OrigOffset, &output_len, in woff_open_font() 396 sfnt[sfnt_offset] = '\0'; in woff_open_font() 402 FT_Stream_OpenMemory( sfnt_stream, sfnt, woff.totalSfntSize ); in woff_open_font() 420 FT_FREE( sfnt ); in woff_open_font()
|
D | rules.mk | 18 SFNT_DIR := $(SRC_DIR)/sfnt 59 SFNT_DRV_OBJ_S := $(OBJ_DIR)/sfnt.$O 63 SFNT_DRV_SRC_S := $(SFNT_DIR)/sfnt.c
|
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/ |
D | sfobjs.c | 465 SFNT_Service sfnt; in sfnt_init_face() local 474 sfnt = (SFNT_Service)face->sfnt; in sfnt_init_face() 475 if ( !sfnt ) in sfnt_init_face() 477 sfnt = (SFNT_Service)FT_Get_Module_Interface( library, "sfnt" ); in sfnt_init_face() 478 if ( !sfnt ) in sfnt_init_face() 484 face->sfnt = sfnt; in sfnt_init_face() 485 face->goto_table = sfnt->goto_table; in sfnt_init_face() 546 error = sfnt->load_font_dir( face, stream ); in sfnt_init_face() 702 error = sfnt->load_ ## x( face, stream ); \ 719 error = sfnt->load_ ## x( face, stream, vertical ); \ [all …]
|
D | ttload.c | 176 check_table_dir( SFNT_Header sfnt, in check_table_dir() argument 183 FT_ULong offset = sfnt->offset + 12; in check_table_dir() 202 for ( nn = 0; nn < sfnt->num_tables; nn++ ) in check_table_dir() 212 nn, nn == 1 ? "" : "s", sfnt->num_tables )); in check_table_dir() 213 sfnt->num_tables = nn; in check_table_dir() 347 SFNT_HeaderRec sfnt; in tt_face_load_font_dir() local 370 sfnt.offset = FT_STREAM_POS(); in tt_face_load_font_dir() 372 if ( FT_READ_ULONG( sfnt.format_tag ) || in tt_face_load_font_dir() 373 FT_STREAM_READ_FIELDS( offset_table_fields, &sfnt ) ) in tt_face_load_font_dir() 378 if ( sfnt.search_range != 1 << ( sfnt.entry_selector + 4 ) || in tt_face_load_font_dir() [all …]
|
D | sfwoff.c | 106 FT_Byte* sfnt = NULL; in woff_open_font() local 164 if ( FT_ALLOC( sfnt, 12 + woff.num_tables * 16UL ) || in woff_open_font() 168 sfnt_header = sfnt; in woff_open_font() 330 if ( FT_REALLOC( sfnt, in woff_open_font() 335 sfnt_header = sfnt + 12; in woff_open_font() 358 ft_memcpy( sfnt + table->OrigOffset, in woff_open_font() 371 sfnt + table->OrigOffset, &output_len, in woff_open_font() 397 sfnt[sfnt_offset] = '\0'; in woff_open_font() 403 FT_Stream_OpenMemory( sfnt_stream, sfnt, woff.totalSfntSize ); in woff_open_font() 421 FT_FREE( sfnt ); in woff_open_font()
|
D | Jamfile | 1 # FreeType 2 src/sfnt Jamfile 12 SubDir FT2_TOP $(FT2_SRC_DIR) sfnt ; 36 _sources = sfnt ; 42 # end of src/sfnt Jamfile
|
D | rules.mk | 18 SFNT_DIR := $(SRC_DIR)/sfnt 57 SFNT_DRV_OBJ_S := $(OBJ_DIR)/sfnt.$O 61 SFNT_DRV_SRC_S := $(SFNT_DIR)/sfnt.c
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | sfobjs.c | 499 SFNT_Service sfnt; in sfnt_init_face() local 509 sfnt = (SFNT_Service)face->sfnt; in sfnt_init_face() 510 if ( !sfnt ) in sfnt_init_face() 512 sfnt = (SFNT_Service)FT_Get_Module_Interface( library, "sfnt" ); in sfnt_init_face() 513 if ( !sfnt ) in sfnt_init_face() 519 face->sfnt = sfnt; in sfnt_init_face() 520 face->goto_table = sfnt->goto_table; in sfnt_init_face() 584 error = sfnt->load_font_dir( face, stream ); in sfnt_init_face() 744 error = sfnt->load_ ## x( face, stream ); \ 761 error = sfnt->load_ ## x( face, stream, vertical ); \ [all …]
|
D | ttload.c | 175 check_table_dir( SFNT_Header sfnt, in check_table_dir() argument 182 FT_ULong offset = sfnt->offset + 12; in check_table_dir() 201 for ( nn = 0; nn < sfnt->num_tables; nn++ ) in check_table_dir() 211 nn, nn == 1 ? "" : "s", sfnt->num_tables )); in check_table_dir() 212 sfnt->num_tables = nn; in check_table_dir() 346 SFNT_HeaderRec sfnt; in tt_face_load_font_dir() local 369 sfnt.offset = FT_STREAM_POS(); in tt_face_load_font_dir() 371 if ( FT_READ_ULONG( sfnt.format_tag ) || in tt_face_load_font_dir() 372 FT_STREAM_READ_FIELDS( offset_table_fields, &sfnt ) ) in tt_face_load_font_dir() 377 if ( sfnt.search_range != 1 << ( sfnt.entry_selector + 4 ) || in tt_face_load_font_dir() [all …]
|
D | sfwoff.c | 108 FT_Byte* sfnt = NULL; in woff_open_font() local 166 if ( FT_QALLOC( sfnt, 12 + woff.num_tables * 16UL ) || in woff_open_font() 170 sfnt_header = sfnt; in woff_open_font() 332 if ( FT_REALLOC( sfnt, in woff_open_font() 337 sfnt_header = sfnt + 12; in woff_open_font() 360 ft_memcpy( sfnt + table->OrigOffset, in woff_open_font() 371 sfnt + table->OrigOffset, &output_len, in woff_open_font() 390 sfnt[sfnt_offset] = '\0'; in woff_open_font() 396 FT_Stream_OpenMemory( sfnt_stream, sfnt, woff.totalSfntSize ); in woff_open_font() 414 FT_FREE( sfnt ); in woff_open_font()
|
D | rules.mk | 18 SFNT_DIR := $(SRC_DIR)/sfnt 59 SFNT_DRV_OBJ_S := $(OBJ_DIR)/sfnt.$O 63 SFNT_DRV_SRC_S := $(SFNT_DIR)/sfnt.c
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
D | cffdrivr.c | 117 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_kerning() local 123 if ( sfnt ) in cff_get_kerning() 124 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in cff_get_kerning() 244 ( (SFNT_Service)ttface->sfnt )->get_metrics( ttface, in cff_get_advances() 275 ( (SFNT_Service)ttface->sfnt )->get_metrics( ttface, in cff_get_advances() 610 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_ps_name() local 616 if ( FT_IS_SFNT( FT_FACE( face ) ) && sfnt ) in cff_get_ps_name() 666 FT_Module sfnt = FT_Get_Module( library, "sfnt" ); in cff_get_cmap_info() local 668 (FT_Service_TTCMaps)ft_module_get_service( sfnt, in cff_get_cmap_info() 1093 FT_Module sfnt; in FT_CALLBACK_DEF() local [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/cff/ |
D | cffdrivr.c | 118 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_kerning() local 124 if ( sfnt ) in cff_get_kerning() 125 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in cff_get_kerning() 245 ( (SFNT_Service)ttface->sfnt )->get_metrics( ttface, in cff_get_advances() 276 ( (SFNT_Service)ttface->sfnt )->get_metrics( ttface, in cff_get_advances() 611 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_ps_name() local 617 if ( FT_IS_SFNT( FT_FACE( face ) ) && sfnt ) in cff_get_ps_name() 667 FT_Module sfnt = FT_Get_Module( library, "sfnt" ); in cff_get_cmap_info() local 669 (FT_Service_TTCMaps)ft_module_get_service( sfnt, in cff_get_cmap_info() 1094 FT_Module sfnt; in FT_CALLBACK_DEF() local [all …]
|
/third_party/freetype/src/cff/ |
D | cffdrivr.c | 117 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_kerning() local 123 if ( sfnt ) in cff_get_kerning() 124 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in cff_get_kerning() 244 ( (SFNT_Service)ttface->sfnt )->get_metrics( ttface, in cff_get_advances() 275 ( (SFNT_Service)ttface->sfnt )->get_metrics( ttface, in cff_get_advances() 610 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_ps_name() local 616 if ( FT_IS_SFNT( FT_FACE( face ) ) && sfnt ) in cff_get_ps_name() 666 FT_Module sfnt = FT_Get_Module( library, "sfnt" ); in cff_get_cmap_info() local 668 (FT_Service_TTCMaps)ft_module_get_service( sfnt, in cff_get_cmap_info() 1093 FT_Module sfnt; in FT_CALLBACK_DEF() local [all …]
|
/third_party/freetype/ |
D | ChangeLog | 26 [sfnt] Fix heap buffer overflow (#59308). 30 * src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier. 34 * src/sfnt/tt{colr,cpal}.c: Fix signedness warnings from VC++. 38 * src/sfnt/sfwoff2.c (Read255UShort): Tweak types to please VC++. 357 * src/sfnt/sfwoff2.c (woff2_open_font): Ditto. 364 * src/sfnt/sfwoff2.c (woff2_decompress): Fix compiler warning. 397 * src/sfnt/sfwoff2.c (ROUND4, WRITE_SHORT): Fix implicit sign 406 * src/sfnt/ttcmap.c: Undef `TTCMAPCITEM'. 407 * src/sfnt/ttcmap.h: Define `TTCMAPCITEM' and include `ttcmapc.h' to 456 src/sfnt/woff2tags.h: Include `compiler-macros.h'. [all …]
|
/third_party/freetype/src/base/ |
D | ftcolor.c | 61 SFNT_Service sfnt; in FT_Palette_Select() local 76 sfnt = (SFNT_Service)ttface->sfnt; in FT_Palette_Select() 78 error = sfnt->set_palette( ttface, palette_index ); in FT_Palette_Select()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftcolor.c | 61 SFNT_Service sfnt; in FT_Palette_Select() local 76 sfnt = (SFNT_Service)ttface->sfnt; in FT_Palette_Select() 78 error = sfnt->set_palette( ttface, palette_index ); in FT_Palette_Select()
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftcolor.c | 62 SFNT_Service sfnt; in FT_Palette_Select() local 77 sfnt = (SFNT_Service)ttface->sfnt; in FT_Palette_Select() 79 error = sfnt->set_palette( ttface, palette_index ); in FT_Palette_Select()
|
/third_party/flutter/skia/third_party/externals/freetype/ |
D | ChangeLog | 172 [sfnt] Separate WOFF sources and headers. 176 * include/freetype/internal/wofftypes.h, src/sfnt/sfwoff.c, 177 src/sfnt/sfwoff.h: New files. 184 * include/freetype/internal/sfnt.h: Include FT_INTERNAL_WOFF_TYPES_H. 188 * src/sfnt/rules.mk: Add `sfwoff.c'. 190 * src/sfnt/sfnt.c: Include `sfwoff.c'. 192 * src/sfnt/sfobjs.c: Include `sfwoff.h', move out WOFF sources. 374 * src/sfnt/ttmtx.c (tt_face_get_metrics): Fix limit test for 461 * src/sfnt/ttcmap.c (tt_cmap12_next): Remove dead code. 534 * src/sfnt/ttcmap.c (tt_get_glyph_name): Pacify compiler (#56061). [all …]
|
/third_party/skia/third_party/externals/freetype/docs/oldlogs/ |
D | ChangeLog.210 | 360 [sfnt] Support PaintScale in 'COLR' v1 parsing. 367 * src/sfnt/ttcolr.c (FT_PaintFormat_Internal): New enumeration. 372 [sfnt] Handle fonts without layer list in 'COLR' v1. 382 * src/sfnt/ttcolr.c (tt_face_load_colr): Handle case of layer list 422 [sfnt] Improve paint limit checks 432 * src/sfnt/ttcolr.c (Colr, tt_face_load_colr): Declare 525 [sfnt] s/PaintTransformed/PaintTransform/, s/transformed/transform/. 531 * src/sfnt/ttcolr.c (read_paint, tt_face_get_paint): Ditto. 662 [sfnt] Sanitize cmap4 table better. 666 * src/sfnt/ttcmap.c (tt_cmap4_validate): Handle a too-small value of [all …]
|