Make fromHTML capable of using customfonts
See original GitHub issueI have seen arabic/persian is supported now when using text
function directly
but is there any way to convert an HTML containing arabic/persian text rendering correctly?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11
Top Results From Across the Web
Make fromHTML capable of using customfonts #1741 - GitHub
I read in documentatiom that addhtml is deprecated and using html2pdf (which looks like uses html2canvas internally) is prefered
Read more >html - How to add some non-standard font to a website?
The way to go is using the @font-face CSS declaration which allows authors to specify online fonts to display ...
Read more >How to Add a Custom Fonts to Your Website (HTML and CSS)
In this video you will learn how to add custom fonts to your website or web app. This is not about Google or...
Read more >Web fonts - Learn web development - MDN Web Docs - Mozilla
In this article we will go further, exploring web fonts in detail. We'll see how to use custom fonts with your web page...
Read more >HTML to PDF conversion with custom fonts and multi-lingual ...
In this article we'll look at how to use the Plumsail Documents Convert HTML to PDF action with different fonts (including custom fonts)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Doesn’t
html2pdf
just create a large image of the HTML and wrap it inside a PDF-document? If yes, then it’s a poor substitute forfromHTML()
which renders the text as text (which importantly makes it selectable). If it’s just an image, you won’t be able to select the text in the document. For me, that’s a massive no-go. If I want to generate an image, I’ll do that. I don’t really see the point of generate an image in a PDF-container.If you modify fromhtml/addHtml, then yes.