-
Notifications
You must be signed in to change notification settings - Fork 28
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
A few typographic properties #17
Comments
Oh yeah, these would be great. Hanging punctuation is something I've wanted to do. I cannot think of anything which would make that, drop capitals, or hanging indent difficult. Fragmentation for pages (#7) is a high priority, so I'll think about orphans when I do that. It's a big project though. Dropflow can actually render HTML to HTML, so it could be used as a way to experiment with features that aren't in browsers yet. Not sure if it'd be wise to use in production or not, but it's at least interesting. |
Great! And oops, I meant Oh interesting, I see the I’m open to helping. Would implementing this feature require much study of what you’ve built so far? |
That one I haven't given much thought yet. I think it involves normal layout and then another pass to refill the same line boxes (with something like Knuth-Plass?). Could be hard. I'm also about to release
Drop capitals I think involves generating a new box type and shortening lines probably via the same mechanism floats use ( |
Nice project! There are a few typographic properties that Chrome and Firefox haven’t prioritized (after a decade!), so maybe adding them to dropflow would finally let us render near print-quality text on the web. They seem straightforward to me, but would it be a lot of work?
hanging
andeach-line
Examples
Drop capitals:
Hanging indent:
Hanging punctuation:
The text was updated successfully, but these errors were encountered: