[paged.js] sometimes sentences get "eaten" #3

Open
opened 3 years ago by mb · 2 comments
mb commented 3 years ago
Owner
See: https://mattermost.pagedmedia.org/pagedmedia/pl/i5xzp966qpy3jbybjjpps1az3h
mb commented 3 years ago
Poster
Owner

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).
mb commented 3 years ago
Poster
Owner
More notes are collected here: https://pad.vvvvvvaria.org/paged.js-missing-sentences
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.