SVG Images Not Rendering Fonts (Native PDF Publishing) | Community
Skip to main content
sschnelbach
Level 5
April 28, 2023
Question

SVG Images Not Rendering Fonts (Native PDF Publishing)

  • April 28, 2023
  • 6 replies
  • 3197 views

Does anyone have any idea why sometimes the fonts in SVG images render correctly in the PDF (Native PDF Publishing) and sometimes the fonts are replaced with Times New Roman? Sometimes both in the SAME IMAGE? (Fonts used are either Arial or Arial Narrow).

 

I have one image I just fixed the text and verified Arial Narrow was the only font being used. I saved the SVG with the glyphs embedded and generated a new PDF. Half the text is in Arial Narrow and half is in Times New Roman in the PDF.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

Adobe Employee
April 28, 2023

Are you on AEM cloud service?

sschnelbach
Level 5
April 28, 2023

On Prem installation

Adobe Employee
April 29, 2023

Is it possible to share the SVG file?

sschnelbach
Level 5
May 1, 2023

Sure. As I said, I've been experimenting with the "save as" SVG settings in Adobe Illustrator but haven't found a way to get the fonts to render correctly. When I embed the fonts into the SVG, the file previews from the Assets repository correctly, but the PDF engine doesn't render the font correctly. Sometimes it works and sometimes it does not.

Adobe Employee
May 1, 2023

In the Advanced tab of the PDF output preset you will find the option "Embed used fonts". Select that and generate PDF. See if this fixes the font issue.

Adobe Employee
May 1, 2023

That option has always been selected. This does not fix the issue.


Please share your sample SVG file. We will analyze what is happening.

sschnelbach
Level 5
May 1, 2023

Where is the option to upload a file that is not a graphics file? Your system is not allowing me to upload an SVG as a graphics/image file and I'm not seeing the option to upload a general file. Only code snippets, links, and graphics. And when I click "Additional options" below, nothing appears.

Adobe Employee
May 1, 2023

Can you share the context where you are trying to upload the file?

sschnelbach
Level 5
May 1, 2023

You asked that I share one of the SVG files. I was trying to upload the file here, in the chat, for you as you had requested. There doesn't seem to be an option, here, to upload a file that is not a PNG/JPG "photo".

sschnelbach
Level 5
May 1, 2023

(Tried "Additional options" in both Edge and Firefox. Nothing appears in either.)