Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=578026
--- Comment #4 from Akira TAGOH tagoh@redhat.com 2010-04-21 08:02:30 EDT --- Testing result: # rpm -qa kacst-* kacst-title-fonts-2.0-7.fc13.noarch kacst-decorative-fonts-2.0-7.fc13.noarch kacst-poster-fonts-2.0-7.fc13.noarch kacst-book-fonts-2.0-7.fc13.noarch kacst-digital-fonts-2.0-7.fc13.noarch kacst-letter-fonts-2.0-7.fc13.noarch kacst-titlel-fonts-2.0-7.fc13.noarch kacst-qurn-fonts-2.0-7.fc13.noarch kacst-farsi-fonts-2.0-7.fc13.noarch kacst-office-fonts-2.0-7.fc13.noarch kacst-screen-fonts-2.0-7.fc13.noarch kacst-pen-fonts-2.0-7.fc13.noarch kacst-one-fonts-2.0-7.fc13.noarch kacst-naskh-fonts-2.0-7.fc13.noarch kacst-fonts-common-2.0-7.fc13.noarch kacst-art-fonts-2.0-7.fc13.noarch # fc-match monospace:lang=en DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=en-us DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-ae DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-bh DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-dz DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-eg DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-in DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-iq DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-jo DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-kw DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-lb DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-ly DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-ma DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-om DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-qa DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-sa DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-sd DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-sy DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-tn DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" # fc-match monospace:lang=ar-ye DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
No monospace fonts assigned in kacst-fonts. so this should be ok so far.
# fc-match sans:lang=en DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=en-us DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-ae DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-bh DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-dz DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-eg DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-in DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-iq DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-jo DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-kw DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-lb DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-ly DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-ma DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-om DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-qa DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-sa DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-sd DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-sy DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-tn DejaVuSans.ttf: "DejaVu Sans" "Book" # fc-match sans:lang=ar-ye DejaVuSans.ttf: "DejaVu Sans" "Book"
Even though kacst-fonts has rules for sans-serif, DejaVu Sans has the ar support, which has a priority. so if you want to make this font default for Arabic, you need to talk about it with the dejavu-sans-fonts maintainer.
# fc-match serif:lang=en DejaVuSerif.ttf: "DejaVu Serif" "Book" # fc-match serif:lang=en-us DejaVuSerif.ttf: "DejaVu Serif" "Book" # fc-match serif:lang=ar KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-ae KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-bh KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-dz KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-eg KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-in KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-iq KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-jo KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-kw KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-lb KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-ly KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-ma KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-om KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-qa KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-sa KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-sd KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-sy KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-tn KacstArt.ttf: "KacstArt" "Medium" # fc-match serif:lang=ar-ye KacstArt.ttf: "KacstArt" "Medium"
The above is sane from current configuration. though all fontconfig config files for kacst-fonts has same 67- prefix, which font are selected by fontconfig depends on which package one installs and config files' alphabetical order. so please add the certain prefix if you want to change it.
# for i in $(ls /usr/share/locale|grep -v -E '^ar'); do fc-match serif:lang=$i|grep Kacst; [ $? = 0 ] && echo $i; done KacstArt.ttf: "KacstArt" "Medium" ug
fontconfig takes care of both Uighur and Arabic as same in orth files. the updated packages works fine so far.