8000 [svgLib] add rudimentary support for shapes by rsheeter · Pull Request #1500 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[svgLib] add rudimentary support for shapes #1500

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 7 commits into from

Conversation

rsheeter
Copy link
Collaborator
@rsheeter rsheeter commented Feb 12, 2019

Make it possible to import SVGs with simple uses of <rect>, <circle>, <polygon> by converting them to <path>

@rsheeter rsheeter requested a review from anthrotype February 12, 2019 19:55
def _prefer_non_zero(*args):
for arg in args:
if arg != 0:
return arg
Copy link
Member

Choose a reason for hiding this comment

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

indentation should use four spaces like in the rest of the module

return 0.

def _ntos(n):
# %f likes to add unnecessary 0's, %g isn't consistent about # decimals
Copy link
Member

Choose a reason for hiding this comment

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

same

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 mor 8000 e.

LGTM (besides minor indentation issue)

@anthrotype
Copy link
Member

closing this, we'll continue on #1508

@anthrotype anthrotype closed this Feb 14, 2019
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