8000 [VARC] Update to reinterpretation of RESET_UNSPECIFIED_AXES by behdad · Pull Request #3541 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[VARC] Update to reinterpretation of RESET_UNSPECIFIED_AXES #3541

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

Closed
wants to merge 1 commit into from

Conversation

behdad
Copy link
Member
@behdad behdad commented May 29, 2024

@behdad behdad requested a review from justvanrossum May 29, 2024 23:55
Copy link
Collaborator
@justvanrossum justvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I now remember better what "rawLocation" is about: it should perhaps be called "sparseLocation".

It is needed to preserve the information which axes are specified for addVarComponent(). Without the rawLocation mechanism, it is not possible to extract variable components correctly, you can only render them.

I will experiment a bit, but I think instead of this PR, all we need to do is to change the reset of rawLocation to self.originalLocation.copy(). The self.rawLocation = {} in the else is (I think) a crucial thing to keep. I'll get back about this later.

@behdad
Copy link
Member Author
behdad commented May 30, 2024

Okay let's continue in #3549

@behdad behdad closed this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0