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
running mkdocs build on linux with --font-render-hinting=none:
running mkdocs serve, and viewing it on a browser:
while the windows and the 'fixed' linux pdf do still have kerning difference, looking at the woes of the people before us (https://www.google.com/search?q=bad+font+kerning+on+headless+chrome), this would be considered 'the bare minimum' to fix glaring inconsistent typography issues
Thank you for opening an issue and providing some valuable details.
I'll update the browser's arguments to include --font-render-hinting=none by default.
Furthermore, I will make it possible to pass arguments to the browser via the configuration.
as seen in puppeteer/puppeteer#2410
running
mkdocs serve
on windows:running
mkdocs build
on linux:running
mkdocs build
on linux with--font-render-hinting=none
:running
mkdocs serve
, and viewing it on a browser:while the windows and the 'fixed' linux pdf do still have kerning difference, looking at the woes of the people before us (https://www.google.com/search?q=bad+font+kerning+on+headless+chrome), this would be considered 'the bare minimum' to fix glaring inconsistent typography issues
the fix for this, as per the issue, would be to add
--font-render-hinting=none
to the args of chromium inmkdocs_exporter/formats/pdf/browser.py
:once again, thanks for the project :)
The text was updated successfully, but these errors were encountered: