Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

178
Views
when I use textGeometry, spaces of the text are turned into question marks

I made a 3D text created using textGeometry.

The problem is that the spaces in the letters are turned into question marks.

What can I do to solve this problem? This is my code.

    const loader = new FontLoader();
    const font = loader.parse(FontJSON);

    const textGeometry = new TextGeometry("abc de f", {
      font,
      size: 50,
      height: 10,
      curveSegments: 12,
      bevelEnabled: true,
      bevelThickness: 3,
      bevelSize: 1,
      bevelOffset: 0,
      bevelSegments: 12,
    });

    const textMaterial = new THREE.MeshNormalMaterial();

    textMesh = new THREE.Mesh(textGeometry, textMaterial);
    textMesh.position.set(0, 0, -240);
    textMesh.geometry.center();

    init();

https://i.stack.imgur.com/5vf5x.png

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!