Kaydet (Commit) 47e77dff authored tarafından Herbert Duerr [hdu]'s avatar Herbert Duerr [hdu]

#i110023# fix attribute based font matching

üst ffdc043d
...@@ -2091,11 +2091,14 @@ ImplDevFontListData* ImplDevFontList::FindDefaultFont() const ...@@ -2091,11 +2091,14 @@ ImplDevFontListData* ImplDevFontList::FindDefaultFont() const
ImplDevFontList* ImplDevFontList::Clone( bool bScalable, bool bEmbeddable ) const ImplDevFontList* ImplDevFontList::Clone( bool bScalable, bool bEmbeddable ) const
{ {
ImplDevFontList* pClonedList = new ImplDevFontList; ImplDevFontList* pClonedList = new ImplDevFontList;
pClonedList->mbMatchData = mbMatchData; // pClonedList->mbMatchData = mbMatchData;
pClonedList->mbMapNames = mbMapNames; pClonedList->mbMapNames = mbMapNames;
pClonedList->mpPreMatchHook = mpPreMatchHook; pClonedList->mpPreMatchHook = mpPreMatchHook;
pClonedList->mpFallbackHook = mpFallbackHook; pClonedList->mpFallbackHook = mpFallbackHook;
// TODO: clone the config-font attributes too?
pClonedList->mbMatchData = false;
DevFontList::const_iterator it = maDevFontList.begin(); DevFontList::const_iterator it = maDevFontList.begin();
for(; it != maDevFontList.end(); ++it ) for(; it != maDevFontList.end(); ++it )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment