summaryrefslogtreecommitdiff
path: root/src/sfnt/ttpost.c
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2017-08-08 21:42:37 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2017-08-08 21:42:37 -0400
commita9d8e90cafbe0ecc55424162e109abf12d6c08b7 (patch)
treead37dbf9d3a8d9fcf98cb5f89567e6da82b96852 /src/sfnt/ttpost.c
parent986a21b73a775f47ba9518ef38e57bf4e6c9167a (diff)
downloadfreetype2-a9d8e90cafbe0ecc55424162e109abf12d6c08b7.tar.gz
* src/sftnt/ttpost.c (format): Use otspec-compliant versions.
Diffstat (limited to 'src/sfnt/ttpost.c')
-rw-r--r--src/sfnt/ttpost.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c
index a47ece0ec..69929c8d4 100644
--- a/src/sfnt/ttpost.c
+++ b/src/sfnt/ttpost.c
@@ -407,7 +407,7 @@
/* now read postscript table */
if ( format == 0x00020000L )
error = load_format_20( face, stream, post_limit );
- else if ( format == 0x00028000L )
+ else if ( format == 0x00025000L )
error = load_format_25( face, stream, post_limit );
else
error = FT_THROW( Invalid_File_Format );
@@ -446,7 +446,7 @@
FT_FREE( table->glyph_names );
table->num_names = 0;
}
- else if ( format == 0x00028000L )
+ else if ( format == 0x00025000L )
{
TT_Post_25 table = &names->names.format_25;
@@ -542,7 +542,7 @@
*PSname = (FT_String*)table->glyph_names[name_index - 258];
}
}
- else if ( format == 0x00028000L )
+ else if ( format == 0x00025000L )
{
TT_Post_25 table = &names->names.format_25;