#199 new
Adeel Ahmad Khan

Problems setting font-family in style.css.

Reported by Adeel Ahmad Khan | January 27th, 2011 @ 06:09 PM

It seems that the CSS parser can only recognize values of “serif”, “sans-serif”, “monospace”, etc. for font-family.

For example, place the following in ~/.kod/style.css:

body { font-family: Verdana; }

Or:

body { font-family: 'Verdana'; }

Neither of these gives the desired result.

Update. This actually seems to be an issue with libcss. Check the font method in CSSStyle.m. The value of familyClass seems to be CSS_FONT_FAMILY_INHERIT in both of the above cases. It seems that css_computed_font_family is returning the wrong value for some reason.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Tags

Pages