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

Line end plan #17

Open
dberlow opened this issue Aug 24, 2021 · 0 comments
Open

Line end plan #17

dberlow opened this issue Aug 24, 2021 · 0 comments

Comments

@dberlow
Copy link
Collaborator

dberlow commented Aug 24, 2021

See “Emsquare spec In Typetools” below for defaults

Font Spec
Body - 14, 100width, 400wght
Main head 48, 85wdth, 650wght
Pull quote 32, 50wdth, 200wgth
Subhead 28, 100wdth, 750wght
Captionhead 18, 100wdth, 850wght

Line end rules
Body - Cold: size, wght, wdth,
Hot: xtra, track, wordspace

Main - cold: size, wght, track
Hot: wdth/XTRA, wordspace

Pull - cold size, wght, wdth, track
Warm: xtra, wordspace

Sub - cold: size, wght, wdth
Hot: xtra, track, wordspace

Cold means it’s inherited from somewhere else and can’t change from one headline, e.g. to the next.
Hot means it can be used to vary type to fit.
Warm means Only a little of it can be used.
C54BB1C0-A97D-45AF-9939-87AF289ACFFE

Algorithm?
If default size, wght, wdth, track, wordspace, and xtra

and text is shorter than column

done
(Body, Main, Sub expected to 1 or 2 lines only_

else,
if text is longer than column
and <1 word space beyond column width
then use size-specific equation, Body, Main, Sub
else break line

done.
(Pull, expected to always be >2 lines).

Note: use pull spec for"header"

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

1 participant