Skip to content

Fix floating font#67

Merged
l4l merged 2 commits intol4l:masterfrom
filtsin:master
Nov 25, 2021
Merged

Fix floating font#67
l4l merged 2 commits intol4l:masterfrom
filtsin:master

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