diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-11 18:31:28 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-12 00:05:22 +0000 |
commit | 27154c4bb5ed80d699d706ebd1a84e807c3f1625 (patch) | |
tree | ee4b8ba505521003608434fd8e4add32965ba914 /include | |
parent | cbd483211e1ac9d9e724b5ba3e3e38a0c5abe55c (diff) |
vcl: split off ImplFontCharMap into it's own header file
Change-Id: I6173cd191cd771b1f030fa737617b1067278ee10
Reviewed-on: https://gerrit.libreoffice.org/21338
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/fontcharmap.hxx | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/include/vcl/fontcharmap.hxx b/include/vcl/fontcharmap.hxx index c4d495c368fd..b0dca542c2ee 100644 --- a/include/vcl/fontcharmap.hxx +++ b/include/vcl/fontcharmap.hxx @@ -17,8 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FONTCHARMAP_METRIC_HXX -#define INCLUDED_FONTCHARMAP_METRIC_HXX +#ifndef INCLUDED_FONTCHARMAP_HXX +#define INCLUDED_FONTCHARMAP_HXX #include <vcl/dllapi.h> #include <vcl/font.hxx> @@ -164,6 +164,23 @@ inline void intrusive_ptr_release(FontCharMap* pFontCharMap) delete pFontCharMap; } -#endif // INCLUDED_FONTCHARMAP_METRIC_HXX + +// CmapResult is a normalized version of the many CMAP formats +class VCL_PLUGIN_PUBLIC CmapResult +{ +public: + explicit CmapResult( bool bSymbolic = false, + const sal_uInt32* pRangeCodes = nullptr, int nRangeCount = 0, + const int* pStartGlyphs = nullptr, const sal_uInt16* pGlyphIds = nullptr ); + + const sal_uInt32* mpRangeCodes; + const int* mpStartGlyphs; + const sal_uInt16* mpGlyphIds; + int mnRangeCount; + bool mbSymbolic; + bool mbRecoded; +}; + +#endif // INCLUDED_FONTCHARMAP_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |