diff options
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> |