diff options
Diffstat (limited to 'core/fxge/cfx_font.h')
-rw-r--r-- | core/fxge/cfx_font.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxge/cfx_font.h b/core/fxge/cfx_font.h index a5a0057c16..0d858ea5c4 100644 --- a/core/fxge/cfx_font.h +++ b/core/fxge/cfx_font.h @@ -50,8 +50,10 @@ class CFX_Font { #ifdef PDF_ENABLE_XFA bool LoadFile(const RetainPtr<IFX_SeekableReadStream>& pFile, int nFaceIndex); +#if _FX_PLATFORM_ != _FX_PLATFORM_WINDOWS_ void SetFace(FXFT_Face face); void SetSubstFont(std::unique_ptr<CFX_SubstFont> subst); +#endif // _FX_PLATFORM_ != _FX_PLATFORM_WINDOWS_ #endif // PDF_ENABLE_XFA const CFX_GlyphBitmap* LoadGlyphBitmap(uint32_t glyph_index, |