Skip to content

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

@ktye

Description

@ktye

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions