diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-08-16 15:17:41 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-09-04 18:17:15 +0200 |
commit | fb43c497f2cc71c988a967fa0126c27561f8c16d (patch) | |
tree | a02a71b116a9dcfcec1fb5a0ed9095b3af135e9d /include | |
parent | 5c5c71266ff14493975f20ff5807f31565a3f909 (diff) |
tdf#134193: Support rendering math in RTL mode
Respect IsRightToLeft property and render accordingly.
This also fixes math rendering in RTL UI, which was incorrectly rendered RTL.
Change-Id: Id8520930f09a21daa1c70e40a765ac25572ea994
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155738
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 898939978daa..f2fdf7ab7db7 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1217,9 +1217,9 @@ public: // tells whether this output device is RTL in an LTR UI or LTR in a RTL UI SAL_DLLPRIVATE bool ImplIsAntiparallel() const ; - SAL_DLLPRIVATE void ReMirror( Point &rPoint ) const; - SAL_DLLPRIVATE void ReMirror( tools::Rectangle &rRect ) const; - SAL_DLLPRIVATE void ReMirror( vcl::Region &rRegion ) const; + void ReMirror( Point &rPoint ) const; + void ReMirror( tools::Rectangle &rRect ) const; + void ReMirror( vcl::Region &rRegion ) const; SAL_DLLPRIVATE bool ImplIsRecordLayout() const; virtual bool HasMirroredGraphics() const; std::unique_ptr<SalLayout> |