Fonts

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
aliyehia
Posts: 17
Joined: Mon May 25, 2015 6:51 am

Fonts

Post by aliyehia » Thu Mar 03, 2016 7:28 am

Hi All

I used default fonts from livecode list "Arial"

At development it is appeared like that
A10.PNG
on android mobile is appeared wrong like that
IMG-20160303-WA0006.jpg
It is not correct fonts.

How can I fix it?

What's android Arabic fonts can I use? Or what 's the android fonts can I test it suitable for Arabic fonts or not?

SparkOut
Posts: 2943
Joined: Sun Sep 23, 2007 4:58 pm

Re: Fonts

Post by SparkOut » Thu Mar 03, 2016 9:36 am

I don't know what standard Android fonts would be suitable for Arabic, but a few things to be aware of:

1) ttf/otf fonts can be included in the "copy files" section of the standalone settings when you are building the app.
2) the filename included at that point may or may not resemble the actual font name you need to set in the app.
3) even if you have installed/included the same font file on both desktop and Android, the font name may differ on each platform.
3) font and filenames are case sensitive on Android.

Hence you can include the files for use on the device, but you will have to play with the fontNames function (see "fontNames" in the dictionary) to verify what specific font name to use to set for your app (by script, within the app on preOpenStack or such - you won't necessarily be able to set the font name in the IDE for display on the app). There is a little section in the dictionary under fontNames to see regarding mobile deployment.

aliyehia
Posts: 17
Joined: Mon May 25, 2015 6:51 am

Re: Fonts

Post by aliyehia » Fri Mar 04, 2016 10:10 pm

Thanks, it works

JeroenL
Posts: 5
Joined: Tue Jan 27, 2015 1:03 pm

Re: Fonts

Post by JeroenL » Fri Mar 18, 2016 5:31 pm

Don't you have any problems with spaces being either too large or words overlapping?
And with the Arial font, the diacritics (dashes below and above the letters) are very close to the letters and sometimes overlap, with my Android builds using Livecode 7.1.3

The word spacing issues have already been confirmed as bug id=15635
But I'm still waiting for the solution.

Post Reply