equal
deleted
inserted
replaced
54 m_adjustedSpaceWidth = m_spaceWidth; |
54 m_adjustedSpaceWidth = m_spaceWidth; |
55 } |
55 } |
56 |
56 |
57 void FontData::platformDestroy() |
57 void FontData::platformDestroy() |
58 { |
58 { |
59 StaticObjectsContainer::instance()->fontCache()->ReleaseFont( m_font.Font() ); |
59 // Do Nothing. m_font is owned by the Font Cache |
|
60 // and maybe shared with other FontData instances |
60 } |
61 } |
61 |
62 |
62 FontData* FontData::smallCapsFontData(const FontDescription& fontDescription) const |
63 FontData* FontData::smallCapsFontData(const FontDescription& fontDescription) const |
63 { |
64 { |
64 if (!m_smallCapsFontData) { |
65 if (!m_smallCapsFontData) { |