summaryrefslogtreecommitdiff
path: root/vcl/inc/sft.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/sft.hxx')
-rw-r--r--vcl/inc/sft.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index 88ba2844e1e0..7758545dd37c 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -68,6 +68,8 @@
#include <sal/types.h>
+#include "vcl/dllapi.h"
+
#include <vector>
namespace vcl
@@ -286,7 +288,7 @@ namespace vcl
* @return value of SFErrCodes enum
* @ingroup sft
*/
- int OpenTTFontBuffer(void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf); /*FOLD01*/
+ int VCL_DLLPUBLIC OpenTTFontBuffer(void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf); /*FOLD01*/
#if !defined(WIN32) && !defined(OS2)
/**
* TrueTypeFont constructor.
@@ -297,14 +299,14 @@ namespace vcl
* @return value of SFErrCodes enum
* @ingroup sft
*/
- int OpenTTFontFile(const char *fname, sal_uInt32 facenum, TrueTypeFont** ttf);
+ int VCL_DLLPUBLIC OpenTTFontFile(const char *fname, sal_uInt32 facenum, TrueTypeFont** ttf);
#endif
/**
* TrueTypeFont destructor. Deallocates the memory.
* @ingroup sft
*/
- void CloseTTFont(TrueTypeFont *);
+ void VCL_DLLPUBLIC CloseTTFont(TrueTypeFont *);
/**
* Extracts TrueType control points, and stores them in an allocated array pointed to
@@ -505,7 +507,7 @@ namespace vcl
* MapString() replaces the UCS-2 characters in str with glyphIDs.
* @ingroup sft
*/
- int MapString(TrueTypeFont *ttf, sal_uInt16 *str, int nchars, sal_uInt16 *glyphArray, int bvertical);
+ int VCL_DLLPUBLIC MapString(TrueTypeFont *ttf, sal_uInt16 *str, int nchars, sal_uInt16 *glyphArray, int bvertical);
/**
* Maps a Unicode (UCS-2) character to a glyph ID and returns it. Missing glyph has