Re: A weird problem with 'font-family'



On Wed, Aug 17, 2011 at 4:17 AM, Reda Lazri <the red shortcut gmail com> wrote:
> No, I had the file opened and I just kept going to 'overview' and going back
> to Gedit, the errors kept appearing. It is definitely something recent.
>
> I don't remember if this was present in the Git version, I don't use it
> anymore. But how did you test this? with the default theme? You have to set
> the font to something other than 'Cantarell'.

I modified the default theme to say:

    stage {
        font-family: 'droid sans', cantarell, sans-serif;
    }

Like your theme does, and then used Alt+F2 "rt" to reload the current
theme. There were no errors for me.

> On Wed, Aug 17, 2011 at 8:53 AM, Jasper St. Pierre <jstpierre mecheye net>
> wrote:
>>
>> On Wed, Aug 17, 2011 at 3:09 AM, Reda Lazri <the red shortcut gmail com>
>> wrote:
>> > Hi :)
>> >
>> > I'm trying to make some themes for GNOME Shell, I use 'Droid Sans' as a
>> > default font. The problem is, when I open ~/.xsession-errors I see
>> > hundreds
>> > of errors like this: "(gnome-shell:1375): St-WARNING **: Couldn't parse
>> > family in font property"
>> >
>> > It only happens when I change the font from Cantarell. The weird thing
>> > is
>> > that the font is applied correctly, so I'm sure I used the right syntax.
>> >
>> > Anyway, you can test it yourself by downloading my theme from the link
>> > in
>> > the sig.(remember to install Droid fonts).
>> >
>> >
>> > --
>> > deviantART: http://0rAX0.deviantart.com
>> >
>> >
>> > _______________________________________________
>> > gnome-shell-list mailing list
>> > gnome-shell-list gnome org
>> > http://mail.gnome.org/mailman/listinfo/gnome-shell-list
>> >
>> >
>>
>> ~/.xsession-errors is kept across multiple sessions, so it may be that
>> for some reason you were having a ton of errors while developing the
>> theme. If you remove the file, logout and log back in, do the errors
>> still appear?
>>
>> Either way, I couldn't replicate the bug with my copy of GNOME Shell
>> from git, so it might also have been a bug that was fixed.
>>
>> --
>>   Jasper
>
>
>
> --
> deviantART: http://0rAX0.deviantart.com
>
>



-- 
  Jasper


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]