Hi,
I'm trying to convert my packages (jomolhari-fonts, tibetan-machine-uni-fonts) to new font packaging guidelines. I've encounter one problem that stops me from filling all guidelines. I don't know the right font family (serif, sans serif, other?) for both fonts, so I can't create a fontconf files.
How can I find/known this font family (both fonts represents Tibetan script which I don't know)?
BTW. If both fonts are installed TMU is selected as a primary font for displaying Dzongkha text, is there a way to set fontconfig to prefer Jomolhari when dealing with Dzongkha text and TMU when displaying Tibetan text (Jomolhari is better for Dzongkha text and TMU for Tibetan text).
Le dimanche 21 décembre 2008 à 20:27 +0100, Marcin Garski a écrit :
Hi,
Hi Marcin,
I'm trying to convert my packages (jomolhari-fonts, tibetan-machine-uni-fonts) to new font packaging guidelines.
Thank you for working on it!
I've encounter one problem that stops me from filling all guidelines. I don't know the right font family (serif, sans serif, other?) for both fonts, so I can't create a fontconf files.
How can I find/known this font family (both fonts represents Tibetan script which I don't know)?
The current fontconfig classification is very latin-oriented, that's true. To decide on how the fonts should be best classified you need to ask the locals. Check on http://translate.fedoraproject.org/languages/ if there is a contact for those locales, and if not ask on the unicode mailing list where many language experts can help you http://unicode.org/mail-arch/
BTW. If both fonts are installed TMU is selected as a primary font for displaying Dzongkha text, is there a way to set fontconfig to prefer Jomolhari when dealing with Dzongkha text and TMU when displaying Tibetan text (Jomolhari is better for Dzongkha text and TMU for Tibetan text).
There are various ways to put one font first for specific locales. The current rather brutal way to do it is documented in /usr/share/doc/fontpackages-devel-*/fontconfig-templates/l10n-font-template.*
It's not completely satisfactory, and Behdad is working on a new fontconfig release, so don't hesitate to ask him directly (he's often in the ##fonts irc channel as behdad)
Sincerely,
Le dimanche 21 décembre 2008 à 20:27 +0100, Marcin Garski a écrit :
I've encounter one problem that stops me from filling all guidelines. I don't know the right font family (serif, sans serif, other?) for both fonts, so I can't create a fontconf files.
How can I find/known this font family (both fonts represents Tibetan script which I don't know)?
BTW you can certainly do it in two steps, first adapt the package structure, and then add the fontconfig files (they are strongly recommended but a package like vera does not have them for example since the vera rules are shipped in the fontconfig package)