1Pango(3)              User Contributed Perl Documentation             Pango(3)
2
3
4

NAME

6       Pango - Layout and render international text
7

SYNOPSIS

9         my $surface = Cairo::ImageSurface->create ('argb32', 200, 100);
10         my $cr = Cairo::Context->create ($surface);
11
12         my $layout = Pango::Cairo::create_layout ($cr);
13         $layout->set_text ("\x{03A0}\x{03B1}\x{03BD}\x{8A9E}");
14
15         my $font = Pango::FontDescription->from_string ('Serif Bold 27');
16         $layout->set_font_description ($font);
17
18         Pango::Cairo::show_layout($cr, $layout);
19
20         $surface->write_to_png ('pango.png');
21

ABSTRACT

23       Pango is a library for laying out and rendering text, with an emphasis
24       on internationalization. Pango can be used anywhere that text layout is
25       needed, but using Pango in conjunction with Cairo and/or Gtk2 provides
26       a complete solution with high quality text handling and graphics
27       rendering.
28
29       Dynamically loaded modules handle text layout for particular
30       combinations of script and font backend. Pango provides a wide
31       selection of modules, including modules for Hebrew, Arabic, Hangul,
32       Thai, and a number of Indic scripts. Virtually all of the world's major
33       scripts are supported.
34
35       In addition to the low level layout rendering routines, Pango includes
36       Pango::Layout, a high level driver for laying out entire blocks of
37       text, and routines to assist in editing internationalized text.
38
39       [Adapted from <http://www.pango.org/>.]
40

DOCUMENTATION

42       Pango tries to stick very close in spirit to the C API of the
43       underlying pango library.  Thus, the manual available at
44       <http://library.gnome.org/devel/pango/stable/> also applies to this
45       module.  Additionally, API listings in POD form are generated during
46       compilation for each of the sub-modules.  An index of those POD pages
47       is available at Pango::index.
48

SEE ALSO

50       perl, Glib, Cairo, Gtk2.
51
52       Pango::index lists the autogenerated API documentation pod files for
53       Pango.
54
55       <http://www.pango.org/> is the homepage of the pango C library.  Its
56       API documentation is available at
57       <http://library.gnome.org/devel/pango/stable/>.
58

AUTHORS

60        muppet <scott at asofyet dot org>
61        Torsten Schoenfeld <kaffeetisch at gmx dot de>
62        Marc Lehmann <pcg at goof dot com>
63
65       Copyright 2003-2011, 2014 by the gtk2-perl team.
66
67       This library is free software; you can redistribute it and/or modify it
68       under the terms of the GNU Library General Public License as published
69       by the Free Software Foundation; either version 2 of the License, or
70       (at your option) any later version.
71
72       This library is distributed in the hope that it will be useful, but
73       WITHOUT ANY WARRANTY; without even the implied warranty of
74       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
75
76       See the LICENSE file in the top-level directory of this distribution
77       for the full license terms.
78
79
80
81perl v5.28.0                      2016-01-24                          Pango(3)
Impressum