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

Draw image/text with current transformation appied #16

Merged
merged 5 commits into from
May 4, 2017

Conversation

wsw0108
Copy link
Contributor

@wsw0108 wsw0108 commented Jan 8, 2017

No description provided.

@fogleman
Copy link
Owner

fogleman commented Feb 7, 2017

The rotated image looks good, but the rotated text looks very aliased. Can it be improved?

out

@fogleman
Copy link
Owner

@wsw0108 See my comment above? :)

@wsw0108
Copy link
Contributor Author

wsw0108 commented Feb 20, 2017

@fogleman oh, I almost forgot this.

I think this should be done by get the vector path of each glyph of the input text, then draw the vector path instead of image.

For now, package golang.org/x/image/font only provide method that get image of glyph. Although package github.com/golang/freetype can be used to get vector path of glyph, it can only process truetype font.

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