-
-
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
Can the fontFilePath() take fontName as a parameter #408
Comments
Somewhat off topic: I am personally not convinced Or: perhaps Either way, something's not quite satisfying with these functions/methods as they stand. |
Retrieving info from the a font important and maybe it should be separated from a FormattedString and even from global callbacks I still like this proposal to collect all (calculated) info of a font in a font info like object see #257 maybe the filePath and variations settings could be bundled there as well |
Oh yeah, that definitely looks like a more complete solution! Or an independent library, simpler version of fontTools. We have a wrapper like that with a few common queries we tend to have on binary fonts. What is font.info? Maybe I am missing something basic. |
Ah thanks! My understanding is that fontParts is just for UFO (at least atm.) and I am dealing with compiled fonts in this particular case.
… On 21 Nov 2020, at 10:25, Gustavo Ferreira ***@***.***> wrote:
@MrBrezina font.info
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It would be convenient if one could call the
fontFilePath(fontName)
similarly tolistFontVariations()
. There are situations where I would like to know a path to an installed font, but I do not necessarily want to use it for drawing. Totally, low priority, of course. I can do this for now:The text was updated successfully, but these errors were encountered: