Content dissapearing for unknown reasons #25
Closed
opened 12 months ago by decentral1se
·
12 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Veryyy mysteriously, lines and whole paragraphs get eaten by some part of the generation process. Everything looks perfect until the moment have you have downloaded the print pdf and then you notice content is chopped off. I guess this must have happened to you @simoon @mb?
One example I have which is not great is that a URL is just... not there 🙃
It appears to be only happening on page breaks. And only in Google Chrome. I have tried removing / adding alot of stuff but can't quite seem to track it down. It's happening sometimes but also it's hard to track down.
It's kinda more of just an anxiety bug because I don't know if my sentences are gone are not and I easily miss them on a close read. Plus you have to generate it first and then perhaps even print it to get a good look.
Any work-arounds? Any fixes?
Thoughts welcome! Nonetheless enjoying octomode / may 1rst energy 🖤
I'm working from https://octomode.vvvvvvaria.org/anarcho-krant-mvp-issue-1/pad/
Thanks!
https://github.com/pagedjs/pagedjs/issues/130 seems related.
And perhaps another https://github.com/pagedjs/pagedjs/issues/87
Getting weirder! 😆
Dare we update paged.js? https://github.com/pagedjs/pagedjs/issues/87#issuecomment-1476958035 https://unpkg.com/browse/pagedjs@0.5.0-beta.0/dist/ 😱
Oh..... yes. This is a haunting bug that also appeared when I was making the Volumetric Regimes book.
Here some traces from the conversations around this with the Paged.js developers, full of moments of panick and relieve lol:
And I heard that also OSP and others have bumped into it.
Curious to hear what the current status is of this bug, to understand if updating Paged.js would help. Let me ask on the Paged.js Mattermost!
Done.
https://mattermost.coko.foundation/
And the recommendation is to work with pixels:
Thank you @mb! It might be time for me to join the Mattermost as well 😃
Sooo, I tried a bunch of work-arounds but nothing much worked for me, sadly.
I will look into other workflows for now and i hope to see a fix come in at some point.
There are some other reports here too:
This bug is aging well 😄
There was a recommendation to use this diff and then add the following to the stylesheet:
However, I ran this locally and it didn't work. I'm not sure where to load the
fixMissingLine
since we have theiframe
machinery in octomode... does anyone have any ideas? Most likely I didn't get it loaded correctly?I also took a look at swapping in a newer version of https://unpkg.com/browse/pagedjs@0.5.0-beta.0/dist/ but I wasn't sure which I should us? My attempts just resulted in the page having 0 pagedjs styles on pdf generation 🤔
Solution: use
<br>
and fuck it.It was the font! Can't remember now all the details but specific fonts cause the text to dissapear. Once we switched to another font, it was resolved. So, watch out with fonts 😆