Applying spacing to IgeFontEntity

Post your help queries and engine programming questions here

Applying spacing to IgeFontEntity

Postby lucbr » Sun Jan 19, 2014 2:48 am

Hi,

How could I apply any spacing to my text being rendering by native font?
I try using the function textLineSpacing. However, it doesn't work whatsoever.

Here is the code:

Code: Select all
new IgeFontEntity()            
            .colorOverlay('#29202D')
            .nativeFont('96px Verdana')
            .nativeStroke(10)            
            .translateTo(0, -18, 0)            
            .text('44')            
            .cache(false)
            .mount(this);


One image of the text '44' is attached.

Thanks
Attachments
font.png
font.png (1.91 KiB) Viewed 3809 times
lucbr
 
Posts: 27
Joined: Fri Oct 25, 2013 3:26 am

Return to Help & Questions

Who is online

Users browsing this forum: No registered users and 1 guest
cron