cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FoDelement
Level 8

HTML to PDF Font Issue

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: HTML to PDF Font Issue

 

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:

164.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Super User
Super User

Re: HTML to PDF Font Issue

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!

Community Support Team
Community Support Team

Re: HTML to PDF Font Issue

 

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:

164.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

FoDelement
Level 8

Re: HTML to PDF Font Issue

Not sure what the cause was, but we went a different route. Thanks! 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 441 members 5,391 guests
Please welcome our newest community members: