Home
last modified time | relevance | path

Searched refs:sfnt (Results 1 – 25 of 76) sorted by relevance

1234

/external/freetype/src/truetype/
Dttdriver.c208 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 …]
Dttobjs.c613 SFNT_Service sfnt; in tt_face_init() local
621 sfnt = (SFNT_Service)FT_Get_Module_Interface( library, "sfnt" ); in tt_face_init()
622 if ( !sfnt ) in tt_face_init()
635 error = sfnt->init_face( stream, face, face_index, num_params, params ); in tt_face_init()
665 error = sfnt->load_face( stream, face, face_index, num_params, params ); in tt_face_init()
773 SFNT_Service sfnt; in tt_face_done() local
781 sfnt = (SFNT_Service)face->sfnt; in tt_face_done()
787 if ( sfnt ) in tt_face_done()
788 sfnt->done_face( face ); in tt_face_done()
/external/freetype/src/sfnt/
Dsfobjs.c486 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 …]
Dttload.c175 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 …]
Dsfwoff.c105 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()
Drules.mk18 SFNT_DIR := $(SRC_DIR)/sfnt
59 SFNT_DRV_OBJ_S := $(OBJ_DIR)/sfnt.$O
63 SFNT_DRV_SRC_S := $(SFNT_DIR)/sfnt.c
Dsfwoff2.c76 write_buf( &sfnt, sfnt_size, &dest_offset, buf, s, memory )
79 write_buf( &sfnt, sfnt_size, &offset, buf, s, memory )
260 FT_Byte* sfnt = *sfnt_bytes; in pad4() local
277 *sfnt_bytes = sfnt; in pad4()
777 FT_Byte* sfnt = *sfnt_bytes; in store_loca() local
814 *sfnt_bytes = sfnt; in store_loca()
841 FT_Byte* sfnt = *sfnt_bytes; in reconstruct_glyf() local
1194 if ( pad4( &sfnt, sfnt_size, &dest_offset, memory ) ) in reconstruct_glyf()
1214 &sfnt, in reconstruct_glyf()
1228 *sfnt_bytes = sfnt; in reconstruct_glyf()
[all …]
/external/freetype/src/cff/
Dcffdrivr.c117 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 …]
Dcffobjs.c295 SFNT_Service sfnt = (SFNT_Service)cffface->sfnt; in cff_size_request() local
299 if ( sfnt->set_sbit_strike( cffface, req, &strike_index ) ) in cff_size_request()
507 SFNT_Service sfnt; in cff_face_init() local
518 sfnt = (SFNT_Service)FT_Get_Module_Interface( library, in cff_face_init()
520 if ( !sfnt ) in cff_face_init()
552 error = sfnt->init_face( stream, face, face_index, num_params, params ); in cff_face_init()
576 error = sfnt->load_face( stream, face, face_index, in cff_face_init()
584 error = sfnt->load_cmap( face, stream ); in cff_face_init()
1138 SFNT_Service sfnt; in cff_face_done() local
1145 sfnt = (SFNT_Service)face->sfnt; in cff_face_done()
[all …]
Dcffgload.c253 SFNT_Service sfnt = (SFNT_Service)cff_face->sfnt; in cff_slot_load() local
258 sfnt->load_eblc && in cff_slot_load()
264 error = sfnt->load_sbit_image( face, in cff_slot_load()
308 (void)( (SFNT_Service)face->sfnt )->get_metrics( face, 0, in cff_slot_load()
321 (void)( (SFNT_Service)face->sfnt )->get_metrics( face, 1, in cff_slot_load()
555 ( (SFNT_Service)face->sfnt )->get_metrics( face, 0, in cff_slot_load()
582 ( (SFNT_Service)face->sfnt )->get_metrics( face, 1, in cff_slot_load()
/external/freetype/
DChangeLog26 [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 …]
DChangeLog.22280 * src/sfnt/ttcmap.c: Remove compiler warnings (gcc-4.0.2).
328 * src/sfnt/ttkern.c (tt_face_get_kerning): Fix a serious bug that
426 * src/sfnt/ttcmap.c (tt_face_build_cmaps): Handle invalid offset
508 src/sfnt/sfobjs.c, src/sfnt/ttmtx.c, src/type1/t1afm.c,
658 * src/sfnt/ttbdf.c (tt_face_load_bdf_props): Rearrange code.
737 * src/sfnt/sfobjs.c (sfnt_done_face): Fix a memory leak.
739 * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_bit_aligned,
774 * src/sfnt/sfobjs.c (sfnt_load_face): Fix silly bug that prevented
778 * src/sfnt/ttmtx.c (tt_face_load_hmtx): Disable memory optimization
794 * include/freetype/internal/sfnt.h (SFNT_Interface): Move
[all …]
DChangeLog.2836 [sfnt] lowest gcc for vectors (e1d0249e) is changed to 4.7.
41 * src/sfnt/pngshim.c (premultiply_data): Fix cpp-macro to
69 [autofit, sfnt] Fix for `make multi'.
73 * src/sfnt/ttcmap.c: Include FT_SERVICE_POSTSCRIPT_CMAPS_H
86 * src/sfnt/ttkern.c (tt_face_load_kern): Reject format 2 tables.
101 LastResort.dfont has a marginal resource ID 0xFFFF for sfnt
112 [sfnt, truetype] Register the tags for marginal fonts.
116 OS X, Keyboard.dfont and LastResort.dfont, have the sfnt resources
127 * src/sfnt/sfobjs.c (sfnt_open_font): Accept the sfnt resource
176 [sfnt] Fix clang compilation (#51788).
[all …]
DChangeLog.27160 * src/sfnt/ttsbit.c (tt_face_load_sbit): Allow more version values.
176 * src/sfnt/sfobjs.c (sfnt_init_face): Fix tracing.
263 [truetype, sfnt] Introduce font variation flags to `TT_Face'.
271 * src/sfnt/sfobjs.c (sfnt_init_face, sfnt_load_face): Use
389 [sfnt] Handle `fvar' with zero axes as a non-MM font.
396 * src/sfnt/sfobjs.c (sfnt_init_face): Compute `use_fvar', also
411 * src/sfnt/sfobjs.c (sfnt_init_face): Updated.
432 [sfnt, truetype] Various sanitizing fixes.
434 * src/sfnt/sfobjs.c (sfnt_init_face): If the axis count in `fvar' is
451 * src/sfnt/sfobjs. (sfnt_open_font): Trace number of subfonts.
[all …]
DChangeLog.21134 * src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttsbit0.c --
191 * src/sfnt/sfobjs.c (sfnt_load_face): Remove `memory'.
315 * src/sfnt/ttcmap.c (tt_cmap4_set_range): Fix typo (FT_PEEK_SHORT ->
329 * src/sfnt/ttcmap.h (TT_CMap): Add member `unsorted'.
330 * src/sfnt/ttcmap.c: Use SFNT_Err_Ok where appropriate.
376 src/sfnt/sfobjs.c, src/truetype/ttgxvar.c: Remove compiler warnings.
417 * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Fix arguments
466 * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Fix compiler
469 * src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttsbit0.c.
471 * src/sfnt/ttsbit0.h: Dummy file for build with `make'.
[all …]
/external/freetype/src/base/
Dftcolor.c61 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()
/external/fonttools/Doc/source/ttLib/
Dsfnt.rst2 sfnt title
5 .. automodule:: fontTools.ttLib.sfnt
/external/freetype/builds/amiga/
Dmakefile.os4177 sfnt.ppc.o: FT:src/sfnt/sfnt.c
178 $(CC) -c $(CFLAGS) -o $@ /FT/src/sfnt/sfnt.c
291 libft2_ppc.a: $(BASE) $(AFIT) $(GXV) $(OTV) $(PS) $(RASTER) sfnt.ppc.o ftcache.ppc.o $(FONTD) …
292 …$(AR) r $@ $(BASE) $(AFIT) $(GXV) $(OTV) $(PS) $(RASTER) sfnt.ppc.o ftcache.ppc.o $(FONTD) gzip.pp…
Dmakefile174 sfnt.ppc.o: $(FTSRC)/sfnt/sfnt.c
287 libft2_ppc.a: $(BASEPPC) $(AFITPPC) $(GXVPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache…
288 …$(AR) $@ $(BASEPPC) $(AFITPPC) $(GXVPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o …
/external/freetype/builds/atari/
DFREETYPE.PRJ28 ..\..\src\sfnt\sfnt.c
/external/freetype/devel-teeui/
Drules.mk15 $(FREETYPE_ROOT)/src/sfnt/sfnt.c \
/external/freetype/builds/symbian/
Dfreetype.mmp98 sourcepath ..\..\src\sfnt
100 source sfnt.c
141 userinclude ..\..\src\sfnt
/external/freetype/builds/mac/
DFreeType.m68k_far.make.txt67 :src:sfnt:sfnt.c \xB6
111 "{ObjDir}sfnt.c.o" \xB6
188 "{ObjDir}sfnt.c.o" \xC4 :src:sfnt:sfnt.c
DFreeType.ppc_classic.make.txt68 :src:sfnt:sfnt.c \xB6
112 "{ObjDir}sfnt.c.x" \xB6
192 "{ObjDir}sfnt.c.x" \xC4 :src:sfnt:sfnt.c
DFreeType.m68k_cfm.make.txt68 :src:sfnt:sfnt.c \xB6
112 "{ObjDir}sfnt.c.o" \xB6
189 "{ObjDir}sfnt.c.o" \xC4 :src:sfnt:sfnt.c

1234