https://bugzilla.redhat.com/show_bug.cgi?id=1493481
Bug ID: 1493481
Summary: Setting a preferred Sans Serif font does not seem to
work
Product: Fedora
Version: 27
Component: fonts-tweak-tool
Assignee: tagoh(a)redhat.com
Reporter: mfabian(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: i18n-bugs(a)lists.fedoraproject.org, kent.neo(a)gmail.com,
petersen(a)redhat.com, pwu(a)redhat.com, tagoh(a)redhat.com
Created attachment 1328361
-->
https://bugzilla.redhat.com/attachment.cgi?id=1328361&action=edit
generated ~/.config/fontconfig/conf.d/000-fontstweak-ezfc.conf
I am testing with Fedora-Workstation-netinst-x86_64-27-20170910.n.0.iso
installed in qemu using:
nice -n 19 ionice -c 3 qemu-kvm -machine pc-i440fx-2.4 -enable-kvm -global
qxl.ram_size=1x1024 -m 2048M -smp 2 -drive
file=./Fedora-Workstation-netinst-x86_64-27-20170910.n.0.iso.qcow2,index=0,media=disk,cache=unsafe
-localtime -serial
file:/tmp/qemu-Fedora-Workstation-netinst-x86_64-27-20170910.n.0.iso.qcow2-output.log
-name Fedora-Workstation-netinst-x86_64-27-20170910.n.0.iso.qcow2 -cdrom
/local/mfabian/iso/Fedora-27/Fedora-Workstation-netinst-x86_64-27-20170910.n.0.iso
-boot c -spice port=6002,disable-ticketing,streaming-video=off -vga qxl
-display vnc=:6 -net nic -net
user,hostname=Fedora-Workstation-netinst-x86_64-27-20170910.n.0.iso.qcow2,hostfwd=tcp::5558-:22
-monitor stdio -usb -usbdevice mouse -soundhw all
Versions of fontconfig and fonts-tweak-tool are:
fontconfig-2.12.5-1.fc27.x86_64
fonts-tweak-tool-0.3.2-15.fc27.x86_64
In the first tab of fonts-tweak-tool I have added the languages German
(Germany) - Deutsch, Japanese - 日本語, English (Great Britain),
English (USA) and French (France) - Français.
For Japanese, I choose “VL Gothic” for “Sans Serif” in Aliases.
For German I choose “FreeSans” for “Sans Serif” and “FreeSerif” for
“Serif” in Aliases.
The generated ~/.config/fontconfig/conf.d/000-fontstweak-ezfc.conf
file is attached.
But that does not seem to have any effect. I still get this:
mfabian@Fedora-Workstation-netinst-x86_6 ~]$ LC_ALL=ja_JP.UTF-8 fc-match
sans-serif
VL-PGothic-Regular.ttf: "VL Pゴシック" "regular"
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ LC_ALL=ja_JP.UTF-8 fc-match sans
VL-PGothic-Regular.ttf: "VL Pゴシック" "regular"
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$
So I still get “VL PGothic”, not “VL Gothic”. Choosing any other font instead
of “VL Gothic” doesn’t work either, no matter what I choose I continue
to get “VL PGothic”.
And for German, English, and French I always get “DejaVu Sans”, no matter
what I choose in fonts-tweak-tool:
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ LC_ALL=de_DE.UTF-8 fc-match sans
DejaVuSans.ttf: "DejaVu Sans" "Book"
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ LC_ALL=de_DE.UTF-8 fc-match
sans-serif
DejaVuSans.ttf: "DejaVu Sans" "Book"
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ LC_ALL=de_DE.UTF-8 fc-match
serif
DejaVuSerif.ttf: "DejaVu Serif" "Book"
[mfabian@Fedora-Workstation-netinst-x86_6 ~]$
--
You are receiving this mail because:
You are on the CC list for the bug.