wwwebman Posted May 3, 2019 Share Posted May 3, 2019 Hello, guys! I need some mechanism which can take text and retrieve polygon coordinates of it. Is it possible by using PIXI.Text()/Pixi.BitmapText()? What I mean is: https://p5js.org/reference/#/p5.Font/textToPoints If not, then maybe there is it possibility to parse coordinates from image (png)? Can you, pls suggest something? ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 4, 2019 Share Posted May 4, 2019 Pixijs has no access to text geometry. We need something like opentype.js to do that. Currently there are two three text plugins for pixi v4: pixi-sdf-text (prerender bitmapfont), pixi-richtext (gen sdf by canvas in runtime) and pixi-ui (no docs, helpful author, just better bitmaptext) There is opentype support in our roadmap, thank you for pointing out one more source that we can look at! wwwebman 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.