summaryrefslogtreecommitdiff
path: root/vcl/inc/generic
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-04-27 11:01:51 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-04-29 12:45:38 +0200
commitd225318ead0154681982656bcd3e98011e022c34 (patch)
tree6e95222ee11083987c0479d065847286633dd14b /vcl/inc/generic
parent2b21f71065b44949cce2a9acbc5f379f0ab86ab6 (diff)
[harfbuzz] Correctly apply RTL width adjustments
It turns out it is GenericSalLayout::ApplyDXArray() that is messing with glyph advance widths trying to recalculate them. It is very old code (it has been there since ICU were introduced back in 2002), but whatever issue it is fixing, HarfBuzz does not need it. Change-Id: I5c896d3f318e2f17d135f9eea599b917e04ed592
Diffstat (limited to 'vcl/inc/generic')
-rw-r--r--vcl/inc/generic/glyphcache.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx
index d9f8378a28d9..cc3ae497c584 100644
--- a/vcl/inc/generic/glyphcache.hxx
+++ b/vcl/inc/generic/glyphcache.hxx
@@ -322,6 +322,7 @@ public:
ServerFontLayout( ServerFont& );
virtual bool LayoutText( ImplLayoutArgs& );
virtual void AdjustLayout( ImplLayoutArgs& );
+ virtual void ApplyDXArray( ImplLayoutArgs& );
virtual void DrawText( SalGraphics& ) const;
ServerFont& GetServerFont() const { return mrServerFont; }
};