New Candy Tool: Text Candy for Corona (50% off coupon inside)

Hi Antheor

Glyph Designer uses the font metrics to calculate the correct positioning of characters. It uses the fonts base line, descender, x-height, line height and the other font metrics to calculate the correct y offset as well as both the fixed x spacing and kerning tables if they are needed. This should always give the exact same spacing as using the font in a normal application.

Hope that helps

Mike
71Squared [import]uid: 112428 topic_id: 7999 reply_id: 74882[/import]

Hi Mike

Thx for your answer. I use windows and have BMFont for free, but I will take yout app. The “look and feel” plus the developper feedback:) made my choice.

BTW, as a feature request (ok I’m polluting this thread), could you do something like mix fonts : when you outline font it seems your soft does a vectorization, maybe we could select 2 fonts and the app would ‘union’ the outlines for ‘non garantied’ results but maybe interesting results… [import]uid: 9328 topic_id: 7999 reply_id: 74884[/import]

Great feedback and should you have anything you’d like to see added, drop it into the features section of the 71squared forum.

We are working on GD 2.0 at the moment which will be adding a huge number of new rendering features to use when making your glyphs and I’ll put your suggestion on the list :o)

Mike [import]uid: 112428 topic_id: 7999 reply_id: 74886[/import]

I’ve just bought the text candy library so am new to it, but I can’t seem to figure out how to make it look good on retina screens. Please could someone advise me on this. [import]uid: 62617 topic_id: 7999 reply_id: 91707[/import]

TC looks great on retina ! I do a quite simple thing : just scale my font to 0.5 (and make it bigger on th sheet) [import]uid: 9328 topic_id: 7999 reply_id: 91710[/import]

Hi,

I am new to the library and therefore got a question - how does scaling work for the retina and non retina devices?

Say, I’ve got a “textbox” of some sorts that should hold the same amount of text, no matter what resolution is currently on. I would then create some bigger font, say 32px scale it to 0.5 and now what? Will it be 16px for non retina and 32px for retina devices? Or am I missing something?

Thanks! [import]uid: 133145 topic_id: 7999 reply_id: 93351[/import]

Usually it should be enough to use a big font on the texture and then just downscale the text from within your app to any size that fits your needs. If the provided chars are not too small, downscaling should always produce sharp and crisp images.

Or, just load another sheet (or set a charset’s scale) depending on the devices physical resolution, for example:

[lua]-- GET PHYSICAL RESOLUTION
physicalWidth = math.round( (display.contentWidth - display.screenOriginX*2) / display.contentScaleX)
physicalHeight = math.round( (display.contentHeight - display.screenOriginY*2) / display.contentScaleY)

– IS RETINA DISPLAY?
if physicalWidth >= 960 then
TextCandy.AddCharset (“FONT1”, “font_Small3_White”, “font_Small3_White@2x.png”, “ABCDE…”)
TextCandy.ScaleCharset(“FONT1”, …)
else
TextCandy.AddCharset (“FONT1”, “font_Small3_White”, “font_Small3_White.png”, “ABCDE…”)
TextCandy.ScaleCharset(“FONT1”, …)
end [/lua]

[import]uid: 10504 topic_id: 7999 reply_id: 93501[/import]

Hello,

I am using Text Candy with Glyph Designer and it is working well, except for kerning.
I can see kerning information in the .fnt file, but Text Candy does not appear to be using it.
Is there a command I can use to get it to work?

Here is an example of the .fnt kerning info:

kerning first=76 second=87 amount=-5

Thanks,

Séamus [import]uid: 56440 topic_id: 7999 reply_id: 107593[/import]

The BMF loading functions will be redone with the next update. Until then, you could switch back to a previous version, this may eventually be a workaround since BMF kerning was modified with the latest version. [import]uid: 10504 topic_id: 7999 reply_id: 107628[/import]

Hi,

You mean a previous version of Text Candy? How/where do I access that?

Seamus [import]uid: 56440 topic_id: 7999 reply_id: 107654[/import]

@sedev: as mentioned with every update -make a backup of your previous version(s) to keep on the safe side or just drop us an email with your transaction data and we’ll send you a previous version of the library.
[import]uid: 10504 topic_id: 7999 reply_id: 107750[/import]

(wrong thread) [import]uid: 109677 topic_id: 7999 reply_id: 107758[/import]

I just bought Text Candy so I do not have any previous versions.
I emailed twice asking for an older version, but I have not heard back.

UPDATE: Heard back. Thanks. [import]uid: 56440 topic_id: 7999 reply_id: 108840[/import]

Earlier in the thread it was mentioned that there would be additional font packages included. I just purchased TC and only see the first font pack. Are there others? Thanks… [import]uid: 144922 topic_id: 7999 reply_id: 143680[/import]

Text Candy features direct Glyph Designer import now (among other available font tools), so custom, unique fonts can be created within minutes. Therefore, we gave this point a lower priority to be able to concentrate on updates, fixes and porting the Candy libs to other SDKs as well. [import]uid: 10504 topic_id: 7999 reply_id: 144107[/import]

Earlier in the thread it was mentioned that there would be additional font packages included. I just purchased TC and only see the first font pack. Are there others? Thanks… [import]uid: 144922 topic_id: 7999 reply_id: 143680[/import]

Text Candy features direct Glyph Designer import now (among other available font tools), so custom, unique fonts can be created within minutes. Therefore, we gave this point a lower priority to be able to concentrate on updates, fixes and porting the Candy libs to other SDKs as well. [import]uid: 10504 topic_id: 7999 reply_id: 144107[/import]

Earlier in the thread it was mentioned that there would be additional font packages included. I just purchased TC and only see the first font pack. Are there others? Thanks… [import]uid: 144922 topic_id: 7999 reply_id: 143680[/import]

Text Candy features direct Glyph Designer import now (among other available font tools), so custom, unique fonts can be created within minutes. Therefore, we gave this point a lower priority to be able to concentrate on updates, fixes and porting the Candy libs to other SDKs as well. [import]uid: 10504 topic_id: 7999 reply_id: 144107[/import]

Earlier in the thread it was mentioned that there would be additional font packages included. I just purchased TC and only see the first font pack. Are there others? Thanks… [import]uid: 144922 topic_id: 7999 reply_id: 143680[/import]