Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: webkit/port/platform/graphics/GlyphPageTreeNodeWin.cpp

Issue 10785: Debase our Uniscribe code. This moves FontUtils and all our Uniscribe code fr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/port/platform/graphics/GlyphPageTreeNodeWin.cpp
===================================================================
--- webkit/port/platform/graphics/GlyphPageTreeNodeWin.cpp (revision 5555)
+++ webkit/port/platform/graphics/GlyphPageTreeNodeWin.cpp (working copy)
@@ -35,7 +35,7 @@
#include "Font.h"
#include "GlyphPageTreeNode.h"
#include "SimpleFontData.h"
-#include "UniscribeStateTextRun.h"
+#include "UniscribeHelperTextRun.h"
#include "base/win_util.h"
@@ -196,11 +196,11 @@
{
bool have_glyphs = false;
- UniscribeStateTextRun state(buffer, GlyphPage::size * 2, false,
- fontData->m_font.hfont(),
- fontData->m_font.scriptCache(),
- fontData->m_font.scriptFontProperties());
- state.set_inhibit_ligate(true);
+ UniscribeHelperTextRun state(buffer, GlyphPage::size * 2, false,
+ fontData->m_font.hfont(),
+ fontData->m_font.scriptCache(),
+ fontData->m_font.scriptFontProperties());
+ state.setInhibitLigate(true);
state.Init();
for (unsigned i = 0; i < GlyphPage::size; i++) {

Powered by Google App Engine
This is Rietveld 408576698