| Index: third_party/WebKit/WebCore/platform/graphics/chromium/UniscribeHelper.h
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/platform/graphics/chromium/UniscribeHelper.h (revision 7936)
|
| +++ third_party/WebKit/WebCore/platform/graphics/chromium/UniscribeHelper.h (working copy)
|
| @@ -143,6 +143,16 @@
|
| m_ascent = ascent;
|
| }
|
|
|
| + // When set to true, this class is used only to look up glyph
|
| + // indices for a range of Unicode characters without glyph placement.
|
| + // By default, it's false. This should be set to true when this
|
| + // class is used for glyph index look-up for non-BMP characters
|
| + // in GlyphPageNodeChromiumWin.cpp.
|
| + void setDisableFontFallback(bool disableFontFallback)
|
| + {
|
| + m_disableFontFallback = true;
|
| + }
|
| +
|
| // You must call this after setting any options but before doing any
|
| // other calls like asking for widths or drawing.
|
| void Init()
|
| @@ -382,6 +392,7 @@
|
| int m_letterSpacing;
|
| int m_spaceWidth;
|
| int m_wordSpacing;
|
| + bool m_disableFontFallback;
|
|
|
| // Uniscribe breaks the text into Runs. These are one length of text that is
|
| // in one script and one direction. This array is in reading order.
|
|
|