Michael Fogleman
Michael Fogleman
One thing to note is that the current path is not affected by Push/Pop. This behavior is borrowed from Cairo. From their docs: One interesting change in cairo is that...
@dsamarin Anyway, in the meantime you can simply use `ResetClip` instead of `Push/Pop`.
@nigeltao Is this something I'm doing wrong or does `freetype` have the same problem?
Good question! I don't think there's currently a way to do this. You could render to 3 different images and then combine them manually, pixel by pixel, but that kinda...
Did you try rendering with different values to understand how it works?
Try `Rotate` before `Translate`
Yeah, I don't think the underlying freetype package supports underlining or strikethrough. Maybe @nigeltao can confirm. So you'd have to compute it yourself. If you figure out a nice generic...
I tried using this font: `/System/Library/Fonts/Apple Color Emoji.ttf` but then I get this error: ``` panic: freetype: unsupported TrueType feature: cmap encoding ``` I think this would involve a lot...
Thanks for looking into this everyone. Maybe we can figure something out if we keep digging.
The Apple Color Emoji font has a cmap encoding that isn't listed here: https://github.com/golang/freetype/blob/master/truetype/truetype.go#L60 It has a value of 0x00000004, which indicates: > Unicode 2.0 and onwards semantics, Unicode full...