Small function i’ve made to accomplish that:
it still needs works, need to insert color params, at least, but i’ve to leave now so this is what i could make in 20m.
local randomText="Alligator" local function firstLetterBigger(textIn, paramsIn) local text=textIn local params=paramsIn or {} local group=display.newGroup() local flf=params.firstLetterFont or native.systemFontBold local flfs=params.firstLetterFontSize or 16 local font=params.font or native.systemFont local fontSize=params.fontSize or 1 local x=params.x or 0 -- x position of the text local y=params.y or 0 -- y positon of the text local top=params.top or 0 -- we need this variable because of the difference between the sizes of the first letter and the rest of the text local left=params.left or 0 -- the space from the first letter to the rest of the text local firstLetter=string.sub(text,1,1) local restText=string.sub(text,2,string.len(text)) local paramsFirstLetter={ text=firstLetter, font=flf, fontSize=flfs, x=x, y=y } local firstLetterScreen=display.newText(paramsFirstLetter) firstLetterScreen.anchorX=0 firstLetterScreen.anchorY=0 group:insert(firstLetterScreen) -------------------------------------- local paramsRestText={ text=restText, font=font, fontSize=fontSize, x=firstLetterScreen.x+firstLetterScreen.contentWidth+left, y=y+firstLetterScreen.contentHeight+top } local restTextScreen=display.newText(paramsRestText) restTextScreen.anchorX=0 restTextScreen.anchorY=1 group:insert(restTextScreen) return group end local text=firstLetterBigger(randomText,{firstLetterFont="Times New Roman",firstLetterFontSize=80,font="Times New Roman",fontSize=20,top=-14,left=0,x=0,y=0}) text.x=display.contentWidth\*.5 text.y=display.contentHeight\*.5