From 2bf4922c4724a495315547a66629f91068fdf692 Mon Sep 17 00:00:00 2001 From: Eliot Jones Date: Sun, 29 Apr 2018 15:16:03 +0100 Subject: [PATCH] postscript table load for true type font now uses postscript header table --- src/UglyToad.PdfPig/Fonts/TrueType/Parser/TrueTypeFontParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UglyToad.PdfPig/Fonts/TrueType/Parser/TrueTypeFontParser.cs b/src/UglyToad.PdfPig/Fonts/TrueType/Parser/TrueTypeFontParser.cs index d9d8b255..1cd6c9ad 100644 --- a/src/UglyToad.PdfPig/Fonts/TrueType/Parser/TrueTypeFontParser.cs +++ b/src/UglyToad.PdfPig/Fonts/TrueType/Parser/TrueTypeFontParser.cs @@ -86,7 +86,7 @@ // post if (tables.TryGetValue(TrueTypeHeaderTable.Post, out var postscriptHeaderTable)) { - tableRegister.PostScriptTable = PostScriptTable.Load(data, table, tableRegister.MaximumProfileTable); + tableRegister.PostScriptTable = PostScriptTable.Load(data, postscriptHeaderTable, tableRegister.MaximumProfileTable); } if (!isPostScript)