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

Exclusion area doesn’t always include descender for non-atomic initial letters #8

Open
acusti opened this issue Dec 15, 2014 · 1 comment

Comments

@acusti
Copy link

acusti commented Dec 15, 2014

The issue is well-illustrated in 2.8 Space Around Initial Letters from the spec.

It’s reproducible in the demo on Chrome 39 and Safari 8.0.2 with the letter “J” when you choose Baskerville, Garamond, or Palatino as the drop cap font family. For the letter “Q”, on the other hand, the exclusion area includes all of the descender in Palatino (plus extra), almost all of it in Garamond, and part, but not all of it, in Baskerville. See:

Baskerville

J in Baskerville

Q in Baskerville

Garamond

J in Garamond

Q in Garamond

Palatino

J in Palatino

Q in Palatino

@sylvain-galineau
Copy link
Contributor

I will try to look into these; since the platform does not expose font metrics we do our best effort to figure them out but this does not always work. You may want to try to add the 'dcjs-descender' class to these elements and see if it helps. Let me know...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants