summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1dd95fc)
Instead of checking for "face->num_faces >1". (GNOME bug #577952)
/* parse the directory table directly, without using
* FreeType's built-in data structures
*/
/* parse the directory table directly, without using
* FreeType's built-in data structures
*/
+ FT_ULong offset = 0, sig;
- if ( face->num_faces > 1 )
+ if ( FILE_Seek( 0 ) || ACCESS_Frame( 4 ) )
+ goto Exit;
+
+ sig = GET_Tag4();
+
+ FORGET_Frame();
+
+ if ( sig == FT_MAKE_TAG( 't', 't', 'c', 'f' ) )
{
/* deal with TrueType collections */
{
/* deal with TrueType collections */