Re: Unified draft of SVG-in-OT

It is extremely important that the bounding box for the normal glyph be 100% identical to that of the SVG variant, and that all drawing is clipped to that box – just as it is with normal rendering.

If you were to allow the SVG variant of the glyph to be sized differently – it would be IMPOSSIBLE to maintain a consistent layout of content between systems that differed in which of the variants was selected.   And I am pretty sure none of us want that.

Leonard

From: Robert O'Callahan <robert@ocallahan.org<mailto:robert@ocallahan.org>>
Reply-To: "robert@ocallahan.org<mailto:robert@ocallahan.org>" <robert@ocallahan.org<mailto:robert@ocallahan.org>>
Date: Thursday, July 25, 2013 8:30 PM
To: Nikos Andronikos <nikos.andronikos@cisra.canon.com.au<mailto:nikos.andronikos@cisra.canon.com.au>>
Cc: "public-svgopentype@w3.org<mailto:public-svgopentype@w3.org>" <public-svgopentype@w3.org<mailto:public-svgopentype@w3.org>>
Subject: Re: Unified draft of SVG-in-OT
Resent-From: "public-svgopentype@w3.org<mailto:public-svgopentype@w3.org>" <public-svgopentype@w3.org<mailto:public-svgopentype@w3.org>>
Resent-Date: Thursday, July 25, 2013 8:31 PM

On Fri, Jul 26, 2013 at 12:22 PM, Nikos Andronikos <nikos.andronikos@cisra.canon.com.au<mailto:nikos.andronikos@cisra.canon.com.au>> wrote:
I do have one question.
The proposal notes that the font bounding box in the head table must be
suitable for static renderings of the glyph.
How is this possible considering features of the glyph may be set
through parameters?
e.g. the user may specify a stroke width of any size.

I think the spec probably shouldn't say that. The bounding boxes in the head table should probably just be ignored for SVG glyphs. The renderer can compute the bounding boxes from the SVG content.

Rob
--
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr, 'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp  waanndt  wyeonut  thoo mken.o w

Received on Friday, 26 July 2013 02:36:32 UTC