Log also the size
Change-Id: I391fbc092b05600b0a4c2107e3934e1fb7334554
This commit is contained in:
parent
e2565690b5
commit
02dcdb1011
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue