forked from minhngoc25a/freetype2
* src/cff/cffobjs.c: replace 0x4F54544FL by TTAG_OTTO
This commit is contained in:
parent
4afcfd3056
commit
0c0db3eb48
|
@ -1,3 +1,8 @@
|
|||
2008-09-18 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
* src/cff/cffobjs.c (cff_face_init): Use TTAG_OTTO defined
|
||||
in ttags.h instead of numerical value 0x4F54544FL.
|
||||
|
||||
2008-09-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cff/cffgload.h, src/cff/cffgload.c
|
||||
|
|
|
@ -437,7 +437,7 @@
|
|||
error = sfnt->init_face( stream, face, face_index, num_params, params );
|
||||
if ( !error )
|
||||
{
|
||||
if ( face->format_tag != 0x4F54544FL ) /* `OTTO'; OpenType/CFF font */
|
||||
if ( face->format_tag != TTAG_OTTO ) /* `OTTO'; OpenType/CFF font */
|
||||
{
|
||||
FT_TRACE2(( "[not a valid OpenType/CFF font]\n" ));
|
||||
goto Bad_Format;
|
||||
|
|
Loading…
Reference in New Issue