1pm::Font(3)           User Contributed Perl Documentation          pm::Font(3)
2
3
4

NAME

6       Gnome2::Print::Font::Constants - constants for use with
7       Gnom2::Print::Font
8

SYNOPSIS

10         use Gnome2::Print; # gets the actual Gnome2::Print::Font objects and methods
11
12         use Gnome2::Print::Font::Constants; # load extra constants
13

DESCRIPTION

15       Similarily to Pango, in order to effectively use Gnome2::Print::Font
16       you need a few constants that are not supplied by the type system or by
17       other means.
18
19       This module exports all of those extra constants when you load it.
20       They use the fully-prefixed names from the C documentation.
21

EXPORT

23       GnomeFontWeight is an enumeration, but it's not registered inside the
24       Glib type system:
25
26         GNOME_FONT_LIGHTEST
27         GNOME_FONT_EXTRA_LIGHT
28         GNOME_FONT_THIN
29         GNOME_FONT_LIGHT
30         GNOME_FONT_BOOK
31         GNOME_FONT_REGULAR
32         GNOME_FONT_MEDIUM
33         GNOME_FONT_SEMI
34         GNOME_FONT_DEMI
35         GNOME_FONT_BOLD
36         GNOME_FONT_HEAVY
37         GNOME_FONT_EXTRABOLD
38         GNOME_FONT_BLACK
39         GNOME_FONT_EXTRABLACK
40         GNOME_FONT_HEAVIEST
41
42       These weights are also available without importing this module, using
43       Gnome2::Print::Font->weight, e.g.:
44
45         Gnome2::Print::Font->bold;
46

BUGS

48       This module shouldn't exist, but some parts of the API just aren't
49       clean.
50
51       This stuff is hardcoded directly from the headers of libgnomeprint
52       2.2.3
53

SEE ALSO

55       perl(1), Gtk2(3pm), Gnome2(3pm), Gnome2::Print(3pm).
56

AUTHOR

58       Emmanuele Bassi <emmanuele.bassi@iol.it>
59
61       Copyright 2003 by Emmanuele Bassi
62
63       This library is free software; you can redistribute it and/or modify it
64       under the terms of the GNU Library General Public License as published
65       by the Free Software Foundation; either version 2 of the License, or
66       (at your option) any later version.
67
68       This library is distributed in the hope that it will be useful, but
69       WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
70       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library
71       General Public License for more details.
72
73       You should have received a copy of the GNU Library General Public
74       License along with this library; if not, write to the Free Software
75       Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307
76       USA.
77
78
79
80perl v5.8.8                       2006-11-22                       pm::Font(3)
Impressum