useblocks / sphinx-simplepdf

A simple PDF builder for Sphinx documentations
https://sphinx-simplepdf.readthedocs.io
MIT License
36 stars 15 forks source link

Title with incorrect whitespaces #14

Closed Sachin-Suresh closed 1 year ago

Sachin-Suresh commented 1 year ago

My conf.py has:

# -- Project information

project = 'Demo Versions'

This is the PDF version with the incorrect whitespace.

image

danwos commented 1 year ago

It looks good in our Demo PDF, when using the same project name. So I'm afraid this is font specific and based on the installed fonts.

image

Currently "Helvetica Neue" is used for the cover, if this is not available, "sans-serif" is set and the browser/os selects the font to go. I would guess that is the reason.

I'm on it to replace the configured proprietary fonts with some open-source fonts and deliver them with this package. This is already the case, except for the fonts used on the cover :/

danwos commented 1 year ago

See #23, which got already solved. Sphinx-SimplePDF is now using the "Work Sans" font for the title, which is also included in the package. So hopefully it looks now the same on all machines.

I close this issue but feel free to reopen it if needed.