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

x/image/font: wrong rendering of intersecting paths #28932

Open
ktye opened this Issue Nov 23, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ktye
Copy link

ktye commented Nov 23, 2018

What version of Go are you using (go version)?

$ go version
go version go1.11.1 windows/amd64

What did you do?

Parse APL386 true type font with github.com/golang/freetype/truetype and render U+2262 with golang.org/x/image/font Drawer.DrawString.

I'll update with a link to example code and images shortly.

What did you expect to see?

A rendering of the rune, that has intersecting paths. The intersecting regions should be filled (with black color).

What did you see instead?

Intersecting regions are not filled, they are left white.

@gopherbot gopherbot added this to the Unreleased milestone Nov 23, 2018

@ktye

This comment has been minimized.

Copy link
Author

ktye commented Nov 23, 2018

Here is example code with rendered images:
https://github.com/ktye/goissues/tree/master/28932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.