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

Documentation code font isn't monospace for box characters #267

Closed
mhostetter opened this issue Feb 22, 2022 · 4 comments
Closed

Documentation code font isn't monospace for box characters #267

mhostetter opened this issue Feb 22, 2022 · 4 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@mhostetter
Copy link
Owner

I have tried many "allegedly" monospace fonts and none line up. Not sure if it's some CSS setting from https://github.com/jbms/sphinx-immaterial or the upstream https://github.com/squidfunk/mkdocs-material.

image

@mhostetter mhostetter added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Feb 22, 2022
@mhostetter
Copy link
Owner Author

See jbms/sphinx-immaterial#38 for the fix.

@mhostetter
Copy link
Owner Author

mhostetter commented Mar 2, 2022

I'm choosing to resolve this by reverting the use of box drawing characters. The beauty of Roboto Mono outweighs the beauty of a box with box drawing characters.

Now the arithmetic table displays like this:

image

@mhostetter
Copy link
Owner Author

Could be related to google/fonts#360.

@mhostetter
Copy link
Owner Author

Or related to this google/fonts#1832.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant