Hi there, my docx is using the Arial Black font, and when I load the document and save it as a PDF it uses a fallback font of Arial instead.
I’ve tried embedding the font in the docx file.
I’ve tried manually importing by putting the TTF file in a sub directory and pointing GemBox to it using the below technique.
FontSettings.FontsBaseDirectory = “…“
But it is still not finding the Arial Black font.
I noticed Arial Black lives inside the Arial font family , does that make a difference?
Is there a trick to get it to see Arial Black or is this a bug?
Thanks
Hi James,
I was unable to reproduce this, here are the input DOCX file I used and the resulting output PDF file I got:
https://www.gemboxsoftware.com/temp/forum-1591/arial-black-test.zip
Can you send us your DOCX and PDF files so we can take a look at them?
Also, what version of GemBox.Document are you using?
Can you try again using the latest version:
GemBox.Document is a .NET component that enables developers to read, write, convert and print document files (DOCX, DOC, ODT, PDF, HTML, XPS, RTF, TXT) from .NET applications in a simple and efficient way.
Regards,
Mario
Hi @mario.gembox just wondering if you had a chance to try my example DOCX file? Cheers
Hi James,
Yes, we reproduced the issue with your example DOCX file, and one of our developers is currently working on it.
In short, the problem occurs because the file has bolded “Arial Black” text. The “Arial Black” font doesn’t have bold glyphs. However, this bold formatting is actually ignored by Word. You may notice that removing boldness on “Arial Black” text does nothing in Microsoft Word.
Anyway, I’ll contact you again as soon as possible.
Regards,
Mario
Hi James,
Please try again with this NuGet package:
Install-Package GemBox.Document -Version 2025.10.106
Does this solve your issue?
Regards,
Mario
It does, thanks for the prompt replies and fix!