Replies: 2 comments 6 replies
-
|
Are you able to render a single Text instance with static properties? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
For the Google fonts, there's no built-in font name resolution, but you can try using this script to get a .woff URL for a Google font: https://github.com/protectwise/troika/blob/main/packages/troika-three-text/find-google-font-url.js (haven't used it in a while so can't guarantee it still works) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently trying to using the troiker-three-text package, to render text, but I am not getting anything outputted. My project was originally written to use
font.createShapeGeometry(), but I am looking attroiker-three-textto be able to render texts such as those written in Arabic.My project: https://github.com/ajmas/extended-svg-threejs/tree/use-troika-three-text
The code I am trying to get working with troiker-three-text:
My original code, which was using
font.createShapeGeometry():Beta Was this translation helpful? Give feedback.
All reactions