Index: xfa/fde/fde_gedevice.cpp |
diff --git a/xfa/fde/fde_gedevice.cpp b/xfa/fde/fde_gedevice.cpp |
index 9c6cde3dbe89e19c9c8d2fa32d4efa2adbb57ca9..d4397e87aec1541dd616e85965af1a6300a45677 100644 |
--- a/xfa/fde/fde_gedevice.cpp |
+++ b/xfa/fde/fde_gedevice.cpp |
@@ -11,6 +11,7 @@ |
#include "xfa/fde/cfde_path.h" |
#include "xfa/fde/fde_object.h" |
#include "xfa/fgas/font/fgas_font.h" |
+#include "xfa/fgas/font/fgas_gefont.h" |
CFDE_RenderDevice::CFDE_RenderDevice(CFX_RenderDevice* pDevice, |
FX_BOOL bOwnerDevice) |
@@ -105,7 +106,7 @@ FX_BOOL CFDE_RenderDevice::DrawImage(CFX_DIBSource* pDib, |
return handle != NULL; |
} |
FX_BOOL CFDE_RenderDevice::DrawString(CFDE_Brush* pBrush, |
- IFX_Font* pFont, |
+ CFX_GEFont* pFont, |
const FXTEXT_CHARPOS* pCharPos, |
int32_t iCount, |
FX_FLOAT fFontSize, |
@@ -128,8 +129,8 @@ FX_BOOL CFDE_RenderDevice::DrawString(CFDE_Brush* pBrush, |
} |
} |
FXTEXT_CHARPOS* pCP = (FXTEXT_CHARPOS*)pCharPos; |
- IFX_Font* pCurFont = NULL; |
- IFX_Font* pSTFont = NULL; |
+ CFX_GEFont* pCurFont = NULL; |
+ CFX_GEFont* pSTFont = NULL; |
FXTEXT_CHARPOS* pCurCP = NULL; |
int32_t iCurCount = 0; |