This example demonstrates using a font texture that was automatically generated by https://evanw.github.io/font-texture-generator/. The demo below uses signed distance fields to keep text nicely anti-aliased at all scale factors. Rendering is done in pure WebGL code without any dependencies.
The texture used in this example looks like this: