We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
18dbc473-e0ee-4a46-be7d-32356ec82272:35 Failure loading font http://localhost:3000/fonts/RobotoMonoBold.json; trying fallback TypeError: Cannot read properties of undefined (reading 'unitsPerEm')
The text was updated successfully, but these errors were encountered:
same issue
Sorry, something went wrong.
If you are using r3f, its no need to convert to json type font, you can use ttf or other file type. for example:
<Text font={'/fonts/PangMenZhengDaoBiaoTiTiMianFeiBan-2.ttf'} rotation={[-Math.PI / 3, 0, 0 ]} position={[PLANE_WIDTH / 2 - 20 , PHYS_Y + 2, PLANE_HEIGHT / 2 - 5 ]} fontSize={5} color="#fff">123</Text>
No branches or pull requests
18dbc473-e0ee-4a46-be7d-32356ec82272:35 Failure loading font http://localhost:3000/fonts/RobotoMonoBold.json; trying fallback TypeError: Cannot read properties of undefined (reading 'unitsPerEm')
The text was updated successfully, but these errors were encountered: