Slightly off topic, but if you're looking for more text rendering options, 
I had a good experience with stb_truetype.h + fontstash in emscripten 
(https://github.com/memononen/fontstash). You provide TTF font data, and it 
can incrementally build a font atlas texture and it provides vertex data 
for text rendering, while giving you control over each step, it's more 
light-weight and less 'black box' than freetype (in my experience at least, 
YMMV).


On Friday, 16 March 2018 07:50:44 UTC+1, Goran Milovanovic wrote:
>
> It seems to be using some default font that doesn't match the font I'm 
> actually opening, and the resulting texture seems prematurely clipped by a 
> couple of pixels.
>
> Is anyone else having these problems with SDL_ttf? Any tips on fixing it 
> ... or should I just use the freetype port?
>
> Also, if it's appropriate, I would like to ask about the state of the 
> SDL2_mixer port: It seems to be listed on the ports github (
> https://github.com/emscripten-ports), but it doesn't seem to show up in 
> the output of `emcc --show-ports`. Is there a reason for that?
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to