Skip to content

feat: support macOS/Vulkan platform and add supersample option#5

Merged
Cyrillya merged 6 commits into
Cyrillya:mainfrom
TonyCrane:main
Mar 11, 2026
Merged

feat: support macOS/Vulkan platform and add supersample option#5
Cyrillya merged 6 commits into
Cyrillya:mainfrom
TonyCrane:main

Conversation

@TonyCrane
Copy link
Copy Markdown
Contributor

  • Support macOS platform by provide freetype6.dylib
  • Avoid crashes on the Vulkan engine (/gldevice:Vulkan, which is recommended on mac)
  • Add supersample option of font to improve font rendering quality, the effect is shown below
Frame 15

All has been tested on my macbook pro (m4 pro)

@Cyrillya
Copy link
Copy Markdown
Owner

Huge thanks! It looks way better with supersample

@Cyrillya Cyrillya merged commit 4cd0dc6 into Cyrillya:main Mar 11, 2026
@Cyrillya
Copy link
Copy Markdown
Owner

It seems that there are some bugs with supersampling. I am using Andy Bold as main font and Ping Fang SC Medium as sub font
The text line wrapping is bugged
image
Note these weird lines here, and still line wrapping
image
I am busy recently and can't fix the bug on my own. If you are interested and have figured out a fix, please create a new pull request.
I will publish v1.3.3 as an update for macOS/Vulkan support and mark supersampling as experimental. Again, huge thanks!

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