Name
planguage:GetSampleString -- get sample string
Synopsis
s$ = planguage:GetSampleString()
Function
Get a string that is representative of the characters needed to render a particular language.

The sample text may be a pangram, but is not necessarily. It is chosen to be demonstrative of normal text in the language, as well as exposing font feature requirements unique to the language. It is suitable for use as sample text in a font selection dialog.

If Pango does not have a sample string for the language, the classic "The quick brown fox..." is returned. This can be detected by comparing the returned handle value to that returned for (non-existent) language code "xx".

Inputs
none

Results
s$
sample string for the language

Show TOC