[Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
authorbashi@chromium.org <bashi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Nov 2011 06:10:24 +0000 (06:10 +0000)
committerbashi@chromium.org <bashi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Nov 2011 06:10:24 +0000 (06:10 +0000)
commitd3c24d411351cd3f792fbb5694db83c44e953a30
tree72930f817e9de05bb7b2f6b95a5961eb2bac1f3b
parent352b2a4ae35d552aa355aa2cb7895f3dca322c95
[Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
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: https://svn.webkit.org/repository/webkit/trunk@100886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium-linux/fast/text/cg-fallback-bolding-expected.png
LayoutTests/platform/chromium-linux/fast/text/cg-fallback-bolding-expected.txt
LayoutTests/platform/chromium-linux/fast/text/international/khmer-selection-expected.png
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/FontCacheLinux.cpp
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/public/linux/WebFontInfo.h
Source/WebKit/chromium/public/linux/WebSandboxSupport.h
Source/WebKit/chromium/src/linux/WebFontInfo.cpp