Hello all,
I have a flow that creates a Name Badge in HTML format. That file is then converted to a PDF using the One Drive Convert to PDF action. The issue is, the font used in the HTML format is changed to something else, once it is converted to PDF.
I can open the HTML file in one drive and see the desired font. Once I open the PDF version, the font is set to something else.
Is there a way to prevent the font from changing?
The documented solution seems to work for standard fonts, however, my company uses Montserrat. My PDFs get changed to Times New Roman, so it looks like I'll have to settle for a font other than the company standard one.
Hi,
I know its been 2 years but do you remember what you ended up doing to bypass the font issue?
Not sure what the cause was, but we went a different route. Thanks!
Hi @FoDelement ,
Could you please provide HTML code for us to test?
I also tested on my side, using the HTML code below, the styles in the PDF file have not been changed.
<html> <body> <h1 style="font-family:verdana">A heading</h1> <p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p> </body> </html>
Image reference:
Best Regards,
Hey @FoDelement
Can you share a screenshot of the flow? This is odd. I have a flow where I get formatted HTML (there are a couple fonts too) and it works just fine.
Is there any other action that you are invoking in between? If you could share the flow and the format text, we might be able to better assist you.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2