View previous topic :: View next topic |
Author |
Message |
Schmolch l33t
Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Thu Jun 08, 2006 2:27 pm Post subject: [solved] firefox unable to show math symbols? |
|
|
Im trying to read some math websites but instead of the symbols i only get greek symbols.
Now i tried to find some answer to this but i only found very little and very old stuff that didn't help me.
If you want to check if your Browser displays them properly just go to this site:
http://www.mathe-online.at/einstellungen/einst.html#MH and scroll to the bottom.
The right picture shows the symbols as .gifs and the left picture tries to do the same using math symbols.
Any help would be very appreciated.
Last edited by Schmolch on Fri Jun 09, 2006 12:52 am; edited 1 time in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Thu Jun 08, 2006 10:13 pm Post subject: |
|
|
**Final Edit: following the instructions provided by the link in Edit2 corrects the problem.**
Edit2: Read this http://silas.psfc.mit.edu/tth/symfontconfig.html before trying the stuff below.
Did you try following the instructions in the provided link? http://hutchinson.belmont.ma.us/tth/Xfonts.html
I haven't tried it yet, so I don't know if it will work. I wanted to ask if you had already done so before I started messing with it. (and, no, I can't see the symbols either) Perhaps there is a required symbol font that must be installed?
Edit: After looking at the script that link provides, it appears that the adobe symbol fonts aren't added to a fonts.alias file anywhere, so the browser can't find them. It also tries to modify the mathml files used by mozilla. I think the script will need to be modified a little to work with firefox, but I'm not positive. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
Schmolch l33t
Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Thu Jun 08, 2006 10:44 pm Post subject: |
|
|
Well, i edited both /usr/share/fonts/100dpi/fonts.alias and 75dpi/fonts.alias and added Code: |
-adobe-symbol-medium-r-normal--11-80-100-100-p-61-iso8859-1 -adobe-symbol-medium-r-normal--11-80-100-100-p-61-adobe-fontspecific
-adobe-symbol-medium-r-normal--14-100-100-100-p-85-iso8859-1 -adobe-symbol-medium-r-normal--14-100-100-100-p-85-adobe-fontspecific
-adobe-symbol-medium-r-normal--17-120-100-100-p-95-iso8859-1 -adobe-symbol-medium-r-normal--17-120-100-100-p-95-adobe-fontspecific
-adobe-symbol-medium-r-normal--20-140-100-100-p-107-iso8859-1 -adobe-symbol-medium-r-normal--20-140-100-100-p-107-adobe-fontspecific
-adobe-symbol-medium-r-normal--25-180-100-100-p-142-iso8859-1 -adobe-symbol-medium-r-normal--25-180-100-100-p-142-adobe-fontspecific
-adobe-symbol-medium-r-normal--34-240-100-100-p-191-iso8859-1 -adobe-symbol-medium-r-normal--34-240-100-100-p-191-adobe-fontspecific
-adobe-symbol-medium-r-normal--10-100-75-75-p-61-iso8859-1 -adobe-symbol-medium-r-normal--10-100-75-75-p-61-adobe-fontspecific
-adobe-symbol-medium-r-normal--12-120-75-75-p-74-iso8859-1 -adobe-symbol-medium-r-normal--12-120-75-75-p-74-adobe-fontspecific
-adobe-symbol-medium-r-normal--14-140-75-75-p-85-iso8859-1 -adobe-symbol-medium-r-normal--14-140-75-75-p-85-adobe-fontspecific
-adobe-symbol-medium-r-normal--18-180-75-75-p-107-iso8859-1 -adobe-symbol-medium-r-normal--18-180-75-75-p-107-adobe-fontspecific
-adobe-symbol-medium-r-normal--24-240-75-75-p-142-iso8859-1 -adobe-symbol-medium-r-normal--24-240-75-75-p-142-adobe-fontspecific |
then i restarted X but it did not change anything.
Then i used the script which is supposed to do everything for you but it also did not change anything. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Thu Jun 08, 2006 11:07 pm Post subject: |
|
|
See my final edit. You will probably need to manually edit the mathml.css file as suggested by the link. (This one:
http://silas.psfc.mit.edu/tth/symfontconfig.html )
It worked for me using mozilla-firefox-bin-1.5.0.4. For the -bin version of firefox, the mathml.css file is in /opt/firefox/res. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
Schmolch l33t
Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Fri Jun 09, 2006 12:12 am Post subject: |
|
|
damn, it doesn't work for me, i already runned that script before and my mathml.css is fixed properly.
So, my mathml.css and my font.alias files are both alright, did i forget something else?
Im using firefox-1.5.0.4 from source btw. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Fri Jun 09, 2006 12:19 am Post subject: |
|
|
In the install.sh file change:
Code: | FONTDIR=/usr/share/fonts/default/Type1/ |
to
Code: | FONTDIR=/usr/share/fonts/Type1/ |
Then it works, for me at least. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Fri Jun 09, 2006 12:28 am Post subject: |
|
|
Oops. I forgot that I changed that line in the script... Sorry. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
Schmolch l33t
Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Fri Jun 09, 2006 12:33 am Post subject: |
|
|
WOW that worked.
You are good, thank you very much |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Fri Jun 09, 2006 12:36 am Post subject: |
|
|
Glad that it works now. Don't forget to add SOLVED to the subject of your original post. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
Schmolch l33t
Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Fri Jun 09, 2006 12:51 am Post subject: |
|
|
ok its not working in epiphany even though i have set "allow to use own fonts" but i use a unstable release (2.15) and it works fine with galeon. |
|
Back to top |
|
|
|