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

gdkFontFromDescription

gdkFontFromDescription


Description

Load a GdkFont based on a Pango font description. This font will only be an approximation of the Pango font, and internationalization will not be handled correctly. This function should only be used for legacy code that cannot be easily converted to use Pango. Using Pango directly will produce better results. WARNING: gdk_font_from_description is deprecated and should not be used in newly-written code.

Usage

gdkFontFromDescription(font.desc)

Arguments

font.desc

a PangoFontDescription.

Value

[GdkFont] the newly loaded font, or NULL if the font cannot be loaded.

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.