diff options
Diffstat (limited to 'vcl/inc/sft.hxx')
-rw-r--r-- | vcl/inc/sft.hxx | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx index 7758545dd37c..1683e1af150c 100644 --- a/vcl/inc/sft.hxx +++ b/vcl/inc/sft.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -72,6 +73,8 @@ #include <vector> +#include "vcl/fontcapabilities.hxx" + namespace vcl { @@ -302,6 +305,12 @@ namespace vcl int VCL_DLLPUBLIC OpenTTFontFile(const char *fname, sal_uInt32 facenum, TrueTypeFont** ttf); #endif + 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. * @ingroup sft @@ -540,24 +549,6 @@ namespace vcl */ void GetTTGlobalFontInfo(TrueTypeFont *ttf, TTGlobalFontInfo *info); -#ifdef TEST5 -/** - * Returns kerning information for an array of glyphs. - * Kerning is not cumulative. - * kern[i] contains kerning information for a pair of glyphs at positions i and i+1 - * - * @param ttf pointer to a TrueTypeFont structure - * @param glyphs array of source glyphs - * @param nglyphs number of glyphs in the array - * @param wmode writing mode: 0 - horizontal, 1 - vertical - * @param kern array of KernData structures. It should contain nglyphs-1 elements - * @see KernData - * @ingroup sft - * - */ - void KernGlyphs(TrueTypeFont *ttf, sal_uInt16 *glyphs, int nglyphs, int wmode, KernData *kern); -#endif - /** * Returns nonzero if font is a symbol encoded font */ @@ -630,3 +621,5 @@ namespace vcl } // namespace vcl #endif /* __SUBFONT_H */ + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |