Hey Embers,
I have a feeling that the answer to the question I’m about to ask is a simple no, but I figure it can’t hurt to ask.
On a recent thread I asked how render 3d text. I rely on the glyph placements provided by Cinder to properly place the individually rendered Shape2D
objects I can get from the glyphs. Specifically, the getGlyphPlacementsWrapped()
from the TextureFont
object works quite well, despite Cinder comments indicating it’s for Mac and iOs only?
However, it’s not possible to change the overall alignment on the wrapped text via this approach.
I thought I could perhaps also rely on Cinder to help me align the glyphs. The TextBox
class allows one to align the text and has a function entitled measureGlyphs()
which according to the comments in Cinders code also does not support wrapping on windows. While it seems to wrap fine, the glyph placements do not appear to align any other way than left.
Just wondering if someone had any bright ideas to get Cinder to help here?
Cheers,
Gazoo