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

Investigate potential bug in prior context #76

Open
benpious opened this issue May 12, 2020 · 0 comments
Open

Investigate potential bug in prior context #76

benpious opened this issue May 12, 2020 · 0 comments

Comments

@benpious
Copy link
Collaborator

The spec specifies that only certain commands should use parts of the "prior context" construct that we use in DrawingCommands.swift to convey information about prior curves in the path.

The fact that we are seemingly more liberal than the spec, and would allow, for example, a T command to use prior context from a C command. This may be responsible for bugs like the one below in rendering the flag of Sri Lanka.

Screen Shot 2020-05-12 at 12 13 15 PM

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

No branches or pull requests

1 participant