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

Side by Side Diff: core/fxge/include/cfx_renderdevice.h

Issue 2276653002: Add fallback fonts in pdfium (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 4 years, 3 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ 7 #ifndef CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_
8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ 8 #define CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 struct FXTEXT_CHARPOS { 70 struct FXTEXT_CHARPOS {
71 FX_FLOAT m_AdjustMatrix[4]; 71 FX_FLOAT m_AdjustMatrix[4];
72 FX_FLOAT m_OriginX; 72 FX_FLOAT m_OriginX;
73 FX_FLOAT m_OriginY; 73 FX_FLOAT m_OriginY;
74 uint32_t m_GlyphIndex; 74 uint32_t m_GlyphIndex;
75 int32_t m_FontCharWidth; 75 int32_t m_FontCharWidth;
76 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 76 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
77 uint32_t m_ExtGID; 77 uint32_t m_ExtGID;
78 #endif 78 #endif
79 uint32_t m_FallbackFontPosition;
79 bool m_bGlyphAdjust; 80 bool m_bGlyphAdjust;
80 bool m_bFontStyle; 81 bool m_bFontStyle;
81 }; 82 };
82 83
83 class CFX_RenderDevice { 84 class CFX_RenderDevice {
84 public: 85 public:
85 CFX_RenderDevice(); 86 CFX_RenderDevice();
86 virtual ~CFX_RenderDevice(); 87 virtual ~CFX_RenderDevice();
87 88
88 // Take ownership of |pDriver|. 89 // Take ownership of |pDriver|.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 int m_Width; 278 int m_Width;
278 int m_Height; 279 int m_Height;
279 int m_bpp; 280 int m_bpp;
280 int m_RenderCaps; 281 int m_RenderCaps;
281 int m_DeviceClass; 282 int m_DeviceClass;
282 FX_RECT m_ClipBox; 283 FX_RECT m_ClipBox;
283 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver; 284 std::unique_ptr<IFX_RenderDeviceDriver> m_pDeviceDriver;
284 }; 285 };
285 286
286 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_ 287 #endif // CORE_FXGE_INCLUDE_CFX_RENDERDEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698