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
Open

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

ktye opened this issue Nov 23, 2018 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@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
Copy link
Author

ktye commented Nov 23, 2018

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

@ALTree ALTree added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants