Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pangoLanguageGetSampleString

pangoLanguageGetSampleString


Description

Get a string that is representative of the characters needed to render a particular language.

Usage

pangoLanguageGetSampleString(object)

Arguments

object

[PangoLanguage] a PangoLanguage, or NULL

Details

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 NULL, the default language as found by pangoLanguageGetDefault is used.

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

pangoLanguageFromString("xx")$getSampleString()

Value

[char] the sample string.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.