Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231746

Summary: media-fonts/mathematica-fonts: Stop suggesting font.mathfont-family setting for firefox
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] UnspecifiedAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
URL: http://martin.von-gagern.net/howtos/20080713-ff3-mathml
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin von Gagern 2008-07-14 07:54:10 UTC
I had problems with www-client/mozilla-firefox-3.0-r1 rendering vertical lines in MathML content as clubs suit symbols, e.g. example 24 from http://www.mozilla.org/projects/mathml/demo/texvsmml.xhtml. I also created my own little problem description page at http://martin.von-gagern.net/howtos/20080713-ff3-mathml which contains a screenshot of how such a broken formula looks like on my system.

The cause of the problem seemed to be my customization of the font.mathfont-family setting in firefox, which I had performed in response to the pkg_postinst message in the media-fonts/mathematica-fonts (e.g. version 6.0-r1) ebuild. I suggest you either drop this suggestion, or even tell users that it might in some cases be a good idea to remove that setting again.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-08-19 15:47:09 UTC
Thank you for report. But I failed to reproduce your problem. I've set everything as it was suggested in elog messages but page renders correctly. What other fonts you have installed on your system?
Comment 2 Martin von Gagern 2008-08-19 17:16:55 UTC
(In reply to comment #1)
> Thank you for report. But I failed to reproduce your problem. I've set
> everything as it was suggested in elog messages but page renders correctly.

If someone would point out a location in the mozilla sources where the actual font selection for these lines happens, I might try to debug my firefox to see what font it actually uses. So far I haven't found the right location myself.

> What other fonts you have installed on your system?

$ ls -1 /var/db/pkg/media-fonts/
arphicfonts-0.2.20080216.1
corefonts-1-r4
dejavu-2.25
encodings-1.0.2
font-adobe-100dpi-1.0.0
font-adobe-75dpi-1.0.0
font-adobe-utopia-100dpi-1.0.1
font-adobe-utopia-type1-1.0.1
font-alias-1.0.1
font-bh-lucidatypewriter-100dpi-1.0.0
font-bh-type1-1.0.0
font-bitstream-100dpi-1.0.0
font-bitstream-type1-1.0.0
font-cursor-misc-1.0.0
font-misc-misc-1.0.0
font-schumacher-misc-1.0.0
font-sun-misc-1.0.0
font-util-1.0.1
freefonts-0.10-r3
fs-fonts-0.1_alpha3
gnu-gs-fonts-other-6.0
gnu-gs-fonts-std-8.11
intlfonts-1.2.1
lfpfonts-fix-0.83-r2
lfpfonts-var-0.84
mathematica-fonts-6.0-r1
terminus-font-4.26-r2
texcm-ttf-1.0
ttf-bitstream-vera-1.10-r3
unifont-1.0-r4
x11fonts-jmk-3.0-r1
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2008-12-02 14:55:56 UTC
Martin, it is media-fonts/texcm-ttf fonts which caused you troubles, and since upstream [1] tells us not to use CMSY10, CMEX10 fonts new browsers, I've modified our instructions...

[1] http://www.mozilla.org/projects/mathml/fonts/

Thank you for great report which is now FIXED.