-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Duplicate style names in Sketch & Keynote menus – not necessarily an issue in Recursive #316
Comments
@arrowtype started to look into this. One thing, the PS name of the instances didn't change to RecVF, but that's still not doing the trick. |
Thanks for adding that detail, @onyekaa! Sketch uses the built-in font handling of macOS, so it makes sense that Font Book would have the same issues as Sketch & Keynote. It will take more investigation to solve this, but for now, the main workaround I'm using is to use static fonts for most desktop design, but the variable font on the web (or if I'm specifically trying to design with a variable font). I wish it were better, but the fact that it works better on Windows suggests that it will get better over time on macOS! |
This will be fixed in macOS 11. |
For what it's worth, can confirm it works fine on Big Sur now. |
Thank you! That's good to get the confirmation. Yeah, I'm this case, it would cause more problems than it would solve to fix it for Catalina. |
Problem description
#315 seems to improve style naming on macOS, overall, but there are still some significant issues. However, it is unclear how much of this can actually be solved within Recursive, and how much is dependent on macOS & software.
In TextEdit, style names work (mostly) as I want them to, without duplicates:
However, this style list is notably missing "Italic" styles, and it suffers from being interpreted as an Italic-by-default font (due to the macOS issue #153).
In Keynote, the style menu is full of repeats:
The style menu is similarly confusing in Sketch:
If the family name is changed to
RecVF
in light of #153, TextEdit no longer defaults to Italics, but now, thei
italic button is no longer possible to use:In Sketch & Keynote, the style menus are still repetative:
Notably, most of the styles labeled as
Sans Linear Light
are actually italic versions of styles that are correctly identified. Maaaybe this is an issue with theSTAT
table? However, all style names and postscript names are clearly defined in thefvar
table, so it seems likely that it is a CoreText issue.Expected behavior
I expect font style menus to have exactly 64 instances, with zero repeated names.
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: