haiitch

Results 11 comments of haiitch

I was wondering what's the status of development of this feature. I have a rough implementation of something similar that works for my purposes, but it would need some clean...

I've done it and it works, in my case using the raylib2 library. You generate an off-screen image using gg, then upload it as a texture. It works very well...

Could you please confirm whether this is relevant behaviour in golang/freetype? https://github.com/golang/freetype/blob/255de57f4e681ed92b2d55a483a27194dfa2b3dc/truetype/truetype.go#L118

@antzucaro Ok, so it looks like it's really a golang/freetype problem. We should check what the freetype devs say in github.com/golang/freetype

@antzucaro So go-cairo uses a different/own truetype renderer? I like gg a lot better too for the same reasons you do. I was also checking nanovgo, which supports truetype glyph...

**UPDATE**: Fontstash actually uses another C-based truetype rendering library called stb, and in particular its subset stb_truetype.h https://github.com/nothings/stb Faced with the option of a massive and complex C dependency like...

@antzucaro Xolonium works just fine with nanovgo (truetype rendered by Fontstash, using stb_truetype.h), which I may be using for my GUI toolkit, in addition to gg. Not native Go, but...

@antzucaro You're welcome. I looked a little more into this, and turns out that nanovgo's truetype rendering is not done with the original Fontstash/stb_truetype, but a reduced version written in...

@fogleman, have you been able to identify whether this bug happens during font loading/interpreting or is it something that happens when attempting to render it? I'm trying to understand what...

I think the comparison between two distinct font loading libraries is helpful. For what I see in the links above, the difference between fontstash_mini and golang/freetype when loading truetype tables...