You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,
I'm try to convert my variable, color font to COLRv1 format with ttx
As far my attempts were successful except variable gradients (PaintVarLinearGradient). Each use ends with empty, transparent layer in Chrome v.95.0.4638.54 ( PaintLinearGradient work good). I began to suspect that PaintVarLinearGradient and PaintVarSolid are not yet implemented in Chrome (btw. anyone can confirm this?)
to understand the idea of VarData I started with the simplest VarSolid with variable Alpha in ttx format:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi,
I'm try to convert my variable, color font to COLRv1 format with ttx
As far my attempts were successful except variable gradients (PaintVarLinearGradient). Each use ends with empty, transparent layer in Chrome v.95.0.4638.54 ( PaintLinearGradient work good). I began to suspect that PaintVarLinearGradient and PaintVarSolid are not yet implemented in Chrome (btw. anyone can confirm this?)
to understand the idea of VarData I started with the simplest VarSolid with variable Alpha in ttx format:
and I got error from ttx:
TypeError: ('integer argument expected, got float', 0, 'Item[]', 0, 'VarData[]', 'VarStore')
And here is my question - alpha value is float 0.0-1.0, how delta for alpha could be integer? or my understanding for VarData is bad?
Beta Was this translation helpful? Give feedback.
All reactions