pangoFontDescriptionBetterMatch: pangoFontDescriptionBetterMatch

Description Usage Arguments Details Value Author(s)

View source: R/pangoFuncs.R

Description

Determines if the style attributes of new.match are a closer match for desc than those of old.match are, or if old.match is NULL, determines if new.match is a match at all. Approximate matching is done for weight and style; other style attributes must match exactly. Style attributes are all attributes other than family and size-related attributes. Approximate matching for style considers PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC as matches, but not as good a match as when the styles are equal.

Usage

1
pangoFontDescriptionBetterMatch(object, old.match = NULL, new.match)

Arguments

object

[PangoFontDescription] a PangoFontDescription

old.match

[PangoFontDescription] a PangoFontDescription, or NULL

new.match

[PangoFontDescription] a PangoFontDescription

Details

Note that old.match must match desc.

Value

[logical] TRUE if new.match is a better match

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on May 20, 2017, 3:33 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.