-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different font size between "serve" and "pdf" commands #64
Comments
Wouldn't it be more an issue of font? Like depending on the build process it's using different alternatives of fonts (between CSS declared fonts, fonts available in container and fonts available on system in browser and in PDF) |
When checking the font actually used through the font info of the inspect tool of Firefox:
Result in evince: Rendering is coherent in PDF viewers. If I change the font declaration in sensei to use DejaVu Sans (Mono), or remove the declaration of |
All the screenshot look exactly the same to me :) |
The original issue is about the font size being different: the word "sound" on the first bullet point is on the first line in the web view, and on the second line in the pdf. Might also not be a font size issue but a slide size issue. |
@HarryPommier could you try reproducing the issue using the latest version of sensei? |
@hgwood If you look closely, the boldness of the title is different between web view and PDF. |
Right, sorry! |
When launching decktape with option |
Also I suspect some of the effects are from image sizing and placement, which can be subtly different in PDF than in browser. |
Useful reading abour PDF, fonts and reader interpretation: https://linuxfr.org/users/pied/journaux/pdf-mais-que-fait-la-police |
The font size is different between the slides generated with "sensei serve" and the slides generated with "sensei pdf"
This may cause layout errors.
With "serve":
With "pdf"
The text was updated successfully, but these errors were encountered: