Font text problem

Hi everyone!

I’ve just found a really bad error with my font in my project.

I’ve download that font from a free license font site and insert the .ttf file in my main project folder.

When I install my game in my phone everything works fine but if I do the same in another phone, my font is replaced by the standard system font.

How can this happen? How can I fix it?

Thanks in advice =)

What version of Corona are you using?

What device and OS is on the phone that works?

What device and OS is on the phone that does not work?

I think it’s awesome that people make fonts available for free, but the quality of free fonts varies drastically. When you get a font from a professional foundry like Adobe, Apple, ITC, Bitstream and others, they have gone through considerable QA (Quality Assurance) testing. But this comes with the price that they are not free.

As you get to free fonts, they likely have not gone through sufficient testing and since Corona uses the OS’s font rendering, if the OS can’t deal with the free font, it’s going to default to native.systemFont. You can try to find an alternate font.

Rob

I Rob thanks for your answer =)

I’m actually using the v2016.2831 version of Corona.

The device where it works is a vodafone smart prime which runs android 6.0.1

The device where it doesn’t work is a LG but I cant’ actually check version and OS version.

Anyway, if I buy a font I can be sure that it will works in every device where I run my game?

In your opinion, which is the best place where to buy a font?

Thanks in advice, have a good day =)

There is no guarantee that a paid for font will work perfectly either. They likely will be better, but no guarantee. Start with https://www.fonts.com/

Is there a way to be 100% sure that a font will work on any device? Downloading a font from this site will make my text optimized for more devices than now?

You just have to test it on the various devices.

Rob

Ok Rob, I’ll do that.

Thanks as always for your precious help.

Have a good day =)

What version of Corona are you using?

What device and OS is on the phone that works?

What device and OS is on the phone that does not work?

I think it’s awesome that people make fonts available for free, but the quality of free fonts varies drastically. When you get a font from a professional foundry like Adobe, Apple, ITC, Bitstream and others, they have gone through considerable QA (Quality Assurance) testing. But this comes with the price that they are not free.

As you get to free fonts, they likely have not gone through sufficient testing and since Corona uses the OS’s font rendering, if the OS can’t deal with the free font, it’s going to default to native.systemFont. You can try to find an alternate font.

Rob

I Rob thanks for your answer =)

I’m actually using the v2016.2831 version of Corona.

The device where it works is a vodafone smart prime which runs android 6.0.1

The device where it doesn’t work is a LG but I cant’ actually check version and OS version.

Anyway, if I buy a font I can be sure that it will works in every device where I run my game?

In your opinion, which is the best place where to buy a font?

Thanks in advice, have a good day =)

There is no guarantee that a paid for font will work perfectly either. They likely will be better, but no guarantee. Start with https://www.fonts.com/

Is there a way to be 100% sure that a font will work on any device? Downloading a font from this site will make my text optimized for more devices than now?

You just have to test it on the various devices.

Rob

Ok Rob, I’ll do that.

Thanks as always for your precious help.

Have a good day =)