Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is the first glyph positioned in a line? #39

Closed
nikosandronikos opened this issue Jan 30, 2016 · 2 comments
Closed

How is the first glyph positioned in a line? #39

nikosandronikos opened this issue Jan 30, 2016 · 2 comments

Comments

@nikosandronikos
Copy link
Member

Source: http://tavmjong.free.fr/SVG/TEXT_SYDNEY_2016/#Wrapped (See 3.5)

When the first glyph is positioned at the edge of a wrapping area that is not a vertical line (for horizontal text), how is the first glyph positioned?

@Tavmjong
Copy link
Contributor

Tavmjong commented Feb 5, 2016

According to the CSS WG (fantasai) the box formed by using the width of the glyph and the height taking into consideration of the 'line-height' property is used. Where this is speced in CSS isn't clear.

@Tavmjong
Copy link
Contributor

Tavmjong commented Apr 6, 2016

The SVG 2 spec has been updated with the above method.

@Tavmjong Tavmjong closed this as completed Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants