OSDN Git Service

Merge "Fix font size handling for harfbuzz hack" into ics-mr1
authorRussell Brenner <russellbrenner@google.com>
Wed, 9 Nov 2011 23:23:16 +0000 (15:23 -0800)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Wed, 9 Nov 2011 23:23:16 +0000 (15:23 -0800)
1  2 
Source/WebCore/platform/graphics/android/FontAndroid.cpp

@@@ -504,18 -504,13 +506,15 @@@ private
  
  // Indexed using enum CustomScript
  const char* TextRunWalker::paths[] = {
 +    "/system/fonts/Lohit-Bengali.ttf",
      "/system/fonts/Lohit-Devanagari.ttf",
 -    "/system/fonts/DroidSansThai.ttf",
 -    "/system/fonts/DroidNaskh-Regular.ttf",
      "/system/fonts/DroidSansHebrew-Regular.ttf",
 -    "/system/fonts/DroidSansHebrew-Bold.ttf"
 +    "/system/fonts/DroidSansHebrew-Bold.ttf",
 +    "/system/fonts/DroidNaskh-Regular.ttf",
 +    "/system/fonts/Lohit-Tamil.ttf",
 +    "/system/fonts/DroidSansThai.ttf"
  };
  
- // Indexed using enum CustomScript
- const FontPlatformData* TextRunWalker::s_fallbackPlatformData[] = {};
  TextRunWalker::TextRunWalker(const TextRun& run, unsigned startingX, const Font* font)
      : m_font(font)
      , m_startingX(startingX)