alvarcarto / url-to-pdf-api

Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
MIT License
7.01k stars 774 forks source link

All text being rendered as bold #129

Closed vanjoechua closed 4 years ago

vanjoechua commented 4 years ago

I installed this package in Heroku and its running nicely. However all my text is being rendered in "bold" while if I run the app in my local server (Windows 10) they are rendered correctly. Is there any parameter I can set to prevent this?

massimoliani commented 4 years ago

I'm just using it on a web app rendering html and is working fine. I only fork the project from the original one and install on heroku, as heroku want a git project to start.

--------------------------

dr. Massimo Liani

Goooled s.r.l. Vial Lacchin 36/D 33077 - Sacile - PN

tel:3884484284

Il giorno gio 28 mag 2020 alle ore 01:40 vanjoechua < notifications@github.com> ha scritto:

I installed this package in Heroku and its running nicely. However all my text is being rendered in "bold" while if I run the app in my local server (Windows 10) they are rendered correctly. Is there any parameter I can set to prevent this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alvarcarto/url-to-pdf-api/issues/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEC6WKGTS4CFGL56Z4QDZOTRTWQFZANCNFSM4NMS2RYQ .

vanjoechua commented 4 years ago

I also tested it by printing just a random web page. all text was printed with heavy typeset. Somebody can help?

vanjoechua commented 4 years ago

I solved this by loading the font using @font-face!

germanger commented 3 years ago

I solved this by loading the font using @font-face!

Can you add more detail to your solution please? @vanjoechua