Determining the width of a character/word

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Determining the width of a character/word

Post by coffee »

Again, the colored printing problem is becoming very discussed in last days.
Well (again) Robin have his Rich Text lib
viewtopic.php?f=5&t=1890
(I will start get paid comissions on this) :D
User avatar
mickeyjm
Party member
Posts: 237
Joined: Thu Dec 29, 2011 11:41 am

Re: Determining the width of a character/word

Post by mickeyjm »

You guys realise Nixola fixed the problem in the first post right? I wasnt aware of the font:getWidth() function until they pointed it out
Your screen is very zoomed in...
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Determining the width of a character/word

Post by Robin »

mickeyjm wrote:You guys realise Nixola fixed the problem in the first post right?
*shakes head*
Kids these days...
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], slime and 3 guests