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 floating font #67

Merged
merged 2 commits into from
Nov 25, 2021
Merged

Fix floating font #67

merged 2 commits into from
Nov 25, 2021

Conversation

filtsin
Copy link
Contributor

@filtsin filtsin commented Nov 25, 2021

Fix floating font. I use fontdue::Layout for that.

Changes: (Font: "Noto Serif Regular" 22px)

changes

Also, I moved font buffer on the heap, because debug builds have stack overflow on little stack size.

@filtsin filtsin changed the title Use fontdue layout for font draw Fix floating font Nov 25, 2021
@l4l
Copy link
Owner

l4l commented Nov 25, 2021

It seems I overlooked fontdue layouting capabilities, thanks!

@l4l l4l merged commit ece1498 into l4l:master Nov 25, 2021
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.

2 participants