This approach would scale to other languages better I think: Troika-3d-text: library for SDF text rendering