#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

  • Adeel Ahmad Khan

    Adeel Ahmad Khan February 8th, 2011 @ 05:41 PM

    • Tag set to css, font, styles
    • Assigned user set to “rsms”
  • Ritch

    Ritch December 20th, 2021 @ 07:19 PM

    Simply you can follow these step

    body{

    font-family:"font1","font2";
    } added css.fontStyle="Your font style try this is is helpful for you " Checkout also apkact for some tips and tricks.

  • Apkkiss

    Apkkiss February 25th, 2022 @ 10:39 AM

    Here's the solution:

    body{

    font-family:"font1","font2";
    } added css.fontStyle==Your font style try this is is useful for you " Also visit apkupdated for some for further details.

  • kk

    kk May 28th, 2022 @ 10:12 AM

    เบื่อ อ่านนิยาย มาเล่นเกม pgslot กัน กัน พออ่านๆไปนานๆก็อาจจะเกิดอาการเบื่อ คงต้องหาอะไรทำแก้เบื่อ เราขอแนะนำเล่นเกมแก้เบื่อกัน นี่เลย เกมสล็อต จากค่าย PG SLOT กับทางเว็บของเรา

  • Jack213

    Jack213 June 27th, 2022 @ 02:25 PM

    For all Tripura citizens, the 9th class examinations are administered by the Tripura 9th Board of Secondary Education. This year's 9th class exams will begin in March, and the Tripura 9th class Syllabus 2023 will be released during the first week of June on the TRIPURA Board's official website. TBSE 9th Syllabus 2023 Millions of applicants are eager to download their Syllabus 2023, and many of them are having trouble finding the ideal URL to do so. Last year, the TRIPURA 9th board 9th class Syllabus 2023 was released in the syllabus-by-syllabus format.

  • Luv Sanu

    Luv Sanu July 3rd, 2022 @ 03:54 AM

    Well, we really need this type of CSS style. Download the best mod apk in one click.

  • Warner Smith

    Warner Smith July 6th, 2022 @ 08:00 PM

    use !important here for force it. and see much more about coding at https://phperrorcode.com/

  • Carey

    Carey July 13th, 2022 @ 04:04 PM

    Simple Add Important in last as I use in my website invisible character copy

  • ditch21

    ditch21 July 20th, 2022 @ 10:45 PM

    Here's the solution:

    body{

    font-family:"font1","font2";
    } added css.fontStyle==Your font style try this is is useful for you " Also visit apkbeer for some for further details.

  • golf

    golf October 15th, 2022 @ 07:32 AM

    แน่นอนว่า เมื่อเราได้นำเข้า lavagame เกม สล็อต pg เว็บ ตรง ก็ได้รับการตอบรับเป็นอย่างดี จากผู้เล่น ที่ชื่นชอบในเกมสล็อตออนไลน์ และหากคุณเป็นผู้เล่นใหม่ ไม่รู้ว่าจะเลือกเกม lavagame ไหนดี วันนี้ เราได้นำ 3 อันดับ เกมสล็อต ที่มาแรงมากที่สุดใน lava slot ของเรา เพื่อให้คุณได้ดูเป็นตัวอย่างก่อนตัดสินใจเล่น lava game slot ทางเข้า

  • isabella

    isabella November 2nd, 2022 @ 09:14 PM

    Well, we really need this type of CSS style. Download the best games and apps mod apk in one click.

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