Joe wrote:
> > Canvas appears to be even more basic than that, though what is not
clear
> > from the specification is whether or not text in Canvas elements is
> > subject to the same text shaping etc. that text elsewhere in HTML is
> > subject to.
>
> Yes, it can be scaled, etc.
Is it shaped using the same shaper etc. as regular text? If so, then
things like ligatures might "just work" because I believe it's the job of
the shaper to do that kind of glyph substitution.
> I can testify that SVG does provide full bounding box calculation,
> because Noteflight absolutely relies on that. The bounding box API
> is generic to all SVG graphical elements rather than being text-
> specific, which is probably how you missed it. The SVG spec is also
> organized in a very complicated way with many interface definitions
> whose relationship to everything else in the spec is far from clear.
>
> Here's the culprit:
>
http://www.w3.org/TR/SVG/types.html#__svg__SVGLocatable__getBBoxRight, that makes sense. Well, at least you can measure glyphs reliably,
then! This confirms the requirement for a separate file of some kind that
provides information about stem connections, etc. Hopefully we can find a
way to generate such a file relatively automatically via UFO or a dump of
the OpenType feature tables.
Daniel
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Steinberg Media Technologies GmbH, Frankenstrasse 18b, D-20097 Hamburg, Germany
Phone: +49 (40) 21035-0 | Fax: +49 (40) 21035-300 | www.steinberg.net
Managing Director: Andreas Stelling, Kazunori Kobayashi
Registration Court: Hamburg HRB 86534
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#############################################################
This message is sent to you because you are subscribed to
the mailing list <
[hidden email]>.
To unsubscribe, E-mail to: <
[hidden email]>
To switch to the DIGEST mode, E-mail to <
[hidden email]>
To switch to the INDEX mode, E-mail to <
[hidden email]>
Send administrative queries to <
[hidden email]>