Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidFontFormatException #301

Closed
christopher5106 opened this issue Feb 23, 2021 · 1 comment
Closed

InvalidFontFormatException #301

christopher5106 opened this issue Feb 23, 2021 · 1 comment

Comments

@christopher5106
Copy link

christopher5106 commented Feb 23, 2021

In document https://drive.google.com/file/d/18R2jmJ4v9LcNEAV8oBTgOERXXGvC_FWO/view?usp=sharing
I get the following error:

UglyToad.PdfPig.Fonts.InvalidFontFormatException: The provided TrueType font dictionary did not have a /FirstChar and did not match a Standard 14 font: <BaseFont, /Arial-BoldMT,Bold>, <Encoding, /WinAnsiEncoding>, <FontDescriptor, 407 0>, <Name, /F7>, <Subtype, /TrueType>, <Type, /Font>.
   at UglyToad.PdfPig.PdfFonts.Parser.Handlers.TrueTypeFontHandler.Generate(DictionaryToken dictionary) in /mnt/c/Users/cbo/apps/document_structure_comprehension_dataset/PdfToJsonExporter/Libraries/PdfPig/src/UglyToad.PdfPig/PdfFonts/Parser/Handlers/TrueTypeFontHandler.cs:line 62
   at UglyToad.PdfPig.PdfFonts.FontFactory.Get(DictionaryToken dictionary)
@EliotJones
Copy link
Member

Closing this since I think it was fixed, let me know if you encounter any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants