| Index: Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| diff --git a/Source/platform/fonts/mac/FontPlatformDataMac.mm b/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| index 833692d9cc280454631886462a48552a7b960692..3782b5e26f5e11413d048e0668ae756ab176b93e 100644
|
| --- a/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| +++ b/Source/platform/fonts/mac/FontPlatformDataMac.mm
|
| @@ -79,6 +79,7 @@ FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool syntheticBol
|
| , m_isCompositeFontReference(false)
|
| , m_widthVariant(widthVariant)
|
| , m_font(nsFont)
|
| + , m_localFont(false)
|
| , m_isHashTableDeletedValue(false)
|
| {
|
| ASSERT_ARG(nsFont, nsFont);
|
| @@ -110,6 +111,7 @@ void FontPlatformData::platformDataInit(const FontPlatformData& f)
|
|
|
| m_cgFont = f.m_cgFont;
|
| m_CTFont = f.m_CTFont;
|
| + m_localFont = f.m_localFont;
|
|
|
| m_inMemoryFont = f.m_inMemoryFont;
|
| m_harfBuzzFace = f.m_harfBuzzFace;
|
| @@ -127,6 +129,7 @@ const FontPlatformData& FontPlatformData::platformDataAssign(const FontPlatformD
|
| CFRelease(m_font);
|
| m_font = f.m_font;
|
| m_CTFont = f.m_CTFont;
|
| + m_localFont = f.m_localFont;
|
|
|
| m_inMemoryFont = f.m_inMemoryFont;
|
| m_harfBuzzFace = f.m_harfBuzzFace;
|
| @@ -172,6 +175,7 @@ void FontPlatformData::setFont(NSFont *font)
|
| }
|
| #endif
|
| m_CTFont = nullptr;
|
| + m_localFont = false;
|
| }
|
|
|
| bool FontPlatformData::roundsGlyphAdvances() const
|
|
|