display of $int...$ under QT5

Kornel Benko kornel at lyx.org
Fri Aug 28 14:46:46 UTC 2020


Am Fri, 28 Aug 2020 16:09:31 +0200
schrieb Pavel Sanda <sanda at lyx.org>:

> On Fri, Aug 28, 2020 at 03:33:10PM +0200, Kornel Benko wrote:
> > > On Fri, Aug 28, 2020 at 03:11:34PM +0200, Kornel Benko wrote:  
> > > > No change removing esint10.ttf.
> > > > 
> > > > strace lyx attached.    
> > > 
> > > Ok, so let us stay with this 'removed' version in which texlive's esint10.pfb seem
> > > to be opened.
> > > 
> > > Q1: Can you try tom make screenshot similar as Bernhard did?
> > > I am interested to see \int, \oiint in display mode and having both upper and lower
> > > indexes.
> > > 
> > > Pavel  
> > 
> > OK, attached. Only \fint seems to be suspicious.  
> 
> I can't reproduce your results. oiint still does not render here when I try to use
> texlive font. It might boil down to Qt version differences (Qt 5.7.1 here) and
> compilation parameters used for building of Qt (like where fonts are being sought and
> how the are rendered, e.g. HARFBUZZ switch suggested by JMarc).

Sorry, that's misunderstanding (from my part).
The attached was with your changes and removed texlive's version.
To reproduce, you have to allow texlive true types to be included in the system fonts.
1.) Create a font-config for texlive fonts
  $ sudo cp `kpsewhich -var-value \
  TEXMFSYSVAR`/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.avail/09-texlive-fonts.conf
2.) You may edit this file
  $ gksudo gedit /etc/fonts/conf.avail/09-texlive-fonts.conf
3.) Add a symbolic link
  $ sudo ln -s ../conf.avail/09-texlive-fonts.conf /etc/fonts/conf.d/09-texlive-fonts.conf
4.) Update fc-cache
  $ sudo fc-cache -fsv

This is the content of my /etc/fonts/conf.d/09-texlive-fonts.conf
..
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <dir>/usr9/local/texlive/current/texmf-dist/fonts/opentype</dir>
  <dir>/usr9/local/texlive/current/texmf-dist/fonts/truetype</dir>
  <dir>/usr9/local/texlive/current/texmf-dist/fonts/type1</dir>
  <dir>/usr/local/texlive/texmf-local/fonts/opentype</dir>
  <dir>/usr/local/texlive/texmf-local/fonts/truetype</dir>
  <dir>/usr/local/texlive/texmf-local/fonts/type1</dir>
</fontconfig>
..

> It is very difficult for me to fix this when I do not see it locally. But the fact
> that texlives esint10.pfb works for you could mean that we could suggest packagers
> on certain architectures to simply use texlive default if it works on their
> configuration setup.

It does not work for me. Attached is with the texlive font at place.

> Bernhard, what happens on your opensuse machine when you simply delete esint10.ttf
> from your 2.4 tree?
> 
> Pavel

	Kornel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto zu 2020-08-28 16-45-58.png
Type: image/png
Size: 29183 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200828/74879869/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200828/74879869/attachment-0001.asc>


More information about the lyx-devel mailing list