justvanrossum / drawbot-skia

A cross-platform subset of the DrawBot drawing API, using Skia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

listFontVariations missing

benkiel opened this issue · comments

Just ran into this, handy for knowing what the min/max values are of a axis

Question: do you usually use this function with the current font, or do you pass a font name (or font path) explicitly?

(I'm considering not implementing the latter, as I don't like that part of the API: this function also exists as a method of FormattedString, where an explicit font name makes no sense to me, and this rubs the wrong way in terms of symmetry.)

The "current font" behavior is implemented in 69d1b86

In this case, current font

Thank you for this!