Kaydet (Commit) 02dcdb10 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Log also the size

Change-Id: I391fbc092b05600b0a4c2107e3934e1fb7334554
üst e2565690
...@@ -25,6 +25,7 @@ ...@@ -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; ...@@ -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
{ {
......
...@@ -76,13 +76,13 @@ public: ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment