Package: pango

Function pango-language-sample-string

Lambda List

pango-language-sample-string (language)

Arguments

language -- a pango-language structure, or nil

Return Value

The sample string.

Details

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 language is nil, the default language as found by the function pango-language-default is used.

If Pango does not have a sample string for language, the classic "The quick brown fox..." is returned.

Example

(pango-language-sample-string (pango-language-default))
=> "Zwölf Boxkämpfer jagen Viktor quer über den großen Sylter Deich."    
 

See also

2020-4-28