Node-html-pdf: Font showing different in windows & linux

Created on 7 Dec 2016  路  7Comments  路  Source: marcbachmann/node-html-pdf

Hi Team,

In windows, font showing good, but when I checked in linux then it showing big font.

Can any one help how can I fix it?

Most helpful comment

Hi All,

I have fixed this issue by add zoom attribute in css.

I just added & it is working fine in ubuntu

All 7 comments

has the same issue, Windows is good, but on Linux it was zoomed.

Hi All,

I have fixed this issue by add zoom attribute in css.

I just added & it is working fine in ubuntu

Thanks!!!! @santiagobasulto.
It worked. :)

on ubuntu I use html{zoom: 0.75;}
but would be cool if someone find the bug :-)
thx!

@crazyx13th how you wrote style for ubuntu only ?

ubuntu was on my "backend"-server, I think I had a variable or something like that. but at least I was using headless chrome for pdf at backend

Any updates? almost 4 years ago

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mortuie picture Mortuie  路  4Comments

rayax86 picture rayax86  路  5Comments

OussamaRomdhane picture OussamaRomdhane  路  4Comments

B-StS picture B-StS  路  5Comments

ascsi picture ascsi  路  3Comments