From 7981fe2a0f9b79d384e98e8868bdeeaf9ec6b5f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Suzuki=2C=20Toshiya=20=28=E9=88=B4=E6=9C=A8=E4=BF=8A?= =?UTF-8?q?=E5=93=89=29?= Date: Fri, 29 Aug 2008 06:09:03 +0000 Subject: [PATCH] * src/sfnt/sfobjs.c (sfnt_open_font): Use TTAG_OTTO --- ChangeLog | 5 +++++ src/sfnt/sfobjs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 811bafe35..5a6c7a53e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-29 suzuki toshiya + + * src/sfnt/sfobjs.c (sfnt_open_font): Use TTAG_OTTO defined in + ttags.h instead of FT_MAKE_TAG( 'O', 'T', 'T', 'O' ). + 2008-08-28 Werner Lemberg * src/type1/t1load.c (parse_encoding): Protect against infinite diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index c25b87d8d..d3d8a0252 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -365,7 +365,7 @@ if ( tag != 0x00010000UL && tag != TTAG_ttcf && - tag != FT_MAKE_TAG( 'O', 'T', 'T', 'O' ) && + tag != TTAG_OTTO && tag != TTAG_true && tag != 0x00020000UL ) return SFNT_Err_Unknown_File_Format;