-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Additional monospaced characters when using tabular figures #227
Comments
This is a neat idea. I sampled a bunch of other grotesks and I have not seen this anywhere else... I wonder if it might be better for users that desire fully monospaced text to use a monospace font instead..? Some day we can make a "Inter Mono”. Until then: Robot Mono, IBM Plex Mono and Inconsolata all pairs well with Inter and are good candidates for monospace text intermixed with Inter. Alternatively we could add the proposed changes into an OT feature other than tnum, like a stylistic set. Thoughts? |
I did the same thing and did some search across some other grotesques as
well and didn't find it as a common thing, which surprised me because it
throws all the numbers out of alignment if you are actually setting up
tabular numbers and use common punctuation in those numbers.
I do like the idea of a stylistic set, that way it doesn't become a default
for tnum that a designer is forced to use.
|
Just to chime in here, I think that it is fairly typical for sans-serifs to have |
@arrowtype took me a while but here we go: |
Looks nice! One possible downside to making the asterisk lowered like this: users may turn on |
This is actually a calt that is independent of tnum. I.e. there are four designs of asterisk: normal, normal-case-adjusted, tabular, tabular-case-adjusted. Maybe I should just move the case-adjusted asterisk into [edit] I've noticed other fonts adjusting asterisk with calt, for example SF Mono, screenshot of the Github comment composer: |
Please also add: punctuation space ( |
Hey @kenmcd, thanks for that comment – this is just what I need to solve an issue I had created by making my normal /space multiplexed with my (Previously, I had made a space.tnum, thinking that it could be used in tabular data in place of periods and commas for international presentations... but the big disadvantage is that in a case like numbered lists in Keynote, the basic workspace space gets messed up.) Also reassuring is that this character is available in the InDesign menus, so I can direct people to it in a simple way, if it comes up. Here’s a handy reference for @rsms and anyone else who might want it: ...which leads to this PDF: |
Ah, my bad. Well, if it only happens between numbers, that seems fine. |
/punctuationspace is already there, mapped to U+2008. But I think what you mean is to add a tnum variant with width matching that of /period.tf et al — good idea! Will do. |
The addition of the figure space really helped my team out recently, so thank you very much for that! I'm curious about more potential tabular figures: hexadecimal digits.
Any thoughts would be appreciated! |
Re hexadecimal digits: I don't think that would work easily, at least it wouldn't be practical as a tnum feature, since users generally enable In the scenario of displaying hexadecimal monospaced data (or data of any base greater than 10 that needs to line up on columns) I recommend using a monospace font instead of Inter. There are many good ones, like Recursive Mono and JetBrains Mono. I maintain a small sample comparison of Inter & Monospaced fonts here: |
I wasn't sure how people generally used font "features" as the concept is pretty new to me, but agreed, I can now see the hexadecimal digits doing more harm than good.
Bummer, but that works for us for now. Thanks for the PDF link, the figure space addition, and the great font! |
Akkurat has a feature like this, see and It is, however, not as extensive as in Inter v4.0. |
Given that the spacing of the asterisk is adjusted (as it is often used to indicate multiplication), shouldn’t the spacing of the forward slash/solidus (as it is frequently used to indicate division) also be adjusted to match the width of the plus sign, asterisk, etc.? |
Good question! Maaaaybe. But, I think that would be really wide for a slash. Often, it is closer to the proportions of the parentheses and braces. So, it would really stand out if it were made fully tabular, which could be a problem if someone set At a certain point, if you want monospaced glyphs for math, etc, it might just be worthwhile to use a monospaced font. I could definitely see the value in making it a consistent width across styles, though, sort of like tabular commas, etc. |
Yes, I am aware of this type of trade-off—and so is @rsms, see his reply at #647 (comment):
Under this premise, the figure-wide hyphen ( |
Description
When using tabular figures, if you have additional punctuation like periods, commas, or leading spaces, the glyphs are not equal to the width of the figures which throws off alignment in tables.
This may kind of be related to Issue #217 as this also occurs across weights, but I am not sure this is as important across all 9 weights of Inter since there would presumably be compromises to spacing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ideally all characters would be vertically aligned. I suspect this would be subbing in figure-width characters if part of a selection that has tnum enabled for.
Space, could be subbing in a figure space (U+2007). I am not sure of exact unicode characters for others. As an example, you can see the selection of figure-width punctuation that Hoefler includes in Decimal and also here.
Probably don't have the knowledge to attempt a PR, but would be open to attempt if still open in the future.
Screenshots
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: