| 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/include/fxcrt/fx_system.h" | 7 #include "core/fxcrt/include/fx_system.h" |
| 8 | 8 |
| 9 #if _FX_OS_ == _FX_ANDROID_ | 9 #if _FX_OS_ == _FX_ANDROID_ |
| 10 | 10 |
| 11 #include <algorithm> | 11 #include <algorithm> |
| 12 | 12 |
| 13 #include "core/fxge/android/fpf_skiafont.h" | 13 #include "core/fxge/android/fpf_skiafont.h" |
| 14 #include "core/fxge/android/fpf_skiafontmgr.h" | 14 #include "core/fxge/android/fpf_skiafontmgr.h" |
| 15 #include "core/include/fxge/fx_freetype.h" | 15 #include "core/include/fxge/fx_freetype.h" |
| 16 | 16 |
| 17 #define FPF_EM_ADJUST(em, a) (em == 0 ? (a) : (a)*1000 / em) | 17 #define FPF_EM_ADJUST(em, a) (em == 0 ? (a) : (a)*1000 / em) |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 return FALSE; | 208 return FALSE; |
| 209 } | 209 } |
| 210 m_dwStyle = dwStyle; | 210 m_dwStyle = dwStyle; |
| 211 m_uCharset = uCharset; | 211 m_uCharset = uCharset; |
| 212 m_pFontMgr = pFontMgr; | 212 m_pFontMgr = pFontMgr; |
| 213 m_pFontDes = pFontDes; | 213 m_pFontDes = pFontDes; |
| 214 m_dwRefCount = 1; | 214 m_dwRefCount = 1; |
| 215 return TRUE; | 215 return TRUE; |
| 216 } | 216 } |
| 217 #endif | 217 #endif |
| OLD | NEW |