Custom font not available for French Android user.

Sorry, I should have included a link. The app is free and on Google Play.https://play.google.com/store/apps/details?id=com.greenchile505.speedwatch2freeThanks again.

Sounds to me like this is just an issue concerning “a person who happens to be French”, instead of French users in general. With that, I don’t think that I can help you solve why something doesn’t work for someone for some unknown reasons. :smiley:

The documentation does state that there may be compatibility issues with custom fonts across operating systems and OS versions, and that failing to load the custom font means defaulting to system font.

I just tried on my device in Spanish and even switched it over to French. Running Android 9.0. No issue what so ever. It is still in English but no default font.

Here’s my take:

  1. Is this replicated on other French devices? It may very well be that the reason it’s not working is not because of “French phone”, but because of something completely different (like the iOS version), that just happens to be different on the French phone.

  2. Rename the font to something else, preferably with a more complex name. “lcd.ttf” might be taken by another font on this phone.

  3. Fonts are notoriously fickle, especially free fonts - which typically lack a lot of data that is needed for good font handling. I’m assuming this font was free. Try the exact same thing, but with another font. From the look of things, it’s a standard lcd digit font, of which you should be able to find many version.

My money is on option 3: the free font is lacking critical data. Some phone/OS combinations are forgiving of this, your French user’s phone is not, for some reason. Using a better quality font will most likely fix this.

Paid fonts work best, but unfortunately are expensive, like this one for 200 euro for app use:

https://www.myfonts.com/fonts/efscangraphic/lcd-sh/#family/53258

Thank you, all, for the help. This is good information. I will start with another font - one with a unique name perhaps.

I truly appreciate your time on this. I will post again here, for anyone interested, once I’ve made the changes and uploaded a new build.

Best regards.

You’re welcome.

Fonts are really hard to build. New font designer typically only design the letter shapes and copy/paste them into a font building application. If they make the effort they will kern (or “letterspace”) the characters, so a V shape and an A shape “slide into eachother” a bit, which looks nicer.

The problem is, fonts are in fact really, really tricky to design well, and include tons of information about type hinting on digital screens, on printers, compatibility issues with older font systems, classification, Postscript compatibility issues, binary and ASCII issues, international font classification and copyright/embedding data and flags.

This is where free font designers fall short of their professional counterparts: more often than not, they don’t understand and don’t include this part of the work. Some operating system work around this, assume certain info if it’s missing, or try to fail gracefully. Other operating systems (or versions of them) just kill the font if it’s not up to standard.

You can also try doing a gliph of your font.

I used custom fonts and my games are played in like every country in the world and never once have I had a font issue!

You simply need to use a font that supports all locales.  If a font does not support a certain locale then Corona defaults to the system font.

Thank you again for the help. This is my first app written with Corona Labs SDK. I just realized my other app has an LCD font, but I wrote it about 7 years ago, and at least 3 computers ago. I think I will go find that font and see it works. If it does, I can blame the font and not Corona. Thank you.