]> git.lyx.org Git - features.git/commit
Personalize fonts
authorEnrico Forestieri <forenr@lyx.org>
Thu, 3 Sep 2020 18:42:05 +0000 (20:42 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 3 Sep 2020 18:42:05 +0000 (20:42 +0200)
commit1f1a8f60070fb6dea9b35c9ec3ef91d6307322f0
treeda33a56bb1632d6a5f2ccaf3aeff24d52127c427
parentd37db2225b03995edca4448b4cf4d750670002af
Personalize fonts

When the fonts distributed with texlive with same family name
as ours are also managed by fontconfig, Qt is not able to
discriminate ours by the style only. In order to be sure Qt
will load our fonts, we change the foundry name from 'PfEd'
to 'LyEd' and augment the font family name with this foundry
name. This only works on *nix, because adding a foundry name
seemingly breaks things on Windows. However, this is a *nix
only problem, seemingly.
26 files changed:
lib/fonts/cmex10.sfd
lib/fonts/cmex10.ttf
lib/fonts/cmmi10.sfd
lib/fonts/cmmi10.ttf
lib/fonts/cmr10.sfd
lib/fonts/cmr10.ttf
lib/fonts/cmsy10.sfd
lib/fonts/cmsy10.ttf
lib/fonts/dsrom10.sfd
lib/fonts/dsrom10.ttf
lib/fonts/esint10.sfd
lib/fonts/esint10.ttf
lib/fonts/eufm10.sfd
lib/fonts/eufm10.ttf
lib/fonts/msam10.sfd
lib/fonts/msam10.ttf
lib/fonts/msbm10.sfd
lib/fonts/msbm10.ttf
lib/fonts/rsfs10.sfd
lib/fonts/rsfs10.ttf
lib/fonts/stmary10.sfd
lib/fonts/stmary10.ttf
lib/fonts/wasy10.sfd
lib/fonts/wasy10.ttf
src/frontends/qt4/GuiFontLoader.cpp
status.23x