`a-text` custom font broken
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
- A-Frame Version: 1.3.0
- Platform / Device: MacOS M1 air, browser: Chrome, Firefox, Safari
Issue:
I use under code
<a-text
value="Hello"
color="black"
width="0.5"
height="0.5"
position="-0.125 0.03 0"
font="/SpoqaHanSansNeo-Regular.json"
font-image="/SpoqaHanSansNeo-Regular.png"
></a-text>
and cause this issue

I was make font here: https://msdf-bmfont.donmccurdy.com/
and use this font: https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Regular.ttf

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the a-text component and its font and font-image configuration, then reproduce the supplied example with the generated SpoqaHanSansNeo assets in Chrome, Firefox, and Safari. Done means the custom font renders correctly instead of showing the reported broken output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100