Searched refs:sfnt (Results 1 - 21 of 21) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
H A DWOFFFileFormat.cpp114 bool convertWOFFToSfnt(SharedBuffer* woff, Vector<char>& sfnt) argument
116 ASSERT_ARG(sfnt, sfnt.isEmpty());
165 // Write the sfnt offset subtable.
175 if (!writeUInt32(sfnt, flavor)
176 || !writeUInt16(sfnt, numTables)
177 || !writeUInt16(sfnt, searchRange)
178 || !writeUInt16(sfnt, entrySelector)
179 || !writeUInt16(sfnt, rangeShift))
182 if (sfnt
[all...]
H A DWOFFFileFormat.h40 // Returns false if the WOFF file woff is invalid or could not be converted to sfnt (for example,
41 // if conversion ran out of memory). Otherwise returns true and writes the sfnt payload into sfnt.
42 bool convertWOFFToSfnt(SharedBuffer* woff, Vector<char>& sfnt);
/external/freetype/include/freetype/internal/
H A Dftpic.h44 void* sfnt; member in struct:FT_PIC_Container_
H A Dinternal.h36 #define FT_INTERNAL_SFNT_H <freetype/internal/sfnt.h>
H A Dsfnt.h3 /* sfnt.h */
5 /* High-level `sfnt' driver interface (specification). */
147 /* sfnt :: The SFNT header. */
165 SFNT_Header sfnt );
181 /* sfnt :: The SFNT header. */
194 SFNT_Header sfnt );
644 /* free the basic tables that are required in a `sfnt' font file. */
H A Dtttypes.h1160 /* sfnt :: A pointer to the SFNT service. */
1298 void* sfnt; member in struct:TT_FaceRec_
/external/freetype/src/truetype/
H A Dttdriver.c112 SFNT_Service sfnt = (SFNT_Service)face->sfnt; local
118 if ( sfnt )
119 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph );
204 SFNT_Service sfnt = (SFNT_Service) ttface->sfnt; local
208 error = sfnt->load_strike_metrics( ttface, strike_index, metrics );
232 SFNT_Service sfnt = (SFNT_Service) ttface->sfnt; local
236 error = sfnt
408 SFNT_Service sfnt; local
[all...]
H A Dttobjs.c179 /* XXX: This function should be in the `sfnt' module. */
210 /* XXX: This function should be in the `sfnt' module. */
404 /* sfnt tables (`cvt', `fpgm', and `prep'). */
492 SFNT_Service sfnt; local
500 sfnt = (SFNT_Service)FT_Get_Module_Interface( library, "sfnt" );
501 if ( !sfnt )
503 FT_ERROR(( "tt_face_init: cannot access `sfnt' module\n" ));
513 error = sfnt->init_face( stream, face, face_index, num_params, params );
537 error = sfnt
656 SFNT_Service sfnt; local
[all...]
H A Dttgload.c76 ( (SFNT_Service)face->sfnt )->get_metrics( face, 0, idx, lsb, aw );
100 ( (SFNT_Service)face->sfnt )->get_metrics( face, 1, idx, tsb, ah );
1774 SFNT_Service sfnt; local
1781 sfnt = (SFNT_Service)face->sfnt;
1784 error = sfnt->load_sbit_image( face,
/external/freetype/src/sfnt/
H A Dsfntpic.c5 /* The FreeType position independent code services for sfnt module. */
78 if ( pic_container->sfnt )
80 sfntModulePIC* container = (sfntModulePIC*)pic_container->sfnt;
92 pic_container->sfnt = NULL;
110 pic_container->sfnt = container;
H A Dttload.c163 /* no table is defined in directory, it is not sfnt-wrapped */
170 check_table_dir( SFNT_Header sfnt, argument
176 FT_ULong offset = sfnt->offset + 12;
195 for ( nn = 0; nn < sfnt->num_tables; nn++ )
205 nn, nn == 1 ? "" : "s", sfnt->num_tables ));
206 sfnt->num_tables = nn;
266 sfnt->num_tables = valid_entries;
268 if ( sfnt->num_tables == 0 )
311 /* sfnt :: The SFNT header. */
323 SFNT_HeaderRec sfnt; local
[all...]
H A Dsfobjs.c445 SFNT_Service sfnt; local
453 sfnt = (SFNT_Service)face->sfnt;
454 if ( !sfnt )
456 sfnt = (SFNT_Service)FT_Get_Module_Interface( library, "sfnt" );
457 if ( !sfnt )
459 FT_ERROR(( "sfnt_init_face: cannot access `sfnt' module\n" ));
463 face->sfnt = sfnt;
553 SFNT_Service sfnt = (SFNT_Service)face->sfnt; local
1072 SFNT_Service sfnt; local
[all...]
H A Dsfntpic.h5 /* The FreeType position independent code services for sfnt module. */
68 #define GET_PIC(lib) ((sfntModulePIC*)((lib)->pic_container.sfnt))
/external/webkit/Source/WebCore/platform/graphics/freetype/
H A DFontCustomPlatformDataFreeType.cpp73 Vector<char> sfnt; local
74 if (!convertWOFFToSfnt(buffer, sfnt))
77 sfntBuffer = SharedBuffer::adoptVector(sfnt);
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DFontCustomPlatformData.cpp59 Vector<char> sfnt; local
60 if (!convertWOFFToSfnt(buffer, sfnt))
63 sfntBuffer = SharedBuffer::adoptVector(sfnt);
/external/freetype/
H A DAndroid.mk30 src/sfnt/sfnt.c \
/external/freetype/src/cff/
H A Dcffdrivr.c109 SFNT_Service sfnt = (SFNT_Service)face->sfnt; local
115 if ( sfnt )
116 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph );
399 * Otherwise call the service function in the sfnt module.
418 FT_Module sfnt = FT_Get_Module( library, "sfnt" ); local
420 (FT_Service_TTCMaps)ft_module_get_service( sfnt,
603 FT_Module sfnt; local
629 /* we pass our request to the `sfnt' modul
[all...]
H A Dcffobjs.c275 SFNT_Service sfnt = (SFNT_Service)cffface->sfnt; local
279 if ( sfnt->set_sbit_strike( cffface, req, &strike_index ) )
486 SFNT_Service sfnt; local
494 sfnt = (SFNT_Service)FT_Get_Module_Interface(
495 library, "sfnt" );
496 if ( !sfnt )
498 FT_ERROR(( "cff_face_init: cannot access `sfnt' module\n" ));
515 error = sfnt->init_face( stream, face, face_index, num_params, params );
547 error = sfnt
1033 SFNT_Service sfnt; local
[all...]
H A Dcffgload.c2635 SFNT_Service sfnt = (SFNT_Service)cff_face->sfnt; local
2640 sfnt->load_eblc &&
2646 error = sfnt->load_sbit_image( face,
2875 ( (SFNT_Service)face->sfnt )->get_metrics( face, 1,
/external/webkit/Source/WebCore/platform/graphics/opentype/
H A DOpenTypeUtilities.cpp212 const sfntHeader* sfnt = reinterpret_cast<const sfntHeader*>(data); local
214 if (dataLength < offsetof(sfntHeader, tables) + sfnt->numTables * sizeof(TableDirectoryEntry))
230 for (unsigned i = 0; i < sfnt->numTables; i++) {
231 unsigned tableOffset = sfnt->tables[i].offset;
232 unsigned tableLength = sfnt->tables[i].length;
237 unsigned tableTag = sfnt->tables[i].tag;
349 const sfntHeader* sfnt = reinterpret_cast<const sfntHeader*>(fontData->data()); local
352 for (t = 0; t < sfnt->numTables; ++t) {
353 if (sfnt->tables[t].tag == 'name')
356 if (t == sfnt
[all...]
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCustomPlatformData.cpp172 Vector<char> sfnt; local
173 if (!convertWOFFToSfnt(buffer, sfnt))
176 sfntBuffer = SharedBuffer::adoptVector(sfnt);

Completed in 1395 milliseconds