Log also the size

Change-Id: I391fbc092b05600b0a4c2107e3934e1fb7334554
This commit is contained in:
Tor Lillqvist 2014-05-21 13:25:30 +03:00
parent e2565690b5
commit 02dcdb1011
2 changed files with 2 additions and 2 deletions

View file

@ -25,6 +25,7 @@
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/languagetag.hxx>
#include <tools/color.hxx> #include <tools/color.hxx>
#include <tools/gen.hxx>
#include <vcl/vclenum.hxx> #include <vcl/vclenum.hxx>
#include <vcl/fntstyle.hxx> #include <vcl/fntstyle.hxx>
@ -33,7 +34,6 @@ class SvStream;
class Impl_Font; class Impl_Font;
class ImplFontAttributes; class ImplFontAttributes;
class Size;
class VCL_DLLPUBLIC Font class VCL_DLLPUBLIC Font
{ {

View file

@ -76,13 +76,13 @@ public:
{ return !operator==( rMetric ); } { return !operator==( rMetric ); }
}; };
template< typename charT, typename traits > template< typename charT, typename traits >
inline std::basic_ostream<charT, traits> & operator <<( inline std::basic_ostream<charT, traits> & operator <<(
std::basic_ostream<charT, traits> & stream, const FontMetric& rMetric ) std::basic_ostream<charT, traits> & stream, const FontMetric& rMetric )
{ {
stream << "{" stream << "{"
<< "name=" << "\"" << rMetric.GetName() << "\"" << "name=" << "\"" << rMetric.GetName() << "\""
<< ",size=(" << rMetric.GetSize().Width() << "," << rMetric.GetSize().Height() << ")"
<< ",ascent=" << rMetric.GetAscent() << ",ascent=" << rMetric.GetAscent()
<< ",descent=" << rMetric.GetDescent() << ",descent=" << rMetric.GetDescent()
<< ",intLeading=" << rMetric.GetIntLeading() << ",intLeading=" << rMetric.GetIntLeading()