diff options
Diffstat (limited to 'include/vcl/fontcharmap.hxx')
-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: */ |