diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-11-17 04:56:14 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-11-17 04:56:14 +0000 |
commit | e1cfe6720d1fea7aa47882a31656b24da2a7380f (patch) | |
tree | b28a047334662aa1317e312c3a10fbedab6e5a2a /docs/tmpl/glyphs.sgml | |
parent | 2e44c9c2b46b896dfa867b749702e483eda0c3c1 (diff) | |
download | pango-e1cfe6720d1fea7aa47882a31656b24da2a7380f.tar.gz |
Various documentation improvements.
2005-11-16 Behdad Esfahbod <behdad@gnome.org>
* docs/pango_markup.sgml docs/tmpl/coverage-maps.sgml
docs/tmpl/engines.sgml docs/tmpl/fonts.sgml
docs/tmpl/freetype-fonts.sgml docs/tmpl/glyphs.sgml
docs/tmpl/layout.sgml docs/tmpl/main.sgml
docs/tmpl/modules.sgml docs/tmpl/opentype.sgml
docs/tmpl/pango-engine-lang.sgml
docs/tmpl/pango-engine-shape.sgml
docs/tmpl/pango-renderer.sgml docs/tmpl/pangocairo.sgml
docs/tmpl/pangofc-decoder.sgml docs/tmpl/pangofc-font.sgml
docs/tmpl/pangofc-fontmap.sgml docs/tmpl/scripts.sgml
docs/tmpl/tab-stops.sgml docs/tmpl/text-attributes.sgml
docs/tmpl/win32-fonts.sgml docs/tmpl/x-fonts.sgml
docs/tmpl/xft-fonts.sgml pango/break.c pango/ellipsize.c
pango/fonts.c pango/pango-attributes.c pango/pango-color.c
pango/pango-context.c pango/pango-coverage.c
pango/pango-fontmap.c pango/pango-glyph-item.c
pango/pango-layout.c pango/pango-markup.c pango/pango-tabs.c
pango/pango-types.h pango/pango-utils.c
pango/pangoft2-render.c pango/pangox.c pango/pangoxft-render.c:
Various documentation improvements.
Diffstat (limited to 'docs/tmpl/glyphs.sgml')
-rw-r--r-- | docs/tmpl/glyphs.sgml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/docs/tmpl/glyphs.sgml b/docs/tmpl/glyphs.sgml index 0f9c1bfe..a25e5895 100644 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@ -17,15 +17,12 @@ glyphs. </para> -<!-- ##### SECTION Stability_Level ##### --> - - <!-- ##### MACRO PANGO_SCALE ##### --> <para> -The PANGO_SCALE macro represents the scale between dimensions used +The %PANGO_SCALE macro represents the scale between dimensions used for Pango distances and device units. (The definition of device units is dependent on the output device; it will typically be pixels -for a screen, and points for a printer.) PANGO_SCALE is currently +for a screen, and points for a printer.) %PANGO_SCALE is currently 1024, but this may be changed in the future. </para> <para> @@ -214,12 +211,12 @@ information for a single glyph. <!-- ##### TYPEDEF PangoGlyphUnit ##### --> <para> The #PangoGlyphUnit type is used to store dimensions within -Pango. Dimensions are stored in 1/PANGO_SCALE of a device unit. +Pango. Dimensions are stored in 1/%PANGO_SCALE of a device unit. (A device unit might be a pixel for screen display, or -a point on a printer.) PANGO_SCALE is currently 1024, and -is unlikely to change, but you should not depend on its -exact value. The PANGO_PIXELS() macro can be used to convert -from glyph units into device units with correct rounding. +a point on a printer.) %PANGO_SCALE is currently 1024, and +may change in the future (unlikely though), but you should not +depend on its exact value. The PANGO_PIXELS() macro can be used +to convert from glyph units into device units with correct rounding. </para> |