Skip to content
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

Accented characters in nodes appear larger #37

Open
aidhog opened this issue Mar 5, 2023 · 3 comments
Open

Accented characters in nodes appear larger #37

aidhog opened this issue Mar 5, 2023 · 3 comments
Labels
enhancement New feature or request about the HTLM project, not about the content of the book.

Comments

@aidhog
Copy link
Collaborator

aidhog commented Mar 5, 2023

Lower-case accented characters appear larger than they should in gnode spans. See the following example in Table 4.1:

image

There doesn't seem to be a good reason for this considering the source. Maybe a font or browser issue?

@aidhog aidhog added the enhancement New feature or request about the HTLM project, not about the content of the book. label Mar 5, 2023
@aidhog
Copy link
Collaborator Author

aidhog commented Mar 5, 2023

It indeed appears to be an issue with the cmss8 font. Changing it to something like inconsolata seems to solve the issue, but makes the difference between the HTML edges and imported TikZ images to be more obvious.

@aidhog
Copy link
Collaborator Author

aidhog commented Mar 5, 2023

Tried adding Latin Modern to replace Computer Modern, which addresses the issue, but visually looks too different. (To enable, replace cmss8 with lmss8 in css/style.css.)

image

@Antoine-Zimmermann
Copy link
Contributor

I tried many variants of lmss but can't find one that really looks good. With cmss8, the accents look weird, but all the rest is better than with lmss. So overall, I tend to prefer cmss8 still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request about the HTLM project, not about the content of the book.
Projects
None yet
Development

No branches or pull requests

2 participants