Jedy Wang-san wrote (08/25/08 06:42 PM):
> After applying this, it seems the system alway uses DejaVu Sans
> condensed if DejaVu Sans is the default font. But I also want to use
> DejaVu Sans book and DejaVu Sans bold.
> 
> What I want is add condense/book/bold style to Sans font or mapping them
> to some existing style of Sans font. In such way, when I select Sans
> book it should be DejaVu Sans book, when I select Sans condensed if
> should be DejaVu Sans condensed.

OK, I understood you want both "Condensed" and "Book" style and the default 
style is "Condensed".
I think "Sans" loads "Sans Regular" and it seems I couldn't find to set the 
default style for Sans/Serif/Monospace.

If you change the font size and font style in GNOME side, I think it's ok.
- <default>Sans 10</default>
+ <default>Sans Condensed 10</default>

But font families need to be handled in fonts.conf.

fujiwara

> 
> I do not know if this is doable.
> 
> Regards,
> 
> Jedy
> On Mon, 2008-08-25 at 18:20 +0900, Takao Fujiwara - Tokyo S/W Center
> wrote:
>> Jedy Wang-san wrote (08/25/08 02:44 PM):
>>> The CR6740289 was assigned back by Alan. Could you please add your
>>> comments to the CR?
>> --- /etc/fonts/fonts.conf.orig  2008-08-25 18:03:48.356303000 +0900
>> +++ /etc/fonts/fonts.conf       2008-08-25 18:09:06.533313000 +0900
>> @@ -459,4 +459,12 @@
>>                 <bool>false</bool>
>>         </edit>
>>  </match>
>> +<match target="pattern">
>> +        <test name="family">
>> +                <string>DejaVu Sans</string>
>> +        </test>
>> +        <edit name="style" mode="assign">
>> +                <string>Condensed</string>
>> +        </edit>
>> +</match>
>>  </fontconfig>
>>
>> Does this change satisfy your request?
>>
>> fujiwara
>>
>>> Regards,
>>>
>>> Jedy
>>> On Fri, 2008-08-22 at 19:27 +0900, Takao Fujiwara - Tokyo S/W Center
>>> wrote:
>>>> Thanks much for the update.
>>>>
>>>> I'm a bit busy now.
>>>> Please let me reply next Monday.
>>>>
>>>> fujiwara
>>>>
>>>> Jedy Wang-san wrote (08/22/08 05:50 PM):
>>>>> I update the patch. Now only font size is changed and the change works
>>>>> for both Nevada and OpenSolaris. I also file a bug(6740289) to
>>>>> fontconfig to update the default font.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jedy
>>>>> On Mon, 2008-08-18 at 16:41 +0900, Takao Fujiwara - Tokyo S/W Center
>>>>> wrote:
>>>>>> I don't think your fix works for locales.
>>>>>> Please change C locale only.
>>>>>>
>>>>>>       <default>Sans 10</default>
>>>>>>        <locale name="C">
>>>>>> +       <default>DejaVu Sans Semi-Condensed 8</default>
>>>>>>
>>>>>>
>>>>>> 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
>>>>>>>
>>>
> 
> 


Reply via email to