NAME
Gnome2::Print::Font::Constants - constants for use with Gnom2::Print::Font
SYNOPSIS
use Gnome2::Print; # gets the actual Gnome2::Print::Font objects and methodsuse Gnome2::Print::Font::Constants; # load extra constants
DESCRIPTION
Similarily to Pango, in order to effectively use Gnome2::Print::Font you need a few constants that are not supplied by the type system or by other means.
This module exports all of those extra constants when you load it. They use the fully-prefixed names from the C documentation.
EXPORT
GnomeFontWeight is an enumeration, but it's not registered inside the Glib type system:
GNOME_FONT_LIGHTESTGNOME_FONT_EXTRA_LIGHTGNOME_FONT_THINGNOME_FONT_LIGHTGNOME_FONT_BOOKGNOME_FONT_REGULARGNOME_FONT_MEDIUMGNOME_FONT_SEMIGNOME_FONT_DEMIGNOME_FONT_BOLDGNOME_FONT_HEAVYGNOME_FONT_EXTRABOLDGNOME_FONT_BLACKGNOME_FONT_EXTRABLACKGNOME_FONT_HEAVIEST
These weights are also available without importing this module, using Gnome2::Print::Font->weight, e.g.:
Gnome2::Print::Font->bold;
BUGS
This module shouldn't exist, but some parts of the API just aren't clean.
This stuff is hardcoded directly from the headers of libgnomeprint 2.2.3
SEE ALSO
AUTHOR
Emmanuele Bassi <[email protected]>
COPYRIGHT AND LICENSE
Copyright 2003 by Emmanuele Bassi
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.