#include <wchar.h>
#include <windows.h>
-namespace WebCore {
+class SkFontMgr;
-// Return a font family that can render |characters| based on
-// what script characters belong to.
-// FIXME: This function needs a total overhaul.
-PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const UChar* characters,
- int length,
- FontDescription::GenericFamilyType);
+namespace WebCore {
// Return a font family that can render |character| based on what script
// that characters belong to.
// the family is returned.
PLATFORM_EXPORT const UChar* getFallbackFamily(UChar32 character,
FontDescription::GenericFamilyType,
- UScriptCode* scriptChecked);
+ UScriptCode* scriptChecked,
+ SkFontMgr* fontManager);
} // namespace WebCore