Fontconfig: Aliasing serif/sans-serif takes no effect
Hi,
On my system, the 'fc-match serif' will reports: wqy-zenhei.ttc: "文泉驿正黑" "中等" Then I want to change the default serif font, so I write a file: ~/.config/fontconfig/fonts.conf as below: <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>~/.fonts</dir> <alias> <family>serif</family> <prefer><family>Times New Roman</family></prefer> </alias> <alias> <family>sans-serif</family> <prefer><family>Arial</family></prefer> </alias> <alias> <family>monospace</family> <prefer><family>Courier New</family></prefer> </alias> </fontconfig> I learned this from web. But still, even after reboot the system, I still get the same 'fc-match serif' outputs as before. Why my aliasing operation not work? Thanks. -woody |
are you using 14.2 or -current? For -current i fixed all my fonts issues by specifying the DejaVu versions of the fonts i use. For example I define the default monospace font in Xfce's preferences to be DejaVu Sans Mono.
|
Quote:
|
Remove /etc/fonts/conf.d/44-wqy-zenhei.conf. It's what's overriding your overrides.
|
Quote:
|
All times are GMT -5. The time now is 03:39 PM. |