Closed danykina closed 7 years ago
@danykina do you have some example?
The rendering of the font from template wrote in jade into PDF, with phantom-pdf not work correctly. Because i set the font "Century Gothic" and the font-weight: 200, (400 is normal and 700 is bold) but when i print them to paper are bold and the letters are join together, it is hard to read. Sorry for my english, thanks.
Unfortunately there is not much we can do with such errors because it usually originates deep down in the third party stack we use. In particularly qtwebkit.
Here are hints I would recommend to try:
body { transform-origin: 0 0; -webkit-transform-origin: 0 0; transform: scale(0.654545); -webkit-transform: scale(0.654545); }
phantom-PDF not correctly renders HTML to CSS, in particular font, margin and padding, is not a bootstrap problem (@media print) has already been verified