M.B. Schiekel wrote:
> >>> 1. now I managed to compile LyX-2.3.0 and LyX-2.2.4 on an
> >>> older openSUSE-Leap-42.3 system with KDE-Plasma-5.8.7 with
> >>> Qt-5.6.2 and TeXLive 2016. Result: /int, /iint, /iiint,
> >>> /iiiint, /ioint - all are displayed correctly by LyX.
> >>> 
> >>> 2. And as before: LyX-2.3.0 and LyX-2.2.4 on a
> >>> openSUSE-Leap-15.0 system with KDE-Plasma 5.12.5 with Qt-5.9.4
> >>> and TeXLive 2017, i.e. 2017.20170520-lp150.8.2. Result: /int,
> >>> /iint, /iiint, /iiiint, /ioint - all are displayed faultily by
> >>> LyX, i.e. top of the integral is bottom of the line (see 
> >>> png-file).
> >>> 
> >>> Now I think, the TeXLive-2017-fonts might be faulty. Does
> >>> anybody here work with the above mentioned TeXLive 2017
> >>> version and has no problems with /int ??

My bet is that the problem you see is related to Qt version
and has nothing to do with TeXLive.

Our integrals in mathed are painted through the font files you
discovered below:

> >> $ apt-file list fonts-lyx fonts-lyx:
> >> /usr/share/doc/fonts-lyx/NEWS.Debian.gz fonts-lyx:
> >> /usr/share/doc/fonts-lyx/NEWS.gz fonts-lyx:
> >> /usr/share/doc/fonts-lyx/ReadmeBaKoMa4LyX.txt fonts-lyx:
> >> /usr/share/doc/fonts-lyx/changelog.Debian.gz fonts-lyx:
> >> /usr/share/doc/fonts-lyx/copyright fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/cmex10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/cmmi10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/cmr10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/cmsy10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/esint10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/eufm10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/msam10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/msbm10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/rsfs10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/stmary10.ttf fonts-lyx:
> >> /usr/share/fonts/truetype/lyx/wasy10.ttf

The problem might be that with newer version Qt again (cf bug #8493) changed
how it interprets .ttf files, so either our rendering would need to change or
ttf file would need change. Or both. According to my experience Qt devs are
unfortunately not communicative about related problems and opening bug about
font rendering in Qt bug tracker won't likely change much. 

> How can I tell LyX to use for integrals the display-font esint10.ttf
> instead of wasy10.ttf?

The file you are looking for is lib/symbols, each glyph has it's separate entry.

Pavel

Reply via email to