Menu

#1245 Default content font-family (fontFamilyC) in Linux

3.5.1
closed-fixed
nobody
CSS (33)
5
2008-12-02
2008-11-28
No

The default font families for ZK/ZUL are:

Content: Verdana, Tahoma, Arial, serif
Titles: Verdana, Tahoma, Arial, Helvetica, sans-serif

Should the default/last family for content be sans-serif, given that all of the primary fonts given are sans-serif as well?

Viewing an application on a system without these Microsoft fonts (e.g. Linux without them installed) causes the pages to be rendered in serif and so they look quite different.

Discussion

  • Jumper Chen

    Jumper Chen - 2008-12-02
    • summary: Default content font-family (fontFamilyC) --> Default content font-family (fontFamilyC) in Linux
    • status: open --> closed-fixed
     
  • Jumper Chen

    Jumper Chen - 2008-12-02

    Fixed since 12/2.

    The result is as follows.
    Content: Verdana, Tahoma, Arial, Helvetica, sans-serif
    Titles: Verdana, Tahoma, Arial, Helvetica, sans-serif

    If you prefer more precise font-family, please specify the following code into the zk.xml.

    <library-property>
    <name>org.zkoss.zul.theme.fontFamilyC</name>
    <value>Verdana, Tahoma, Arial, Helvetica, sans-serif</value>
    </library-property>

     

Log in to post a comment.

MongoDB Logo MongoDB