summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-04 15:48:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-04 16:14:42 +0100
commit3b4d361c21a1289b664cbcb9c15751d99ef6348d (patch)
tree69a0651fd9c2e731a51645ec1428e09a2682a65d /vcl/inc
parent4097ce73b66bce586bef0c0f41bc59559c52be0f (diff)
Resolves: rhbz#968892 force render full grapheme with fallback font
Change-Id: I5bb98c61d047e69d74666261b2c489d80f344502
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/generic/glyphcache.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx
index a7363f9bfa42..d6cdee19d6e9 100644
--- a/vcl/inc/generic/glyphcache.hxx
+++ b/vcl/inc/generic/glyphcache.hxx
@@ -37,6 +37,7 @@ class ImplFontOptions;
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#include <boost/shared_ptr.hpp>
+#include <com/sun/star/i18n/XBreakIterator.hpp>
namespace basegfx { class B2DPolyPolygon; }
@@ -311,6 +312,7 @@ class VCL_DLLPUBLIC ServerFontLayout : public GenericSalLayout
{
private:
ServerFont& mrServerFont;
+ com::sun::star::uno::Reference<com::sun::star::i18n::XBreakIterator> mxBreak;
// enforce proper copy semantic
SAL_DLLPRIVATE ServerFontLayout( const ServerFontLayout& );
@@ -323,6 +325,9 @@ public:
virtual bool LayoutText( ImplLayoutArgs& );
virtual void AdjustLayout( ImplLayoutArgs& );
virtual void DrawText( SalGraphics& ) const;
+ void setNeedFallback(ImplLayoutArgs& rArgs, sal_Int32 nIndex,
+ bool bRightToLeft);
+
ServerFont& GetServerFont() const { return mrServerFont; }
};