20#ifndef INCLUDED_VCL_INC_FONTATTRIBUTES_HXX
21#define INCLUDED_VCL_INC_FONTATTRIBUTES_HXX
24#include <rtl/ustring.hxx>
48 void SetFamilyName(
const OUString& sFamilyName) { maFamilyName = sFamilyName; }
49 void SetStyleName(
const OUString& sStyleName) { maStyleName = sStyleName; }
57 void SetMicrosoftSymbolEncoded(
const bool );
59 bool CompareDeviceIndependentFontAttributes(
const FontAttributes& rOther)
const;
66 void SetQuality(
int nQuality ) { mnQuality = nQuality; }
68 void AddMapName( std::u16string_view );
99 if (aMapName.size() == 0)
101 SAL_WARN(
"vcl.fonts",
"New map name is empty");
void SetPitch(const FontPitch ePitch)
const OUString & GetMapNames() const
void AddMapName(std::u16string_view)
void SetFamilyType(const FontFamily eFontFamily)
void IncreaseQualityBy(int nQualityAmount)
bool mbMicrosoftSymbolEncoded
void SetItalic(const FontItalic eItalic)
bool IsMicrosoftSymbolEncoded() const
FontFamily GetFamilyType() const
FontItalic GetItalic() const
void SetMicrosoftSymbolEncoded(const bool)
void SetWeight(const FontWeight eWeight)
FontWeight GetWeight() const
void SetStyleName(const OUString &sStyleName)
const OUString & GetFamilyName() const
void SetWidthType(const FontWidth eWidthType)
void SetFamilyName(const OUString &sFamilyName)
FontPitch GetPitch() const
void SetQuality(int nQuality)
const OUString & GetStyleName() const
FontWidth GetWidthType() const
#define SAL_WARN(area, stream)