ref: 0c0db3eb48fd5753670fb0cd9ac603a9361f72cc
parent: 4afcfd3056b89e91007449e78b5fb429422e8193
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Thu Sep 18 00:36:56 EDT 2008
* src/cff/cffobjs.c: replace 0x4F54544FL by TTAG_OTTO
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-18 suzuki toshiya <[email protected]>
+
+ * src/cff/cffobjs.c (cff_face_init): Use TTAG_OTTO defined
+ in ttags.h instead of numerical value 0x4F54544FL.
+
2008-09-16 Werner Lemberg <[email protected]>
* src/cff/cffgload.h, src/cff/cffgload.c
--- a/src/cff/cffobjs.c
+++ b/src/cff/cffobjs.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;