fontLanguage

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the fontLanguage of <fontName>
fontLanguage(<fontName>)
Summary

Returns the language associated with a Unicode font.

Introduced2.1
OSmac, windows, linux
Platformsdesktop, server
Parameters
NameTypeDescription
fontName

The name of any font that is installed on the current system.

Example
the fontLanguage of "Osaka"
Values
NameTypeDescription
returnANSI: for English-language fonts
Arabic:
Bulgarian:
Chinese:
Greek:
Hebrew:
Japanese:
Korean:
Polish:
Roman:
Russian:
Thai:
Turkish:
SimpleChinese:
Ukrainian:
RelatedControl Structure: function
Glossary: Unix, Unicode
Function: uniDecode
Description

Use the fontLanguage function to list only the fonts intended for a particular language.

For a list of all fonts installed on the current system, use the fontNames function.

*Cross-platform note:* On Unix systems, the fontLanguage always returns "English".

Tagstext processing