Search found 2 matches

by Reygoch
Sat Feb 21, 2015 12:12 am
Forum: Support and Development
Topic: Set origin for text rendering
Replies: 4
Views: 2547

Re: Set origin for text rendering

So, you can't just switch origin point? Shame. I like @kikito 's solution. Much simpler than calculating font length. Although I might get into some trouble when rendering UI with a background. I guess long term solution would be calculating font length for more complicated layouts.
by Reygoch
Fri Feb 20, 2015 10:06 pm
Forum: Support and Development
Topic: Set origin for text rendering
Replies: 4
Views: 2547

Set origin for text rendering

Hi, I'm new here and I'm poking around love2d a little. I'm interested if there's a way to print text to the left of the origin point. I have tried using printf and aligned text to the right, but it's still required to define offset and box and it's annoying to recalculate bounding box if the text i...