Commit Graph

3 Commits

Author SHA1 Message Date
Enrico Forestieri
f496ec373b Solve the "soft-hyphen" (0x00ad) symbol problem.
After the str-metrics merge, the kludge for displaying symbols whose
code point corresponds to a soft-hyphen was not working anymore.
The solution is replicating the offending glyphs with index 0x00ad
at a different index. They were replicated at 0x00ac, whose glyph
was missing in all affected fonts.

However, this would not work by alone because, if a system font with
same family name exists, it would be picked up instead of the right one
(at least on non-Windows platforms). For this reason, the style of the
fonts has been changed from "Regular" to "Lyx", so that we can discriminate
the right font. However, this requires using at least Qt 4.8. If an
older Qt is used *and* a system font with same family name is already
available, the affected glyphs will all turn out on screen as the
"logical not" symbol.

I have also set the executable flag on the font files, because on Windows
they are loaded only in this case.

This solves #9229.
2015-01-21 14:12:42 +01:00
Enrico Forestieri
5f111e8070 Fix bug 2326
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20781 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 13:30:03 +00:00
Uwe Stöhr
13fa44d3e2 Add math fonts to SVN
(please check if the Makefile entry is complete, I couldn't test this here)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:46:26 +00:00