* src/cff/cffobjs.c: replace 0x4F54544FL by TTAG_OTTO

This commit is contained in:
Suzuki, Toshiya (鈴木俊哉) 2008-09-18 04:36:56 +00:00
parent 4afcfd3056
commit 0c0db3eb48
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;