summaryrefslogtreecommitdiff
path: root/vcl/source/glyphs
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2002-08-01 12:31:46 +0000
committerHerbert Duerr <hdu@openoffice.org>2002-08-01 12:31:46 +0000
commitc62aaba7f0a42682a45057f9eb111426ef1e8806 (patch)
treed0e5bb0bfec01d0663efc7acbed9027b7de6306e /vcl/source/glyphs
parente3b1d7c8137e2619a98c3b03bf2320553ec7a8e9 (diff)
#100671# avoid nCharExtra parameter, remove debug code
Diffstat (limited to 'vcl/source/glyphs')
-rwxr-xr-xvcl/source/glyphs/gcach_layout.cxx27
1 files changed, 3 insertions, 24 deletions
diff --git a/vcl/source/glyphs/gcach_layout.cxx b/vcl/source/glyphs/gcach_layout.cxx
index ab7c2e365bd3..bade674b2d9b 100755
--- a/vcl/source/glyphs/gcach_layout.cxx
+++ b/vcl/source/glyphs/gcach_layout.cxx
@@ -2,8 +2,8 @@
*
* $RCSfile: gcach_layout.cxx,v $
*
- * $Revision: 1.11 $
- * last change: $Author: hdu $ $Date: 2002-07-24 16:44:56 $
+ * $Revision: 1.12 $
+ * last change: $Author: hdu $ $Date: 2002-08-01 13:31:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -299,7 +299,7 @@ const void* IcuFontFromServerFont::getFontTable( LETag nICUTableTag ) const
fprintf(stderr,"IcuGetTable(\"%s\") => %p\n", pTagName, pBuffer);
int mnHeight = mpServerFont->GetFontSelData().mnHeight;
const char* pName = mpServerFont->GetFontFileName()->getStr();
- fprintf(stderr,"font( h=%d, s=%\"%s\" )\n", mnHeight, pName );
+ fprintf(stderr,"font( h=%d, s=%\"%s\" )\n", mnHeight, pName );
#endif
return (const void*)pBuffer;
}
@@ -386,9 +386,6 @@ float IcuFontFromServerFont::getXPixelsPerEm() const
{
const ImplFontSelectData& r = mpServerFont->GetFontSelData();
float fX = r.mnWidth ? r.mnWidth : r.mnHeight;
-#ifdef VERBOSE_DEBUG
- fprintf(stderr,"mnXPixel4EM %f\n", fX );
-#endif
return fX;
}
@@ -397,9 +394,6 @@ float IcuFontFromServerFont::getXPixelsPerEm() const
float IcuFontFromServerFont::getYPixelsPerEm() const
{
float fY = mpServerFont->GetFontSelData().mnHeight;
-#ifdef VERBOSE_DEBUG
- fprintf(stderr,"mnYPixel4EM %f\n", fY );
-#endif
return fY;
}
@@ -432,9 +426,6 @@ void IcuFontFromServerFont::unitsToPoints( LEPoint &units, LEPoint &points ) con
{
points.fX = xUnitsToPoints( units.fX );
points.fY = yUnitsToPoints( units.fY );
-#ifdef VERBOSE_DEBUG
- fprintf(stderr,"u2p( %f, %f ) => ( %f, %f )\n", units.fX, units.fY, points.fX, points.fY );
-#endif
}
// -----------------------------------------------------------------------
@@ -445,9 +436,6 @@ float IcuFontFromServerFont::xPixelsToUnits( float xPixels ) const
fPixels *= mpServerFont->GetEmUnits();
const ImplFontSelectData& r = mpServerFont->GetFontSelData();
fPixels /= r.mnWidth ? r.mnWidth : r.mnHeight;
-#ifdef VERBOSE_DEBUG
- fprintf(stderr,"xp2u( %f ) => %f\n", xPixels, fPixels );
-#endif
return fPixels;
}
@@ -458,9 +446,6 @@ float IcuFontFromServerFont::yPixelsToUnits( float yPixels ) const
float fPixels = yPixels;
fPixels *= mpServerFont->GetEmUnits();
fPixels /= mpServerFont->GetFontSelData().mnHeight;
-#ifdef VERBOSE_DEBUG
- fprintf(stderr,"p2u( %f ) => %f\n", yPixels, fPixels );
-#endif
return fPixels;
}
@@ -468,9 +453,6 @@ float IcuFontFromServerFont::yPixelsToUnits( float yPixels ) const
void IcuFontFromServerFont::pixelsToUnits( LEPoint &pixels, LEPoint &units ) const
{
-#ifdef VERBOSE_DEBUG
- fprintf(stderr,"p2u( %f, %f )\n", pixels.fX, pixels.fY );
-#endif
units.fX = xPixelsToUnits( pixels.fX );
units.fY = yPixelsToUnits( pixels.fY );
}
@@ -482,9 +464,6 @@ void IcuFontFromServerFont::transformFunits( float xFunits, float yFunits, LEPoi
// TODO: avoid assumption pixels==points
LEPoint units = { xFunits, yFunits };
unitsToPoints( units, pixels );
-#ifdef VERBOSE_DEBUG
- fprintf(stderr,"tfu( %f, %f ) => ( %f, %f )\n", xFunits, yFunits, pixels.fX, pixels.fY );
-#endif
}
// =======================================================================