-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Serving NSFont
to font
#515
Comments
I can't read the discord thread. What is the use case for using system fonts? |
For this particular case, I was trying to annotate the glyph cell background in the font overview with a system font. |
When you say "the font overview", do you mean "RoboFont's font overview"? If so, how does that use DrawBot? |
|
But isn't that implementation separate from DrawBot? I see how it's useful there, but not immediately in DrawBot-proper. |
CoreText does not allow font names starting with a DrawBot already supports NSImage object in An other option would be to have a small wrapper for system fonts. |
I understand that. Why do we need to be able to use them in DrawBot? |
Because its strange Apple does not allow systemFonts |
That is not an answer to my question, though... I'm not necessarily opposed to accepting NSFont (and or CGFont then?) in all font-releated drawbot calls, but so far the only answer I got for "why do we need this in DrawBot" is a use case for a drawbot-like API which isn't DrawBot. |
It might be a good addition to be able to serve a
NSFont
to all thefont
methods.Especially since system fonts are not usable anymore through their name.
Started as conversation in the RoboFont discord server: https://discord.com/channels/1052516637489766411/1055056206735101993/1079691208550527007
cc @typemytype
The text was updated successfully, but these errors were encountered: