So,
I'm sure quite a few here use the Firefox Rikaichan add-on to assist them in their studies.
I've recently noticed that the default font (at least on my system) sometimes displays faulty Kanji (uses Chinese fonts instead of Japanese ones) and that there is no option in the preferences to change that. By now I found out it's related to Ubuntu and is best changed at the OS level (There are quite a few guides on the net).
However you may still feel the need to customize Rikaichan.
For example you might want to use a serif font or you want it to display the stroke order (by using the KanjiStrokerOrders font). The possibilities are numerous.
In order to change the Rikaichan fonts do the following:
In Firefox click 'Help' -> 'Troubleshooting Information'
On the config site click the 'Open Directory'-button next to 'Profile Directory'
In this directory open (or create) the folder 'chrome' and then open (or create) the file 'userContent.css'. Paste the following piece of code in there, save and restart Firefox. Voilą, the font for displaying Kanji in Rikaichan is changed.
You can also change the font of the Kana and English words with these classes (I haven't tested those though):
k-eigo (Font used for English)
k-yomi (Font used for readings in the Kanji dict.)
w-kana (Font used for Kana in the words dict.)
I hope this helps anyone here.
Cheers.
Last edited by Soul_Reaver (2013 July 23, 3:26 am)