I believe SDL_ttf by default will use the best font the browser can provide. I'm not sure if it's practical do better than that without using FreeType, which is probably what most people use, as you mentioned.
About SDL2_mixer, it looks like we have the repo set up but not the emscripten integration yet. There is a PR open for that in https://github.com/kripken/emscripten/pull/5995 Help there would be very welcome. On Thu, Mar 15, 2018 at 11:50 PM, Goran Milovanovic <[email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
