Is it possible to create a text geometry without a font?

Is it possible to create a simple text without loading any font file???

*Maybe I’m confused, once I saw an example creating a simple flat Geometry text without loading any font (now I can not find it, probably I got confused).

Do you mean that example?
https://threejs.org/examples/?q=text#webgl_geometry_text_shapes

Also, you can define/create your own font (great example from @hofk):
https://discourse.threejs.org/t/how-many-ways-to-load-a-font-in-three-js/2054/17?u=prisoner849

Thanks, probably is, maybe I missed the font object that was already loaded before create geometry.

maybe no way to create text without loading font file…

I’ve never seen something like this in the official examples. At least when we talk about geometries. You can still render text on a canvas element and use it as a texture.

1 Like

Just reminded me about this:
https://stemkoski.github.io/Three.js/Texture-From-Canvas.html

1 Like

It is a good option… thanks guys

@Mugen87 can we add thickness to texts in Canvas? to show texts with a thickness in 3d

What I mean in Is it possible to create a text geometry without a font? - #4 by Mugen87 was to use a canvas as a texture on a plane surface. This approach is normally used for labels. If you are looking for an extruded 3D geometry, you need a font so it is possible to generate a real (triangulated) shape that can then be extruded with a custom depth value.