Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512

--- Comment #67 from caribou <[email protected]> 2010-10-19 
00:39:05 PDT ---
I noticed that the font-stretch property parsing is now implemented and that
each DOM element has the correct runtime value though the stretching itself is
not implemented. I also noticed that the @font-face declaration parsing 
mechanism knows about font-stretch.
I was wondering if it was difficult to implement the font switching when using
user fonts defined with @font-face regarding the value of font-stretch as it
does with the font-style and font-weight ones.
Ex: 
@font-face {
   font-family : MyFont;
   src : url(myfont.otf);
   font-stretch : normal;
}
@font-face {
   font-family : MyFont;
   src : url(myfont-condensed.otf);
   font-stretch : condensed;
}
...
@font-face {
   font-family : MyFont;
   src : url(myfont-expanded.otf);
   font-stretch : expanded;
}

Actually, the latest @font-face declaration overrides the previous one and
there is no font switching at all. In case that not all of the stretch variants
are defined through @font-face, the closest stretch font could be applied. I
don't think this represents a lot of work as all the basis are already
implemented (font-stretch and @font-face parsing)

Anyone can tell me if this partial implementation represents a lot of work to
include it in the future release?

-- 
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to