-
Notifications
You must be signed in to change notification settings - Fork 621
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
Coordinate ptem with variable opsz
#1914
Comments
I agree we want some of those things. Not sure about specifics. Let this sit here for a while. :) I thought I opened an issue for it before. |
I am concerned about the case that in Blink it would be possible to override |
So I think How to control it, what takes priority over what, to be determined, and is entangled in other things, like named-instances and desire that their variations stick. Ie. #1883 So, we're moving to a place that a font's variations don't start to default coordinates, but they come from the named-instance, then overriden by |
So Blink can always override. |
This would be great to have. I'm looking at what to do for opsz in pango, and having harfbuzz just do the right thing would be by far the easiest. |
I agree. As a first step let's make pango call |
Thinking more about this I think I want to deprecate this API and make it simply return the currently-set value of the
these set/get one variation without disturbing others. The reasoning is that if we were to keep the ptem API, then we'd also need to add API for weight and width, and other standard axes when they are added. But by precedent we prefer enum-based APIs like our hb-style, hb-ot-metrics, etc. That API style also obviates the interaction questions raised. |
@jfkthame does this make sense to you? |
One issue with this is that, in the future (FontVars2.0) @jfkthame still would value your input. |
Seems like this is the root of a few bugs: |
Great that we now have #1484 as it will ease this, one thing I think worth to do eventually is to coordinate _set_ptem with
opsz
variation axis (and maybe deprecate _set_ptem eventually), I am not sure how that should be done, maybe simulating an axis variation whentrak
table exists? Setting the axis when _set_ptem is called? etc. Let me know what do you thinkThe text was updated successfully, but these errors were encountered: