jrmuizel / raqote

Rust 2D graphics library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[need help] incomplete text rendering(probably related to transformation)

tiye opened this issue · comments

might also be related to pixels, but in one of my demo only part of text is rendered(there are also some text just missing):

image

The "Demo" fully rendered has no transformation, so I guess it might be related to how I transformed...

https://github.com/calcit-lang/calcit-paint/blob/29b473c80cd3619ff7936bea624b80fa68198263/src/renderer.rs#L191

can't figure out why. any clue about how this would happen?

two projected involved:

Just as a heads up I think text support might be a bit broken right now. (Perhaps inconsistent across platforms). I haven't had a chance to look into yet.

"across platforms" -> me on macos.