Jedy Wang-san wrote (08/21/08 08:15 PM): > Hi Takao, > > On OpenSolaris and Nevada, fc-match "Sans" outputs DejaVuSans.ttf: > "DejaVu Sans" "Book" and fc-match "Mono" outputs DejaVuSansMono.ttf: > "DejaVu Sans Mono" "Book". Does this mean if I choose Sans or Mono in > font config of gnome, the choosen font is DejaVu Sans Book and DejaVu > Sans Mono Book?
Yes and I think fc-list also helps to know the the priorities. e.g. # fc-list :lang=en-us Luxi Serif:style=Regular Liberation Mono:style=Regular Lucida Sans:style=Demibold Oblique Bembo MT:style=Regular DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book ... # fc-list :lang=ja HG\-PGothicB\-Sun:style=Regular ... > > If not what can I do to force GNOME to use: > Application font: Deja Vu Sans Condensed 8pt > Document font: Deja Vu Sans Condensed 8 pt > Desktop font: Deja Vu Sans Book 8 pt (Book is easier to read against > background patterns as it has a better drop-shadow) > Window title font: Deja Vu Sans Bold 8 pt > Monospace font: Deja Vu Mono Book 8pt? I think changing the font size is ok in GNOME spec but changing the font family causes many problems. I think the font family should be handled in fontconfig. fujiwara > > Regards, > > Jedy > On Tue, 2008-08-19 at 11:39 +0900, Takao Fujiwara - Tokyo S/W Center > wrote: >> Jedy Wang-san wrote (08/18/08 06:37 PM): >>> <match target="pattern"> >>> <test qual="any" name="family"> >>> <string>sans</string> >>> </test> >>> <edit name="family" mode="assign"> >>> <string>dejavu sans</string> >>> </edit> >>> </match> >>> But I did not see any difference. Is my modification correct? And how >>> could I verify it? >> I think mode="assign" doesn't change the priority. >> I think you could modify /etc/fonts/conf.d/*-latin.conf >> >> fujiwara >> >>> Regards, >>> >>> Jedy >>> >>> On Mon, 2008-08-18 at 17:16 +0900, Takao Fujiwara - Tokyo S/W Center >>> wrote: >>>> Hi Jedy, >>>> >>>> Jedy Wang-san wrote (08/18/08 04:57 PM): >>>>> I am not very familiar with l10n. I guess the patch does not work for >>>>> locales because DejaVu dose not support many locales such as >>>>> chinease/japanese. Is this correct? >>>> Yes, it is. >>>> Sans/Monospace is the logical font and they works for locales because the >>>> entities are defined in fonts.conf but you're try to replace the logical >>>> fonts to the specific fonts. >>>> >>>>> And anther question is if I set locale as C, does the setting work for >>>>> en_US.UTF-8. If not, I doubt if we should make the change. Because >>>>> en_US.UTF-8 is the most common locale for most systems I think. >>>> My suggestion works for en_US.UTF-8. But I need additional works for other >>>> .po files and I think it's still a little wrong. >>>> Actually I think the right fix is to modify fonts.conf instead of the >>>> strings "Sans", "Monospace" in GNOME schemas. >>>> >>>> fujiwara >>>> >>>>> Regards, >>>>> >>>>> Jedy >>>>>> fujiawra >>>>>> >>>>>> Jedy Wang-san wrote (08/18/08 04:23 PM): >>>>>>> Hi, >>>>>>> >>>>>>> The attached patches update default fonts of GNOME for OpenSolaris >>>>>>> 2008.11 according to UI spec. >>>>>>> --------------------------------------------->8 >>>>>>> Application font: Deja Vu Sans Condensed 8pt >>>>>>> Document font: Deja Vu Sans Condensed 8 pt >>>>>>> Desktop font: Deja Vu Sans Book 8 pt (Book is easier to read against >>>>>>> background patterns as it has a better drop-shadow) >>>>>>> Window title font: Deja Vu Sans Bold 8 pt >>>>>>> Monospace font: Deja Vu Mono Book 8pt >>>>>>> ---------------------------------------------->8 >>>>>>> >>>>>>> font-1.diff will be merged into libgnome-02-indiana-default.diff. >>>>>>> font-3.diff will be merged into >>>>>>> nautilus-09-interface-changes-indiana.diff >>>>>>> metacity-12-opensolaris-branding.diff is a new patch. Actually, there is >>>>>>> a existing patch indexed by 12() but it is not referenced by the spec >>>>>>> file. So I think it can be removed but I will contact Erwann to make >>>>>>> sure. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Jedy >>>>>>> >>> > >
