| OLD | NEW | 
|---|
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 
| 6 | 6 | 
| 7 #include "core/fxcrt/include/fx_system.h" | 7 #include "core/fxcrt/fx_system.h" | 
| 8 | 8 | 
| 9 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_ | 9 #if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_ | 
| 10 | 10 | 
| 11 #include <windows.h> | 11 #include <windows.h> | 
| 12 | 12 | 
| 13 #include <algorithm> | 13 #include <algorithm> | 
| 14 | 14 | 
| 15 #include "core/fxge/dib/dib_int.h" | 15 #include "core/fxge/dib/dib_int.h" | 
| 16 #include "core/fxge/ge/fx_text_int.h" | 16 #include "core/fxge/ge/fx_text_int.h" | 
| 17 #include "core/fxge/include/cfx_renderdevice.h" | 17 #include "core/fxge/include/cfx_renderdevice.h" | 
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 322   // Try to get the font and draw again. | 322   // Try to get the font and draw again. | 
| 323   g_pdfium_typeface_accessible_func(&lf, wsText.c_str(), nChars); | 323   g_pdfium_typeface_accessible_func(&lf, wsText.c_str(), nChars); | 
| 324   return ExtTextOutW(m_hDC, 0, 0, ETO_GLYPH_INDEX, nullptr, wsText.c_str(), | 324   return ExtTextOutW(m_hDC, 0, 0, ETO_GLYPH_INDEX, nullptr, wsText.c_str(), | 
| 325                      nChars, nChars > 1 ? &spacing[1] : nullptr); | 325                      nChars, nChars > 1 ? &spacing[1] : nullptr); | 
| 326 #else | 326 #else | 
| 327   return FALSE; | 327   return FALSE; | 
| 328 #endif | 328 #endif | 
| 329 } | 329 } | 
| 330 | 330 | 
| 331 #endif  // _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_ | 331 #endif  // _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_DESKTOP_ | 
| OLD | NEW | 
|---|