Peter Thompson wrote: > When I use the following code, 'A' displays as a square and 'B' > displays as a filled-in square. > > Can someone please explain why 'B' displays as a filled-in square? > > <missing-glyph horiz-adv-x="2048" d="M256 0V1536H1792V0H256ZM384 > 128H1664V1408H384V128Z"/> > <glyph unicode="A" horiz-adv-x="2048" d="M256 0V1536H1792V0H256ZM384 > 128H1664V1408H384V128Z"/> > <glyph unicode="B" horiz-adv-x="2048" d="M256 0V1536H1792V0H256Z"/>
That simple... Actually, the missing glyph and the A char. are made of two rectangles, a small one inside a bigger one, and they go in reverse order: M256 0 V1536 H1792 V0 H256 Z M384 128 H1664 V1408 H384 V128 Z so the second one is "digging" a hole inside the first one. The square you see don't have a (visible) stroke, but the border is actually the difference between the two squares. The B char is made of only one rectangle, so it is filled the default way. http://www.w3.org/TR/SVG11/painting.html#propdef-fill-rule -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- For servers mangling my From and Reply-To fields, -- please send private answers to PhiLho(a)GMX.net -- -- -- -- -- -- -- -- -- -- -- -- -- -- ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

