About '%' in Display.newText (CustomFont)

Hello I’m using display.newText for my text(99.9% ~ 0%. I’m trying to use customFont(https://www.google.com/get/noto/help/cjk/) linked beside. But ‘%’ Only comes in some cases. I tried using a lot of fonts. but some fonts display it but disappears in some numbers. I saw a post that its a font problem… but I tried it in MS Word, TextEditor, Wordpad. They had no problems. But if i use it in coronaSDK The problem begins… Can anyone give me a solution about it?

Can you post a sample project, preferrably zipped and uploaded to Dropbox or somewhere else?

https://drive.google.com/file/d/0ByKrWwmnQv-JNXJiY2NBdDE4Sm8/view?usp=sharing

Here is the sample file for the bug? error? Thks for the interest

@bgmadclown - Sorry to snipe the answer. Thanks for having zero_raws provide sample project.

I’m hoping you have a better solution than my quick and dirty one.

@zero_raws,

Hi.  I’ve seen this on occasion with ‘custom fonts’.  
 
I don’t know if this is a Corona issue, some weird rounding issue, or just a bad font.
 
I have found that this can be fixed simply by padding the string with a space:
 
Original (borked):

display.newText( "99.9%",display.contentCenterX,display.contentCenterY-200,"NotoSansCJKkr-Light.otf",115) display.newText("99.9%",display.contentCenterX,display.contentCenterY,"PriceDown.ttf",115) 

Fixed:

display.newText( " 99.9% ",display.contentCenterX,display.contentCenterY-200,"NotoSansCJKkr-Light.otf",115) display.newText(" 99.9% ",display.contentCenterX,display.contentCenterY,"PriceDown.ttf",115)

Can you post a sample project, preferrably zipped and uploaded to Dropbox or somewhere else?

https://drive.google.com/file/d/0ByKrWwmnQv-JNXJiY2NBdDE4Sm8/view?usp=sharing

Here is the sample file for the bug? error? Thks for the interest

@bgmadclown - Sorry to snipe the answer. Thanks for having zero_raws provide sample project.

I’m hoping you have a better solution than my quick and dirty one.

@zero_raws,

Hi.  I’ve seen this on occasion with ‘custom fonts’.  
 
I don’t know if this is a Corona issue, some weird rounding issue, or just a bad font.
 
I have found that this can be fixed simply by padding the string with a space:
 
Original (borked):

display.newText( "99.9%",display.contentCenterX,display.contentCenterY-200,"NotoSansCJKkr-Light.otf",115) display.newText("99.9%",display.contentCenterX,display.contentCenterY,"PriceDown.ttf",115) 

Fixed:

display.newText( " 99.9% ",display.contentCenterX,display.contentCenterY-200,"NotoSansCJKkr-Light.otf",115) display.newText(" 99.9% ",display.contentCenterX,display.contentCenterY,"PriceDown.ttf",115)