groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff/src/include font.h


From: Werner LEMBERG
Subject: [Groff-commit] groff/src/include font.h
Date: Thu, 26 Jan 2006 20:09:06 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Branch:         
Changes by:     Werner LEMBERG <address@hidden> 06/01/26 20:09:06

Modified files:
        src/include    : font.h 

Log message:
        Minor doc improvement.  From Bruno.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/include/font.h.diff?tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: groff/src/include/font.h
diff -u groff/src/include/font.h:1.8 groff/src/include/font.h:1.9
--- groff/src/include/font.h:1.8        Thu Jan 26 15:15:00 2006
+++ groff/src/include/font.h    Thu Jan 26 20:09:06 2006
@@ -61,17 +61,19 @@
   int get_height(int, int);    // A rectangle represents the shape of the
                        // glyph with the given index (arg1) at the given
                        // point size (arg2).  Return the distance between
-                       // the base line and the top of this rectangle.  If
-                       // the top is above the base line, this value is
-                       // positive.
+                       // the base line and the top of this rectangle.
+                       // This is often also called the `ascent' of the
+                       // glyph.  If the top is above the base line, this
+                       // value is positive.
   int get_depth(int, int);     // A rectangle represents the shape of the
                        // glyph with the given index (arg1) at the given
                        // point size (arg2).  Return the distance between
                        // the base line and the bottom of this rectangle. 
-                       // If the bottom is below the base line, this value
-                       // is positive.
+                       // This is often also called the `descent' of the
+                       // glyph.  If the bottom is below the base line,
+                       // this value is positive.
   int get_space_width(int);    // Return the normal width of a space at the
-                       // given point size.
+                       // given point size.
   int get_character_type(int); // Return a bit mask describing the shape of
                        // the glyph with the given index.  Bit 0 is set if
                        // the character has a descender.  Bit 1 is set if




reply via email to

[Prev in Thread] Current Thread [Next in Thread]