]> git.lyx.org Git - features.git/commit
Personalize fonts
authorEnrico Forestieri <forenr@lyx.org>
Thu, 3 Sep 2020 15:46:30 +0000 (17:46 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 3 Sep 2020 15:46:30 +0000 (17:46 +0200)
commita9afdbb73c7ee568eeabd2848e9996322e4d5c85
tree10878598ab7b7d706693ff5a74cd3e5bb768a360
parentefc8d44d0960e5dbe6d67721f8a20eb1feb189fa
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.
25 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/qt/GuiFontLoader.cpp