You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two respective documents are attached, on 53.3 I get unexpected horizontal whitespaces, on 52.5 it works fine. However, the behaviour is pretty random:
if i render only one page in the snippet above, everything is fine
I have experienced exactly the same. I have narrowed it down through trial and error. The last page (or pages in the last render added to the document) always works correctly but every previous pages has unexplained padding or margin between some characters. If I delete the last page from the document before doing write_pdf, the new last page now gets the correct layout and the others before still don't.
If the last item added to the document is multiple pages itself, all of its pages render correctly. For example, if one of the render objects has 10 pages and it is at the end of the combined document, those 10 pages will all work. If I put another single page at the end then all of the pages now don't work.
I am also having problems rendering any italic styles.
So something is wrong with write_pdf and fonts. I noticed there were font changes in the last beta, so the reason will be in there somewhere. I'm not smart enough to work it out myself, but I've narrowed it down for others.
This problem is caused by the way we handle fonts. Everything works well when the pages come from the same document, but it’s broken when they’re built separately.
Using the font hash avoids collisions when we have the same font description
but not the same hash, for example when the same font is used in multiple HTML
instances.
It could be possible to only store the font once, this solution is not optimal
but this more reliable.
Fix#1489.
Hi,
(this is a separate issue for the comment (#628 (comment)) given in #628).
On Version 53.3 I get unexpected horizontal whitespaces using the following code, which I cannot reproduce on 52.5:
The two respective documents are attached, on 53.3 I get unexpected horizontal whitespaces, on 52.5 it works fine. However, the behaviour is pretty random:
out-52_5.pdf
out-53_3.pdf
System:
If you would like to investigate and need further information please let me know.
Best
Wolfgang
Template used in snippet:
The text was updated successfully, but these errors were encountered: