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

Fix and improve typesetting when multiple fonts are used #54

Merged
merged 2 commits into from
Mar 22, 2022
Merged

Conversation

shuding
Copy link
Member

@shuding shuding commented Mar 22, 2022

This PR corrects the baseline and vertical alignment computation based on the spec. Now if multiple fonts are used, it's automatically aligned to the baseline of line box:

CleanShot 2022-03-22 at 19 59 37@2x

@vercel
Copy link

vercel bot commented Mar 22, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/satori-playground/9G9djGWMFoVKoscj4oWzcTUPbRWx
✅ Preview: https://satori-playground-git-shu-2f22.vercel.sh

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

Successfully merging this pull request may close these issues.

None yet

1 participant