bug 467669 - pt 4.1 - fix Mac font backend to mark local user fonts properly. r=roc

--HG--
extra : rebase_source : 9ef420cb21d14276e766e1acea5d93364d48b87f
This commit is contained in:
Jonathan Kew 2011-06-15 20:17:52 +01:00
parent d5411cefc7
commit 0696341392

View File

@ -866,6 +866,7 @@ gfxMacPlatformFontList::LookupLocalFont(const gfxProxyFontEntry *aProxyEntry,
aProxyEntry->mItalic ?
FONT_STYLE_ITALIC : FONT_STYLE_NORMAL,
nsnull);
newFontEntry->mIsUserFont = newFontEntry->mIsLocalUserFont = PR_TRUE;
} else {
newFontEntry =
new MacOSFontEntry(aFontName, fontRef,