Skip to content
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

hints: target="up" or "down" #613

Merged
merged 4 commits into from
Feb 25, 2021
Merged

Conversation

moyogo
Copy link
Collaborator

@moyogo moyogo commented May 29, 2020

See Hints: handle up and down targets #376

@moyogo
Copy link
Collaborator Author

moyogo commented May 29, 2020

@madig do we need to check target="down" or target="up" only occurs with type="TopGhost" or "BottomGhost" respectively?

@moyogo moyogo force-pushed the hints-target-up-down branch from 7e8a337 to c91b124 Compare May 29, 2020 05:59
@madig
Copy link
Collaborator

madig commented May 29, 2020

No idea. @schriftgestalt ?

@schriftgestalt
Copy link
Collaborator

target="down" or target="up" only occurs with type="TopGhost" or "BottomGhost"

This is true. Is this answering the question?

@moyogo moyogo force-pushed the hints-target-up-down branch from c91b124 to af15d6a Compare May 29, 2020 10:52
@moyogo
Copy link
Collaborator Author

moyogo commented May 29, 2020

target="down" or target="up" only occurs with type="TopGhost" or "BottomGhost"

This is true. Is this answering the question?

Yes, thanks! I guess glyphsLib doesn’t need to validate.

@moyogo moyogo force-pushed the hints-target-up-down branch 2 times, most recently from b611620 to cc5d43a Compare May 29, 2020 21:30
Copy link
Member

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

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

What's the status of this?

BTW, I think the flake8 errors should pass after rebasing or merging master onto this.

if attr in hint:
value = Point(*hint[attr])
# handle target = ['u', 'p'] or ['d', 'o', 'w', 'n']
Copy link
Member

Choose a reason for hiding this comment

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

@moyogo why do we need to handle target = ['u', 'p'] or ['d', 'o', 'w', 'n'] ? Is that for backward compat with how these attribute was written out to UFO before this PR? If so, maybe add a comment with a link to the issue

@moyogo moyogo force-pushed the hints-target-up-down branch from cc5d43a to 568ee04 Compare September 23, 2020 05:53
Base automatically changed from master to main February 17, 2021 12:38
@moyogo moyogo force-pushed the hints-target-up-down branch from 568ee04 to a82c2ad Compare February 23, 2021 23:24
@moyogo moyogo requested a review from anthrotype February 23, 2021 23:32
@moyogo moyogo merged commit b9b9180 into googlefonts:main Feb 25, 2021
@moyogo moyogo deleted the hints-target-up-down branch February 26, 2021 20:49
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.

4 participants