[Plib-cvs] CVS: plib/src/pui puFont.cxx,1.10,1.11
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-03-02 13:54:24
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv12872 Modified Files: puFont.cxx Log Message: In puFont::getStringHeight, return height excluding descender for TXF fonts Index: puFont.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puFont.cxx,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- puFont.cxx 28 Feb 2002 20:32:46 -0000 1.10 +++ puFont.cxx 2 Mar 2002 13:54:17 -0000 1.11 @@ -135,7 +135,7 @@ { float t, b ; fnt_font_handle -> getBBox ( s, pointsize, slant, NULL, NULL, &b, &t ) ; - return (int) ( t - b ) ; + return (int) t ; } return 0 ; |