diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-28 16:57:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:38:55 +0000 |
commit | b610ea59875a876712b1c57702eae615e424267a (patch) | |
tree | ea8132eee89bdb2078fb81707d758f20e4bbc307 /vcl/inc/sft.hxx | |
parent | const static data (diff) | |
download | core-b610ea59875a876712b1c57702eae615e424267a.tar.gz core-b610ea59875a876712b1c57702eae615e424267a.zip |
Get better hints as to what script a font is likely tuned for
Diffstat (limited to 'vcl/inc/sft.hxx')
-rw-r--r-- | vcl/inc/sft.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx index 33577d959ea7..0ba501e976b1 100644 --- a/vcl/inc/sft.hxx +++ b/vcl/inc/sft.hxx @@ -71,7 +71,7 @@ #include <vector> -typedef std::vector< sal_uInt32 > FontLayoutCapabilities; +#include "vcl/fontcapabilities.hxx" namespace vcl { @@ -303,7 +303,11 @@ namespace vcl int OpenTTFontFile(const char *fname, sal_uInt32 facenum, TrueTypeFont** ttf); #endif - void getTTFontLayoutCapabilities(FontLayoutCapabilities &rFontLayoutCapabilities, const unsigned char* pTable); + void getTTScripts(std::vector< sal_uInt32 > &rScriptTags, const unsigned char* pTable, size_t nLength); + bool getTTCoverage( + boost::dynamic_bitset<sal_uInt32> &rUnicodeCoverage, + boost::dynamic_bitset<sal_uInt32> &rCodePageCoverage, + const unsigned char* pTable, size_t nLength); /** * TrueTypeFont destructor. Deallocates the memory. |