]> git.lyx.org Git - lyx.git/commit
missing background in xetex and fix RTL stuff in preview
authorUdi-Fogiel <udifoglle@gmail.com>
Sun, 9 Jun 2024 10:36:35 +0000 (13:36 +0300)
committerUdi Fogiel <ufogiel@lyx.org>
Sun, 9 Jun 2024 18:18:22 +0000 (21:18 +0300)
commit7dcf9611d2867de530a2c77b8fdfabdd9011b19b
treeb5aa3db00393c66d4fd4178efcc280e68df0a392
parent03870c03709caa84178c21589cbea41208772add
missing background in xetex and fix RTL stuff in preview

* previwes with xetex did not produce any background (\pagecolor does not work for some reason), adding the direct command for that, \special{background <color>} inside the preview box solved it.

* similar to #12923 we should push the color node in horizontal mode

* there is a bug in preview with LuaTeX with main RTL language, this commit fix this bug, but it should be removed when it is fixed upstream (the code related to \pr@set@pagerightoffset)

(cherry picked from commit 64aad586f49b9047082356e5f217fc6147ac9500)
lib/scripts/legacy_lyxpreview2ppm.py
texput.log [new file with mode: 0644]