xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Ferraiolo <Jon.Ferrai...@adobe.com>
Subject Re: [svg-developers] Spec question RE: (was dominant-baseline question)
Date Mon, 27 May 2002 20:35:39 GMT
Michael,
Yes, the SVG working group is aware of this discrepancy and will be fixing 
it. I'm not sure of the details about when or how. Maybe Dean, Chris or 
someone remembers exactly how/when the discrepancies will be resolved.

On behalf of the working group, thanks for the report, thanks for 
persisting, and (particularly from the SVG 1.0 editor) apologies about the 
error.

Jon

At 11:19 AM 5/27/2002 -0700, Michael Bierman wrote:
>I posted this a while ago and got little response.  I also posted it to
>http://lists.w3.org/Archives/Public/www-svg/ but it has never even showed up
>there. (The archive seems to be functional, anyone else having trouble
>posting?)
>
>At any rate, is anyone on the working group aware of the apparent flaw in
>the DTD?
>
>Michael
>
>
>  -----Original Message-----
>From: Michael Bierman [mailto:mbier@yahoo.com]
>Sent: Saturday, May 18, 2002 11:41 PM
>To: SVG Developers
>Cc: Batik Users
>Subject: dominant-baseline question
>
>
>   The 1.0 DTD reads:
>
>   dominant-baseline (auto | autosense-script | no-change | reset |
>ideographic | lower | hanging | mathematical | inherit ) #IMPLIED
>
>   The 1.0 spec reads:
>   Value: auto | use-script | no-change | reset-size | alphabetic | hanging |
>ideographic | mathematical | central | middle | text-after-edge |
>text-before-edge | text-top | textbottom | inherit
>
>
>   The 1.1 DTD reads:
>   dominant-baseline (auto | autosense-script | no-change | reset |
>ideographic | lower | hanging | mathematical | inherit ) #IMPLIED
>
>   1.1 spec reads:
>
>   Value: auto | use-script | no-change | reset-size | ideographic |
>alphabetic | hanging | |mathematical | central | middle | text-after-edge |
>text-before-edge | inherit
>
>
>   My questions are:
>
>   1. I take it that "text-top" and "textbottom"  were removed from 1.1 ?
>
>   2. Why do the DTDs read "autosense-script" but the specs read,
>"use-script" (both 1.0 and 1.1)?  Is this an error or is there a reason for
>this?  If one is right and one is wrong, which is right?
>
>   3. The order has changed of some of the attributes.  Is there any meaning
>to this, or was it some purely aesthetic change?
>
>   4. "alphabetic" is mentioned in both 1.0 and 1.1 specs, but not the DTDs.
>
>   I created a test file:
>
>   <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
>   <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
>    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
>   <svg xml:space="preserve" viewBox="0 0 600 600" width="600" height="600">
>
>   <g id="example1">
>   <text font-size="40" x="20" y="40">
>   <tspan dominant-baseline="ideographic">Some Text</tspan><tspan fill="red"
>dominant-baseline="hanging">Some Text</tspan></text>
>    <line stroke="green" stroke-width="3" x1="0" y1="40" x2="500" y2="40"/>
>   </g>
>
>   <g id="example2">
>   <text fill="red" font-size="40" x="20" y="80"
>dominant-baseline="mathematical">Some Text</text>
>   <text fill="yellow" font-size="40" x="220" y="80"
>dominant-baseline="hanging">Some Text</text>
>   <line stroke="midnightblue" stroke-width="3" x1="0" y1="80" x2="500"
>y2="80"/>
>   </g>
>
>   </svg>
>
>
>   This renders differently in ASV 3 than Batik 1.1.1 or 1.5b2.  In Batik all
>text is on the same baseline.  In ASV 3, "example2" renders as expected, but
>not "example1" even though as far as I can tell, tspans can have the
>dominant-baseline attribute.  Am I mistaken on that?
>
>   Thanks very much.
>
>   Michael
>
>
>[Non-text portions of this message have been removed]
>
>
>------------------------ Yahoo! Groups Sponsor ---------------------~-->
>Save 30% on Web addresses! Get with the times, get a web site. Share 
>information, pictures, your hobby, or start a business. Great names are 
>still available- get yours before someone else does!
>http://us.click.yahoo.com/XmK3jA/nFGEAA/sXBHAA/1U_rlB/TM
>---------------------------------------------------------------------~->
>
>-----
>To unsubscribe send a message to: svg-developers-unsubscribe@yahoogroups.com
>-or-
>visit http://groups.yahoo.com/group/svg-developers and click "edit my 
>membership"
>----
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message