Re: [css] “text-rendering” property

Jens O. Meiert wrote:

> A quick question, how do “text-rendering” [1] and other properties
> specified in SVG drafts relate to CSS precisely—the CSS status page
> [2] merely lists SVG as “Other”? Will these become part of CSS 3
> eventually, or will they remain independent; is there any document
> describing how the CSS and SVG specs relate to each other in this
> regard? Curious about specifics as I could not spot any
> documentation so far.

The text-rendering property is a hint to the browser about the
author's intentions. Beginning in Firefox 3.0, Firefox uses it to
choose whether to enable kerning and ligatures or not.  Webkit later
adopted this for the same purpose.

More explicit control over kerning and ligatures will be available
once the font feature proposal in the current CSS3 Fonts draft has
been agreed upon and implemented, it includes explicit control over
kerning and ligatures:

  http://dev.w3.org/csswg/css3-fonts/#font-rend-props

Regards,

John Daggett

Received on Monday, 12 July 2010 03:50:48 UTC