fontVariations() does not work correctly on Linux
justvanrossum opened this issue · comments
Just van Rossum commented
Possibly due to a bug in skia-python: kyamagu/skia-python/issues/112
Just van Rossum commented
Or due to me using the skia-python API wrong.
Just van Rossum commented
This test script does not give the expected result on Linux: https://github.com/justvanrossum/drawbot-skia/blob/master/tests/apitests/fontVariations.py
drawbot-skia/tests/apitests/fontVariations.py
Lines 1 to 15 in 2eace01
Just van Rossum commented
This appears to be fixed thanks to recent changes to the TextStyle object: I no longer use the skia API to get at the current VF location, and setting is apparently not a problem.