Closed Bug 196460 Opened 22 years ago Closed 22 years ago

Mozilla refuses to recognize that cmex10, cmsy10, and symbol fonts are installed

Categories

(Core :: MathML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 128153

People

(Reporter: ketchers, Assigned: rbs)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030210 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030210 Each time (once per session) that I open a page containing mathml I get a popup telling me to instal the type1 AMS tex fonts. I have two machines both running Mandrake. On both machines I have these fonts installed and other applications have no problems using them at all. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Do you see those fonts when you list the fonts with the command: xlsfonts If not, that means Mozilla is not seeing them either.
Yes, xlsfonts lists the fonts. In fact every other application I have tried can use them. For example I can use these fonts in Xemacs, OpenOffice, xterm, ... Even Mozilla claims that I can set the font to Computer Modern, but it has no effect if I do.
Care to attach the output of your xlsfonts?
Here are the results from xlsonts -bsr-cmex10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bsr-cmmi10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bsr-cmr10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bsr-cmsy10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific It doesn't help if I remove the ones below from the fontpath. Also it does not help if I add lines like -bsr-cmex10-medium-r-normal--0-0-0-0-p-0-iso8859-1 to fonts.dir or fonts.alias. ============= Additional bluesky fonts ============== -bluesky-cmb10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbsy10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbsy5-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbsy7-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbx10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbx12-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbx5-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbx6-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbx7-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbx8-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbx9-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbxsl10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmbxti10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmcsc10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmdunh10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmex10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmff10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmfi10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmfib8-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cminch-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmitt10-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific -bluesky-cmmi10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmi12-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmi5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmi6-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmi7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmi8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmi9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmib10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmib5-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmmib7-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr12-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr17-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr6-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmr9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsl10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsl12-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsl8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsl9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsltt10-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific -bluesky-cmss10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmss12-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmss17-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmss8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmss9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssbx10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssdc10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssi10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssi12-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssi17-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssi8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssi9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssq8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmssqi8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsy10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsy5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsy6-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsy7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsy8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmsy9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmtcsc10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmtex10-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific -bluesky-cmtex8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmtex9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmti10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmti12-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmti7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmti8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmti9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmtt10-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific -bluesky-cmtt12-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific -bluesky-cmtt8-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific -bluesky-cmtt9-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific -bluesky-cmu10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-cmvtt10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-euex10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eufb10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eufb5-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eufb7-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eufm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eufm5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eufm7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eurb10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eurb5-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eurb7-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eurm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eurm5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eurm7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eusb10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eusb5-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eusb7-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eusm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eusm5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-eusm7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lasy10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lasy5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lasy6-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lasy7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lasy8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lasy9-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lasyb10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lcircle10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lcirclew10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lcmss8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lcmssb8-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-lcmssi8-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-line10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-linew10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-msam10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-msam5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-msam7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-msbm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-msbm5-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-msbm7-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-wncyb10-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-wncyi10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-wncyr10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -bluesky-wncysc10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific -
This bug is rather curious. Your help is needed to investigate what is happening in your environment. The code has the following debug flags which can be set externally to see how Mozilla is processing the fonts. #define NS_FONT_DEBUG_LOAD_FONT 0x01 #define NS_FONT_DEBUG_CALL_TRACE 0x02 #define NS_FONT_DEBUG_FIND_FONT 0x04 1) Could you then set the environment variable: setenv NS_FONT_DEBUG 7 (this is a sum of the above options, there are other options, but these will be okay for a start). 2) Then attach the log when running mozilla on a short testcase, e.g., mozilla http://www.mozilla.org/projects/mathml/demo/extras.xhtml > font.log &
Status: UNCONFIRMED → NEW
Ever confirmed: true
BTW, I am assuming that you already tried what is suggested in the Linux's Troubleshooting link at: http://www.mozilla.org/projects/mathml/fonts/ Mozilla is a bit picky about recognizing the fonts. I am curious how other applications recognize these fonts without extra setup. I wish Mozilla could do the same.
I tried export NS_FONT_DEBUG=7 mozilla >& font.log and got nothing. So I decided that maybe the problem lies in the Mozilla that Mandrake distributes. I downloaded Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) from www.mozilla.org. With this Mozilla MathML works. Sorry for the bother, but I guess the problem is with Mandrake's version. There is one anoying thing. In general fonts look much worse in general with the non-Mandrake Mozilla. This seems to have something to do with anti-aliasing.
I have the same problem on Debian. Likewise, setting NS_FONT_DEBUG to 7 produced no output. This is Debian Linux i386, latest unstable packages as of Monday 24 March. I would also like to add that MathML fonts were working for me with Mozilla 1.2.1.
> setting NS_FONT_DEBUG to 7 produced no output. probably means that it isn't a mozilla build. The default/official mozilla builds output something.
> probably means that it isn't a mozilla build. The default/official > mozilla builds output something. Yes, it was a Debian build. I re-built (the Debian version) without --disable-debug, but still no output. What configure option will turn on this output?
rbs wrote: > > setting NS_FONT_DEBUG to 7 produced no output. > > probably means that it isn't a mozilla build. The default/official mozilla > builds output something. AFAIK if Xft is being used |NS_FONT_DEBUG| is not honored... ;-(
I find that if I do setenv GDK_USE_XFT 0 then the bug goes away. But, then I don't get subpixel rendering (which I'd really like to have), and NS_FONT_DEBUG still produces no output.
MathML doesn't work yet with Xft - that's bug bug 128153. That should probably also explain comment 7. It looked "worse" meant that there were no anti-aliasing anymore... Seems that things are clear now.
Should this bug be marked as a duplicate of bug 128153? Or maybe set a dependency?
*** This bug has been marked as a duplicate of 128153 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.