Text Candy - NO KERNING?

I am having one problem with importing Glyph Designer font kerning info, basically Text Candy doesn’t seem to read it at all (in Corona SDK).
For example: if change distance between A and Y chars in kerning table in lua file it doesn’t make any difference to how Corona+TextCandy render the AY combo - distance between the letters remains the same.

local Font = {}

Font.info =
   {
   face              = “AbadiMT-CondensedExtraBold”,
   file              = “playerfont.png”,
   size              = 160,
   bold              = 0,
   italic            = 0,
   charset           = “”,
   unicode           = 0,
   stretchH          = 100,
   smooth            = 1,
   aa                = 1,
   padding           = {0, 0, 0, 0},
   spacing           = 2,
   charsCount        = 11,
   kerningsCounts    = 11,
   }

Font.common =
   {
   lineHeight        = 185,
   base              = 140,
   scaleW            = 512,
   scaleH            = 512,
   pages             = 1,
   packed            = 0,
   }

Font.chars =
   {
   {id=32,x=217,y=334,width=0,height=0,xoffset=0,yoffset=141,xadvance=41,page=0,chnl=0,letter=“space”},
   {id=49,x=122,y=334,width=93,height=158,xoffset=16,yoffset=62,xadvance=82,page=0,chnl=0,letter=“1”},
   {id=50,x=2,y=334,width=118,height=160,xoffset=8,yoffset=61,xadvance=82,page=0,chnl=0,letter=“2”},
   {id=65,x=240,y=2,width=135,height=162,xoffset=1,yoffset=60,xadvance=83,page=0,chnl=0,letter=“A”},
   {id=67,x=2,y=2,width=111,height=166,xoffset=5,yoffset=60,xadvance=68,page=0,chnl=0,letter=“C”},
   {id=69,x=253,y=170,width=115,height=162,xoffset=8,yoffset=60,xadvance=75,page=0,chnl=0,letter=“E”},
   {id=76,x=370,y=170,width=113,height=162,xoffset=8,yoffset=60,xadvance=67,page=0,chnl=0,letter=“L”},
   {id=80,x=128,y=170,width=123,height=162,xoffset=7,yoffset=60,xadvance=80,page=0,chnl=0,letter=“P”},
   {id=82,x=2,y=170,width=124,height=162,xoffset=7,yoffset=60,xadvance=80,page=0,chnl=0,letter=“R”},
   {id=85,x=115,y=2,width=123,height=164,xoffset=7,yoffset=61,xadvance=83,page=0,chnl=0,letter=“U”},
   {id=89,x=377,y=2,width=129,height=162,xoffset=2,yoffset=60,xadvance=80,page=0,chnl=0,letter=“Y”},
   }

Font.kerning =
   {
   {first=65, second=67, amount=-2},
   {first=65, second=85, amount=-4},
   {first=65, second=89, amount=-10}, <—— it does not make any difference if I put 1000 or -1000 here!!!

  {first=76, second=67, amount=2},
   {first=76, second=89, amount=-9},
   {first=80, second=65, amount=-11},
   {first=82, second=85, amount=-2},
   {first=82, second=89, amount=-5},
   {first=85, second=65, amount=-2},
   {first=89, second=65, amount=-11},
   {first=89, second=67, amount=-5},
   }

return Font

I’m having the same problem with TextCandy. After some digging I found the problem. TextCandy doen’t take the xoffset in account. To change this you have to modify lib_text_candy.lua

add this after linenr 454: (the AddCharsetFromGlyphDesigner function)

[lua]Charset.Chars[num].offX = Chars[num].xoffset[/lua]

change linenr 1614 to: (the PDrawChars function)

[lua]Img.x = x + (Char.width*.5) + (Char.offX * Charset.scale)[/lua]

I’m having the same problem with TextCandy. After some digging I found the problem. TextCandy doen’t take the xoffset in account. To change this you have to modify lib_text_candy.lua

add this after linenr 454: (the AddCharsetFromGlyphDesigner function)

[lua]Charset.Chars[num].offX = Chars[num].xoffset[/lua]

change linenr 1614 to: (the PDrawChars function)

[lua]Img.x = x + (Char.width*.5) + (Char.offX * Charset.scale)[/lua]