From: Udi Fogiel Date: Thu, 10 Aug 2023 03:33:52 +0000 (+0300) Subject: Graphics inset is not forceLTR without pdftex (#12865) X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6671f9bee1cf8fb551dfb08ca7676ab3ffcea989;p=features.git Graphics inset is not forceLTR without pdftex (#12865) --- diff --git a/src/insets/InsetGraphics.h b/src/insets/InsetGraphics.h index ff450d1b9a..df2abc4b01 100644 --- a/src/insets/InsetGraphics.h +++ b/src/insets/InsetGraphics.h @@ -116,8 +116,8 @@ public: UpdateType utype, TocBackend & backend) const override; /// std::string contextMenuName() const override; - /// Force inset into LTR environment if surroundings are RTL - bool forceLTR(OutputParams const &) const override { return true; } + /// Force inset into LTR environment if surroundings are RTL (only needed in pdfTeX) + bool forceLTR(OutputParams const & runparams) const override { return !runparams.isFullUnicode(); } /// void doDispatch(Cursor & cur, FuncRequest & cmd) override; ///