julien: hyphen or not, the text will not be exactly the same on the screen and on the paper @m---b
julien: so pagedjs shows on screen mm that have been transformed into px (to be shown on screen) and set the hyphens. When that is done and you hit print, it redoes the same thing for print.
mm → px → pt (damn printers).
so when it tries to put the lines of text, the hyphens is not exactly at the same place, and since widow and orphan are 2 by defaults, it move 2 lines on the right of the page (which is never printed).
> julien: hyphen or not, the text will not be exactly the same on the screen and on the paper @m---b
> julien: so pagedjs shows on screen mm that have been transformed into px (to be shown on screen) and set the hyphens. When that is done and you hit print, it redoes the same thing for print.
>
> mm → px → pt (damn printers).
>
> so when it tries to put the lines of text, the hyphens is not exactly at the same place, and since widow and orphan are 2 by defaults, it move 2 lines on the right of the page (which is never printed).
See: https://mattermost.pagedmedia.org/pagedmedia/pl/i5xzp966qpy3jbybjjpps1az3h
More notes are collected here: https://pad.vvvvvvaria.org/paged.js-missing-sentences