-
bashi@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=72844 Source/WebCore: Respects bold and italic properties that is given by fontconfig. Reviewed by Darin Fisher. * platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::getFontDataForCharacters): Removed #if and old logic. Source/WebKit/chromium: Removes old APIs for getting font family for given characters. Reviewed by Darin Fisher. * public/linux/WebFontInfo.h: Removed old familyForChars(). * public/linux/WebSandboxSupport.h: Removed old getFontFamilyForCharacters() and changed new getFontFamilyForCharacters() to be a pure virtual function. * src/linux/WebFontInfo.cpp: Removes old familyForChars(). LayoutTests: Font selection mechanism of Chromium Linux port has been improved. Rebaselines affected tests. Reviewed by Darin Fisher. * platform/chromium-linux/fast/text/cg-fallback-bolding-expected.png: * platform/chromium-linux/fast/text/cg-fallback-bolding-expected.txt: * platform/chromium-linux/fast/text/international/khmer-selection-expected.png: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
615df753