-
Notifications
You must be signed in to change notification settings - Fork 481
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
Unicode ∀, ∃ etc. missing in with Roboto Mono in the PDF #803
Comments
Good catch.. Roboto really doesn't have very good Unicode coverage.. related to #618. Would welcome suggestions for what to replace it with though (that would also be freely available cross-platform). |
How about the Fira Code? It does support ∀ and ∃, and a bunch of other purely mathematical symbols and it is created specifically for a nice output of the source code. It also comes with interesting ligatures (e.g. converting -> into →) that I understand you might not like in a language manual, but perhaps there is a way to suppress them? Don't bother with Fira Mono, on which Fira Code is based, though. It does not include mathematical symbols. Another option is Everson Mono. It contains virtually every Unicode character. To make a more informed decision, you might want to take a look at the list of all the fonts on the |
I don't think Fira Code would be a good choice. While the ligatures are pretty neat, I quite strongly feel that they would confuse the average user who is not familiar with the ligature monospaced fonts. And I don't think there's a way to suppress that feature of the font. Everson Mono is proprietary unfortunately. Source Code Pro showed up on the fileformat.info page though. |
I'm not sure if it's a good way to check, but I tried pasting the characters Support all except the
Support all except |
If the result is not too jarring, one option might be to layer several monospace fonts to get better coverage of the different symbols? |
Actually, the ✓ doesn't need to be monospace, so we could also pick one without that. |
Scratch that -- I just realized that this issue was about the PDF docs, not the HTML front end. |
So, my current approach is to switch to the DejaVu fonts (#1066) -- the headings don't look as pretty as they could necessarily, but I would say that not having missing characters is more important. If someone wants to look into changing the build to XeTeX though, that might allow us to have more control over the fonts. |
I suggest changing the monospace font used by the PDF documentation, so the special Unicode strings displayed in e.g. Manual -> Strings -> Unicode and UTF-8.
The text was updated successfully, but these errors were encountered: