News for hackers. Stuff that matters.
Re:WebGPU Fundamentals by bhouston on Saturday April 15, 2023 @09:15AM (#35580353)
The easiest is just to use a html canvas element and draw text to it and then upload that as a texture map. This can handle kerning, ligatures, emojis, different fonts and languages. Writing your own font layout tool is horribly difficult and only do it if you must.

There are no comments on this comment yet.