You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Avin Goyal (JIRA)" <de...@myfaces.apache.org> on 2014/10/07 13:26:33 UTC

[jira] [Updated] (TRINIDAD-2512) Code changes to allow the use of font-family in CSS (for CJK locales)

     [ https://issues.apache.org/jira/browse/TRINIDAD-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Avin Goyal updated TRINIDAD-2512:
---------------------------------
    Status: Patch Available  (was: Open)

> Code changes to allow the use of font-family in CSS (for CJK locales) 
> ----------------------------------------------------------------------
>
>                 Key: TRINIDAD-2512
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2512
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: 2.1.0-core
>            Reporter: Avin Goyal
>
> While investigating, I found that base-desktop.css (in trinidad)
> contains this code: 
> /** CJK style sheet for all **/
> @locale ja, zh, ko {
>     /**
>       We don't specify a font family for CJK languages, since most browsers
>       (Netscape, ICE, IE) seem to have problems displaying CJK text with
>       our default font-family list (Arial, Helvetica, etc...).  We're better
>       off letting the font-family default.
>     **/
>     .AFDefaultFontFamily:alias {
>       -tr-inhibit: font-family;
>     }
> } 
> and thus inhibiting font family for CJK locales. Since this code was added 10 years back and this issue no longer exists, I'm removing it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)