Re: X-height fallback

On Thursday, January 30, 2003, 6:55:40 PM, Allen wrote:


AR> Steve,

AR> I don't know, but am interested in the answer myself!  I'm responding to let
AR> you know that messages regarding SVG support for allowing graphics to adapt
AR> to sizes of particular strings do show up now and then (some from me). This
AR> topic appears not to be one that the powers-that-be found important for some
AR> reason.  Scripting is said to have access to sizes of things, and that
AR> scripts are thus necessary to properly adapt graphics to text. 

AR> -Allen

AR> -----Original Message-----
AR> From: Steve Schafer [mailto:steve@fenestra.com] 
AR> Sent: Thursday, January 30, 2003 10:12 AM
AR> To: www-svg@w3.org
AR> Subject: X-height fallback


AR> Not all fonts specify an x-height, and even when they do, it's not
AR> always possible to determine what it is (Windows, for example, doesn't
AR> provide an API for obtaining a font's x-height).

AR> Does SVG define any kind of fallback mechanism for approximating a
AR> font's x-height (for dimensions specified in "ex" units)? I couldn't
AR> find anything in the spec.

CSS does, and SVG follows that. 1ex can be approximated as 0.5em for
those fonts that have no lower case letters or for platforms that do
not allow access to the x-height in a font.

-- 
 Chris                            mailto:chris@w3.org

Received on Thursday, 30 January 2003 19:53:41 UTC