Hi.
I wonder what I'm doing wrong here. I've been trying to use these two TrueType fonts, "MS Mincho" and "MS Gothic," with no success for the last several hours. I need your help.
First, I added the font files (MSMINCHO.TTF and MSGOTHIC.TTF) to the directory called "/usr/share/fonts/truetype/msttcorefonts". Then I ran the following command to rebuild the font cache.
It said the operation succeeded and created ~/.fonts.conf among other things. I googled around and came to the conclusion that modifying the file as follows would do the trick.
However, the Japanese font renders horrible on applications like Firefox and Kontact.
If I replace "MS Mincho" and "MS Gothic" with "Sazanami Mincho" and "Sazanami Gothic," which I have installed also, then they come up rather well. Which tells me the format of my ~/.fonts.conf should be correct. Or not? I dunno...
Any help would be appreciated!
Dai
I wonder what I'm doing wrong here. I've been trying to use these two TrueType fonts, "MS Mincho" and "MS Gothic," with no success for the last several hours. I need your help.
First, I added the font files (MSMINCHO.TTF and MSGOTHIC.TTF) to the directory called "/usr/share/fonts/truetype/msttcorefonts". Then I ran the following command to rebuild the font cache.
Code:
$ sudo fc-cache -f -v
Code:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <alias> <family>serif</family> <prefer> <family>DejaVu Serif</family> <family>MS Mincho</family> </prefer> </alias> <alias> <family>sans-serif</family> <prefer> <family>DejaVu Sans</family> <family>MS Gothic</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>DejaVu Sans Mono</family> <family>MS Gothic</family> </prefer> </alias> <match target="font" > <edit mode="assign" name="embeddedbitmap" > <bool>false</bool> </edit> </match> <match target="font" > <edit mode="assign" name="rgba" > <const>rgb</const> </edit> </match> <match target="font" > <edit mode="assign" name="hinting" > <bool>true</bool> </edit> </match> <match target="font" > <edit mode="assign" name="hintstyle" > <const>hintfull</const> </edit> </match> <match target="font" > <edit mode="assign" name="antialias" > <bool>true</bool> </edit> </match> </fontconfig>
If I replace "MS Mincho" and "MS Gothic" with "Sazanami Mincho" and "Sazanami Gothic," which I have installed also, then they come up rather well. Which tells me the format of my ~/.fonts.conf should be correct. Or not? I dunno...
Any help would be appreciated!
Dai