Skip to content

Added CTTypesetter APIs in core-text. #734

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

toolscode
Copy link

CTTypesetterCreateLine
CTTypesetterSuggestLineBreak
CTTypesetterCreateLineWithOffset
CTTypesetterSuggestClusterBreak
CTTypesetterSuggestClusterBreakWithOffset

CTTypesetterCreateLine
CTTypesetterSuggestLineBreak
CTTypesetterCreateLineWithOffset
CTTypesetterSuggestClusterBreak
CTTypesetterSuggestClusterBreakWithOffset
@waywardmonkeys
Copy link
Contributor

Have you considered using objc2-core-text which already has bindings for CTTypeSetter and more? https://docs.rs/objc2-core-text/latest/objc2_core_text/struct.CTTypesetter.html

@toolscode
Copy link
Author

I've already tried using it, but it was too difficult, so I chose Core Foundation instead.

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