Commit Graph

6 Commits

Author SHA1 Message Date
Enrico Forestieri
a9afdbb73c 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.
2020-09-03 17:46:30 +02:00
Pavel Sanda
0da254c811 stmary10 font: fix glyphs codepoints 10,12,13.
92680495b follow-up.

minuso: 10 -> 171
sslash: 12 -> 172
bbslash:13 -> 174
varcurlywedge: 9 -> 254 -> 170 (first move by Georg)
2018-03-23 10:18:02 +01:00
Enrico Forestieri
a3926b9e60 Add fontforge files 2016-01-16 15:46:48 +01:00
Georg Baum
8bd16005a9 Move some glyphs up by 800 units.
Without this, qt will enlarge some glyphs out of proportion (no, I don't
understand why it does this, and I found out by accident how to avoid it).
Still, the vertical alignment is only roughly correct (also for the untouched
glyphs). If somebody cares some fine adjustment would be nice.
2012-12-15 11:21:01 +01:00
Georg Baum
2f0e57cad4 Re-encode stmary10 font
Use a 1:1 unicode "encoding" as for all other math symbol fonts.
This is not correct for using the font outside of LyX, but in LyX we misuse
the first 255 code points for symbol fonts (see code points of existing fonts
in lib/symbols). These code points are identical with the postscript versions
of the fonts, so if qt was able to use postscript fonts, they could be used
instead of the truetype versions.
The character varcurlywedge is duplicated at position 254, since qt refuses to
display a font at the tab position (9).
In addition, get rid of the broken private directory which is not needed for
generating ttf.
2012-12-14 22:30:47 +01:00
Georg Baum
a4a1806bb6 Import stmary10 front from stmary10.pfb
This is the result of loading
http://mirrors.ctan.org/fonts/stmaryrd/ps-type1/hoekwater/stmary10.pfb
into fontforge and saving in fontforge format. It will be needed to fix
bug #8434. I am saving it in fontforge format since a few modifications are
needed before a working .ttf can be exported.
2012-12-14 22:16:06 +01:00