Learn R Programming

RGtk2 (version 2.20.31)

gdkFontLoad: gdkFontLoad

Description

Loads a font. WARNING: gdk_font_load is deprecated and should not be used in newly-written code.

Usage

gdkFontLoad(font.name)

Arguments

font.name
a XLFD describing the font to load.

Value

GdkFont] a GdkFont, or NULL if the font could not be loaded.

Details

The font may be newly loaded or looked up the font in a cache. You should make no assumptions about the initial reference count.