I'll attach my lyx file, a pdf file, and a screen shot. Special symbols seem to be having serious problem (for example, the first eq should have an integral sign). Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 8230 [details] badlyx.png Added screen capture
Created attachment 8231 [details] ps3.lyx Lyx file I'm using
Created attachment 8232 [details] ps3.pdf Added pdf file that displays fonts properly.
Danarmak mentions that the font problems are due to not having the latex-ttf-fonts package installed. Unfortunately, the fonts have an annoying license, so for the time being people who need them should get them from the contrib directory at lyx.org's ftp site.
A temporary fix is to get latex-ttf-fonts from ftp://ftp.lyx.org/pub/lyx/contrib, unpack into any subdir of /usr/share/fonts, rerun fc-cache and restart lyx. works for me. However we can't ake lyx depend on those fonts because their license does not permit them to be used in a commercial environment. There are some other wierd things about this... I've mailed the lyx-usres list about this, saying: In short, I'd like to know how to set the font used by mathed when editing. lyx 1.3.0, qt frontend. There doesn't seem to be an option for it, and the 2 standard font settings don't seem to affect it... (When rendering to ps etc., it renders ok.) In detail, there's a problem (not sure if it's a bug in lyx or a misconfiguration of something else): mathed draws capital latin letters instead of any math symbols or greek letters etc. See http://bugzilla.lyx.org/show_bug.cgi?id=876 (the attachements) for example. If the latex-ttf-fonts (BaKoMa) is installed as per http://bugzilla.lyx.org/show_bug.cgi?id=876 (though that's a different problem apparently), mathed works properly. Without bakoma, the computer-modern font is still available (provided, I think, by bluesky from tetex) but even if I add bluesky to fontconfig's list (this is xfree 4.2.99.4) the mathed doesn't draw the right symbols. The problem with using BaKoMa is its license, which doesn't allow usage in commercial environments.
I did an "emerge -DUp world" today, and all of a sudden my lyx fonts were messed up (I already had the latex-ttf-fonts installed). After running fc-cache -fv the problem has been fixed. Would it make sense to add that command to lyx's pkg_postinst()?
This bug was essentially fixed in LyX 1.3.1 - instead of the wrong symbol, you'll get the text version instead in red (e.g. "sum"). However, ideally we'd like to have on-screen symbols working by default. Dan, did you get any further with the font you created ? Can you update us? I noticed another bug in it, btw: the display-style operators like \sum and \prod are not high enough: they look vertically squashed. If you're still having trouble creating this font, is there someone else we could get to help us ? I really don't like this bakoma situation any more than gentoo does. John (LyX hacker)
Committed lyx 1.3.2 ebuild to portage - the last comment said this was essentially fixed in 1.3.1. Should this bug stay open?
Please leave this bug open just so that our users can easily find it. I use lyx regularly for scientific writing, and I'm still using the 1.2 branch until the lyx folks get symbols fixed in 1.3. *Sigh*
It's Qt's problem not ours. However Dan Armak and others worked hard on making a set of freely distributable fonts : http://movementarian.org/lyxqt They are under the same license as the source fonts (distributed with LaTeX) and can, as far as I know, be distributed with Gentoo. So the ball is firmly in Gentoo's court here. (Furthermore, this problem is not present in the xforms frontend, so there is no reason at all for you to use 1.2 in preference to 1.3)
opened the attached ps3.lyx in lyx-1.3.3 and compared it with the attached screenshot and pdf and found it displays identically to the pdf. we almost fixed here ?
Interesting. I removed my ~/.fonts directory (which had the latex-xft-fonts tarball unpacked) and emerged lyx-1.3.3. Looking at ps3.lyx I get red "int", "psi", "delta", etcetera, instead of an actual integral sign, Greek Psi, Greek Delta, etcetera. Restoring my ~/.fonts directory and rerunning fc-cache -fv fixes the problem. It looks to me like all we need to do is add the latex-xft-fonts tarball as a source to be downloaded and unpacked in the appropriate system fonts directory.
Grant, sounds like the best solution, am committing now. And just for a bit more information, check the the following link: http://wiki.lyx.org/pmwiki.php/FAQ/Qt This also means we can remove the big USE="qt" warning at the end of the ebuild. I've modified 1.3.3 to include the fonts, could anyone report on success/failure? Thanks very much for help on this.
week later, assuming success.