TextCandy - Retina Display?

Does TextCandy support retina @2x images?

If so how do I implement this…can’t seem to find any documentation for it and all my text looks extremely blurry on the new iPad.

Thanks!
[import]uid: 5786 topic_id: 30032 reply_id: 330032[/import]

Hey bones

Did you ever get an answer to this or find a solution?

Cheers [import]uid: 26289 topic_id: 30032 reply_id: 123621[/import]

Eh not really but I ended up kind of getting around it by just making my text images twice as big as I wanted them to appear and then set their xScale and yScale to 0.5. Kind of like how we had to implement regular retina display text before Corona officially supported it.

It looks better but still not the best solution. I would like if Text Candy had a built in solution for this but so far have not found one.

Thanks [import]uid: 5786 topic_id: 30032 reply_id: 123634[/import]

Right, that is a good solution. I hadn’t seen this before as I came in after retina had been supported.

Well I’ve emailed, so i’ll post back here if I get a reply or think of something else. Otherwise i’m off to try your method and have a play around.

Cheers [import]uid: 26289 topic_id: 30032 reply_id: 123638[/import]

Hey bones

Did you ever get an answer to this or find a solution?

Cheers [import]uid: 26289 topic_id: 30032 reply_id: 123621[/import]

Eh not really but I ended up kind of getting around it by just making my text images twice as big as I wanted them to appear and then set their xScale and yScale to 0.5. Kind of like how we had to implement regular retina display text before Corona officially supported it.

It looks better but still not the best solution. I would like if Text Candy had a built in solution for this but so far have not found one.

Thanks [import]uid: 5786 topic_id: 30032 reply_id: 123634[/import]

Right, that is a good solution. I hadn’t seen this before as I came in after retina had been supported.

Well I’ve emailed, so i’ll post back here if I get a reply or think of something else. Otherwise i’m off to try your method and have a play around.

Cheers [import]uid: 26289 topic_id: 30032 reply_id: 123638[/import]

Sorry for the delayed reply, we are not automatically informed by new threads, so it may be faster to drop us an email.

As bonesmalone133 suggested, you can either use a big font and scale it down or use display.contentScaleX to detect the device resolution and load any arbitrary charset image then:

[lua]-- LOAD & ADD A CHARSET
if display.contentScaleX < 1 then
– LOAD BIG SIZED / @2x CHARSET (HIGH RESOLUTION DISPLAY)
TextCandy.AddCharset (“FONT1”, “font_Small3_White@2x”, “font_Small3_White@2x.png”, “0123456789ABC…”, 20)
else
– DEFAULT DISPLAY SIZE (CONTENTSCALE = 1)
TextCandy.AddCharset (“FONT1”, “font_Small3_White”, “font_Small3_White.png”,
“0123456789ABC…”, 20)
end

– SCALE LOADED CHARSET ACCORDING TO DISPLAY SCALE
TextCandy.ScaleCharset(“FONT1”, display.contentScaleX)[/lua] [import]uid: 10504 topic_id: 30032 reply_id: 132742[/import]

Sorry for the delayed reply, we are not automatically informed by new threads, so it may be faster to drop us an email.

As bonesmalone133 suggested, you can either use a big font and scale it down or use display.contentScaleX to detect the device resolution and load any arbitrary charset image then:

[lua]-- LOAD & ADD A CHARSET
if display.contentScaleX < 1 then
– LOAD BIG SIZED / @2x CHARSET (HIGH RESOLUTION DISPLAY)
TextCandy.AddCharset (“FONT1”, “font_Small3_White@2x”, “font_Small3_White@2x.png”, “0123456789ABC…”, 20)
else
– DEFAULT DISPLAY SIZE (CONTENTSCALE = 1)
TextCandy.AddCharset (“FONT1”, “font_Small3_White”, “font_Small3_White.png”,
“0123456789ABC…”, 20)
end

– SCALE LOADED CHARSET ACCORDING TO DISPLAY SCALE
TextCandy.ScaleCharset(“FONT1”, display.contentScaleX)[/lua] [import]uid: 10504 topic_id: 30032 reply_id: 132742[/import]

Was just wondering about this myself. Works beautifully. Recommend adding to the tips & tricks section [import]uid: 32462 topic_id: 30032 reply_id: 140283[/import]

Was just wondering about this myself. Works beautifully. Recommend adding to the tips & tricks section [import]uid: 32462 topic_id: 30032 reply_id: 140283[/import]