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

Justification engine demo #68

Open
dberlow opened this issue Mar 3, 2019 · 11 comments
Open

Justification engine demo #68

dberlow opened this issue Mar 3, 2019 · 11 comments

Comments

@dberlow
Copy link
Collaborator

dberlow commented Mar 3, 2019

As more and more needs to be demonstrated at once, before we go too far in parametric x space, I'd like to specify parametric y space more definitively.

So, e.g. pictured below, it's hard to look at larger samples in the justification demo (left) (typetools right), because the linespacing is not following an ideal:
justifydemo vs ideal

So, can we automate all linespacing, at least in the Justification engine, to a single function like this:
linespacing

then we can tweaque it for things like widths, and weights after we tweaque it for size.

Using YOPQ makes it serif/sans and case independent, as using YOPQ, means justifying using the local YOPQ value exactly, or to leverage off it and get a proper linespacing

Let me know thanks.

@ghost
Copy link

ghost commented Mar 3, 2019

Okay I have added this math! And some new labels at the top of the paragraph that shows the current YOPQ, column width, and line height.

@ghost
Copy link

ghost commented Mar 28, 2019

Todo: make column width a slider, or detect touch events to make it work on mobile.

@ghost ghost closed this as completed Mar 31, 2019
@dberlow
Copy link
Collaborator Author

dberlow commented Apr 22, 2019

Chris,
There is one thing i hope we can do easily and quickly.
I'd like to be able to compose and justify RobotoExtremo, as well as AmstelvarAlpha?

@dberlow dberlow reopened this Apr 22, 2019
@ghost
Copy link

ghost commented Apr 22, 2019 via email

@dberlow
Copy link
Collaborator Author

dberlow commented Apr 22, 2019 via email

@dberlow
Copy link
Collaborator Author

dberlow commented Apr 22, 2019 via email

@ghost
Copy link

ghost commented Apr 22, 2019

This was more work than expected because a lot of the code was based around the assumption that Amstelvar Alpha was the center of the universe. I've loosened up the justification demo page to be more font-agnostic. I put in some initial values for Roboto Extremo, using wdth since it doesn't have XTRA. My eyeball says my values are probably a bit too extreme, but it's a start.

@ghost
Copy link

ghost commented Apr 22, 2019

You can edit the Roboto tolerances here if you like.

@dberlow
Copy link
Collaborator Author

dberlow commented Apr 23, 2019 via email

@ghost
Copy link

ghost commented Apr 23, 2019

Do we have composite-to-parametric relationship math for Roboto Delta? (For doing the ghost-slider thing in typetools, and for computing relative-weight based on XOPQ for the brochure.) @sannorozco @dberlow

@ghost
Copy link

ghost commented Apr 23, 2019

Okay Delta is in on the Justification page

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