-
Notifications
You must be signed in to change notification settings - Fork 25
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
fontique: Enable builds for iOS and other Apple targets. #47
fontique: Enable builds for iOS and other Apple targets. #47
Conversation
Opened this as a draft for now for 2 reasons:
On the other hand, I should bring up points 2 and 3 in Zulip. |
f2293fb
to
9fa6eb3
Compare
9fa6eb3
to
59fad49
Compare
Going to adjust this one ... |
@waywardmonkeys Out of curiosity, have you actually tried this on tvOS? (or whatever they are calling it by the time you reply) |
59fad49
to
51e0aa7
Compare
This uses `target_vendor` despite the future deprecation as there will be a replacement (likely using `target_family`) as the deprecation nears.
51e0aa7
to
ac3d510
Compare
This just uses CoreText which is the same on all Apple targets. I've built it for tvOS but haven't used it yet. (Need to get wgpu and other things updated.) Not sure what the "or whatever they're calling it by the time you reply" is meant to mean or imply in any constructive sense. |
This follows along with rust-lang/rust#124491 |
Fair enough. A lot of other things differ, so I didn't assume that CoreText was the same on all the platforms.. as for trying it on tvOS/iOS, you should be able to run it without a renderer as far as I'm aware. That's how the original fontique examples (such as |
Backend selection for iOS wasn't hooked up.
Also added support for tvOS as it is the same as iOS here.