-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Bidirectional slant axis support for variable fonts #2400
Comments
I recently made a set of browser tests for https://arrowtype.github.io/vf-slnt-test/slnt-ital-tests/index.html Once browsers support these, I think Google Fonts won't have to really do anything special to also support it ... but it's still probably important for the team to keep this possible case in mind so they don't design something that can't work with positive and negative slnt values. |
I wonder how a bi-directional slant axis for different scripts would work in terms of nomimal 'Italic' named instances? We don't have a mechanism to differentiate left and right slant as a feature of italic for, respectively, Arabic and Latin in the same font. There's one slant axis, applying to both scripts, and only one concept of Italic as a style in applications. Now wondering if we should have defined slant in variable fonts not as absolute counter-clockwise or clockwise but as relative to text direction? So, e.g. a positive value would be right for Latin and left for Arabic. Of course, one could easily build a font that works in that way, but it wouldn't be conformant with the current slnt axis spec. |
@tiroj This gets at the meaningful difference between A family that slants different scripts differently should probably use the (Michal Sahar wrote a great blog post on Typotheque's site going into more detail on this) On the other hand, a multi-script family that changes slant in a geometrically similar way between different scripts should probably use the I wrote about this subject in more depth while taking notes for Recursive, where I am trying to use just One thing I have recently realized that is an advantage of the In general, I think that the majority of text-oriented fonts, where italics are mostly about secondary text hierarchy and less about special effects – should use the |
Maybe you can make text slant both this way / and that way \ but practically speaking in any setting where a RTL like Latin or Cyrillic and LTR like Hebrew or Arabic co-occur (and do remember the formerly-Soviet Turkic languages) the italic slope really does have to be the same for both types of script. If you are quoting, for instance, both Latin and Hebrew italics/obliques in a paragraph of Hebrew text and they don't slope the same way it looks terrible. In my Yiddish Alice I have the poems set in italic as Carroll does, sloping thisaway / not thataway \ and it works fine. I think because of the accident of faux-italics most readers of RTL scripts are used to it anyway. Having said that there was once a tradition of \ left-leaning italics in Latin script, for some sort of legal text — not just to grab attention. as suggested at https://en.wikipedia.org/wiki/Italic_type#Left-leaning_italics — maybe the legal use has been replaced by all caps now. |
@arrowtype Consider the possibility of a font that contains both ital and slnt axes, and in which the ital axis 1 setting produces a left leaning Arabic and a right leaning Latin. That still leaves open the question of how the slant axis might apply to each of those italics, and how the notion of slant should be interpreted. As currently spec'd movement on the slnt axis would make the Arabic italic less slanted and the Latin italic more slanted, or vice versa. And maybe that is the correct interpretation, but I can also imagine an interpretation in which an increase in the slnt axis value should mean increase the slant, regardless of direction. Of course, both interpretations may be valid, and could be accommodated with a second slant axis (probably best implemented as a meta axis that reverses the direction of the slnt axis). :) |
Caveat: you both probably know more than me about the things I'm about to say, but I'm also trying to be clear for others who may come along and read this later on. :) @Evertype my knowledge of multi-script graphic design is pretty lacking, so thanks for giving that perspective. How common would you say it is for a paragraph to actually mix RTL and LTR text inline? My vague notion was that multi-script documents more typically separate things by chunks like paragraphs or blocks of text. Are there any visual examples that you happen to know of that mix things inline? By Alice, you probably mean your Yiddish version of Alice in Wonderland, correct? It appears that it mostly uses Latin script rather than a mix of Hebrew and Latin, but are there pages that mix the two? @tiroj Plenty of people have interpreted the
I'm not trying to be dogmatic – I for one wish that the Of course, one could create a non-registered axis like |
Alongside Greta Text for Hebrew, FF Amman is an example of a Arabic typeface with a real Italic (as opposed to slanted uprights): the upright contains a Naskh script, the italic contains a Ruqʿah script (see one of the last illustrations on https://yanone.de/fonts/amman/: the same Arabic text in Naskh style and in Ruqʿah style). |
(Ooh, that's a fine Ruq'ah, @yanone .) |
@Gue3bara recently updated the upstream repository for the the typeface Cairo with a bidirectional slant axis. See the FontGoggles preview below.
The reasoning behind this was posted in the Cairo PR.
I know that Google Fonts is not able to serve
slnt
axis fonts yet, due to lack of browser support, but when more support for theslnt
axis is added I want to suggest that bidirectional support is included in that.The text was updated successfully, but these errors were encountered: