summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-05-21 13:25:30 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-21 13:26:14 +0300
commit02dcdb10111b9c5f644cbded01c6da688e807dac (patch)
tree1e10e622446d2046a693c7a77866d78b4bcfa7bf
parente2565690b5d1814d21c1df9bfeefe971e0265738 (diff)
Log also the size
Change-Id: I391fbc092b05600b0a4c2107e3934e1fb7334554
-rw-r--r--include/vcl/font.hxx2
-rw-r--r--include/vcl/metric.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx
index d9649baa8890..5e0b13481005 100644
--- a/include/vcl/font.hxx
+++ b/include/vcl/font.hxx
@@ -25,6 +25,7 @@
#include <vcl/dllapi.h>
#include <i18nlangtag/languagetag.hxx>
#include <tools/color.hxx>
+#include <tools/gen.hxx>
#include <vcl/vclenum.hxx>
#include <vcl/fntstyle.hxx>
@@ -33,7 +34,6 @@ class SvStream;
class Impl_Font;
class ImplFontAttributes;
-class Size;
class VCL_DLLPUBLIC Font
{
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx
index f1be383dd111..8e0957ac9924 100644
--- a/include/vcl/metric.hxx
+++ b/include/vcl/metric.hxx
@@ -76,13 +76,13 @@ public:
{ return !operator==( rMetric ); }
};
-
template< typename charT, typename traits >
inline std::basic_ostream<charT, traits> & operator <<(
std::basic_ostream<charT, traits> & stream, const FontMetric& rMetric )
{
stream << "{"
<< "name=" << "\"" << rMetric.GetName() << "\""
+ << ",size=(" << rMetric.GetSize().Width() << "," << rMetric.GetSize().Height() << ")"
<< ",ascent=" << rMetric.GetAscent()
<< ",descent=" << rMetric.GetDescent()
<< ",intLeading=" << rMetric.GetIntLeading()