forked from minhngoc25a/freetype2
* src/sfnt/sfwoff2.c: #undef macros.
This commit is contained in:
parent
e496cb2980
commit
e09fe4cc79
|
@ -1,3 +1,7 @@
|
||||||
|
2019-08-27 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
|
||||||
|
|
||||||
|
* src/sfnt/sfwoff2.c: #undef macros.
|
||||||
|
|
||||||
2019-08-27 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
|
2019-08-27 Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com>
|
||||||
|
|
||||||
[woff2] Read table and collection directory.
|
[woff2] Read table and collection directory.
|
||||||
|
|
|
@ -242,7 +242,7 @@
|
||||||
( woff2.privOffset >= woff2.length ) ||
|
( woff2.privOffset >= woff2.length ) ||
|
||||||
( woff2.length - woff2.privOffset < woff2.privLength ) )
|
( woff2.length - woff2.privOffset < woff2.privLength ) )
|
||||||
{
|
{
|
||||||
FT_ERROR(( "woff_font_open: invalid WOFF2 header\n" ));
|
FT_ERROR(( "woff2_font_open: invalid WOFF2 header\n" ));
|
||||||
return FT_THROW( Invalid_Table );
|
return FT_THROW( Invalid_Table );
|
||||||
}
|
}
|
||||||
/* DEBUG - Remove later. */
|
/* DEBUG - Remove later. */
|
||||||
|
@ -453,4 +453,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#undef READ_255USHORT
|
||||||
|
#undef READ_BASE128
|
||||||
|
#undef ROUND4
|
||||||
|
|
||||||
|
|
||||||
/* END */
|
/* END */
|
||||||
|
|
Loading…
Reference in New Issue