From e1cfe6720d1fea7aa47882a31656b24da2a7380f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 17 Nov 2005 04:56:14 +0000 Subject: Various documentation improvements. 2005-11-16 Behdad Esfahbod * 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. --- docs/tmpl/glyphs.sgml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'docs/tmpl/glyphs.sgml') 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. - - - -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. @@ -214,12 +211,12 @@ information for a single glyph. 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. -- cgit v1.2.1