Michael Fogleman

Results 138 comments of Michael Fogleman

Well the only way to improve that would be to go to a 16-bit image. Currently `gg` only does 8-bit. It wouldn't be too hard to do 16-bit but might...

It would start by changing RGBA -> NRGBA64 and Alpha -> Alpha16 throughout the code. But it might not actually be so easy. The freetype/raster package which gg is built...

`gg.Context` is not thread safe. You can probably use multiple contexts in different threads, but not the same context.

You can use something like https://github.com/disintegration/imaging to resize the image before drawing it.

Thanks for the help! I've got the README and sample images under control, but I could pull in your docstrings - can you update your PR to only include those?

@llgcode What's needs to happen to fix this? I've been digging through the code to try to figure it out. I don't quite understand why Stroke() in ftgc.go doesn't use...

@llgcode I ended up writing my own graphics package on top of `golang/freetype/raster`. It supports dashed lines and line caps / joins (and other stuff). Have a look: https://github.com/fogleman/gg

Yeah, I've been suspicious of subtle APU bug(s)... let me know if you figure it out.

What do you mean "backwards"? Can you explain further?