Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] firefox unable to show math symbols?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Thu Jun 08, 2006 2:27 pm    Post subject: [solved] firefox unable to show math symbols? Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Jun 08, 2006 10:13 pm    Post subject: Reply with quote

**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
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Thu Jun 08, 2006 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Jun 08, 2006 11:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Fri Jun 09, 2006 12:12 am    Post subject: Reply with quote

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
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Fri Jun 09, 2006 12:19 am    Post subject: Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Jun 09, 2006 12:28 am    Post subject: Reply with quote

Oops. :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
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Fri Jun 09, 2006 12:33 am    Post subject: Reply with quote

WOW that worked.

You are good, thank you very much :-)
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Jun 09, 2006 12:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Fri Jun 09, 2006 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum