lyx_mirror/lib
José Matos b1860e301a Attempt to fix #11457
In python 3 the colors need to be strings and not bytes:

This was the equivalent of

>> print("%s" % b"1")
"b'1'"

since the colors were bytes the call to dvipng was something like

dvipng -Ttight -depth -height -D 115 -fg "b'rgb 0.937255 0.941176 0.945098'" -bg "b'rgb 0.137255 0.149020 0.160784'"  "lyxpreviewxBJEqm.dvi"

Note the "b'rgb after both -fg and -bg that wrecked havoc and thus dvipng failed. That was the difference between python2 and python3 calls.

(cherry picked from commit 8dd31803b1)
2019-10-30 19:27:50 -04:00
..
bind Tab binding: outline-in before depth-increment 2019-06-19 13:55:48 -04:00
citeengines Enable optional \cite* arguments in biblatex-natbib 2019-05-13 09:25:31 +02:00
commands
doc Typo 2019-08-09 08:06:23 +02:00
examples colored-boxes.lyx: add section about references 2019-07-21 01:31:46 +02:00
fonts Fix problem with conversion of stmary10.lyx. 2018-03-19 18:44:29 -04:00
images Fix for #11476: Icons have spurious squares 2019-04-06 07:30:46 +02:00
kbd
layouts hebarticle: fix compilation with XeTeX (bug #10525) 2019-08-16 07:35:43 +02:00
lyx2lyx Typo 2018-12-28 23:35:07 -05:00
scripts Attempt to fix #11457 2019-10-30 19:27:50 -04:00
templates Added aastex62 example an template files 2018-12-29 19:52:45 +01:00
tex
ui Add submenu to math context menu 2019-06-25 21:21:47 +02:00
xtemplates Add resize facility to inkscape template. 2017-11-04 10:36:36 +01:00
.gitignore
appdata.xml Fix license string according to http://spdx.org/licenses/. 2014-06-17 09:50:28 -07:00
autocorrect
build-listerrors
chkconfig.ltx Support key symbols via menukeys package 2018-09-10 09:46:25 +02:00
configure.py Allow to hide formats from menus 2019-09-11 10:46:07 +02:00
CREDITS Let TeXFiles.py handle symbolic links. 2019-06-27 23:53:03 +02:00
encodings Introduce "inherit" encoding for latex_language 2018-01-20 09:22:38 +01:00
generate_contributions.py Fix typo 2019-07-25 00:05:39 -04:00
languages Use acadian rather than canadien 2019-08-27 17:35:54 +02:00
latexfonts Fix the implementation of new libertine package 2018-03-17 15:44:05 -04:00
layouttranslations layouttranslations: update file 2018-02-20 20:27:26 +01:00
layouttranslations.review sv.po reviewed by Jim 2018-02-24 14:13:44 +01:00
lyx.desktop.in add "Keywords" to lyx.desktop file 2015-03-17 10:17:35 +01:00
Makefile.am Add tabular-features set-inner-lines and fix set-all-lines behavior 2019-03-20 12:49:23 +01:00
RELEASE-NOTES Notes related to bug #11216. 2018-08-28 15:22:50 -04:00
symbols Fix metrics of math characters with 0 width 2017-01-20 10:53:06 +01:00
syntax.default Merge branch '2.3.2-staging' into 2.3.x 2018-04-14 23:52:31 -04:00
unicodesymbols force some symbols as macros with utf8-cjk 2019-01-12 17:40:55 +01:00