Skip to content

Demonstration of converting text strings to bezier graphic entities. Works on iOS or Mac.

Notifications You must be signed in to change notification settings

mgriebling/Shapes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Shapes

Demonstration of converting text strings to bezier graphic entities. Works on iOS or Mac.

I've been scouring the web to find how to convert text and attributed text to graphic entities. Really surprised this is so hard. Fortunately I found inspiration by work from Mohammid Ali Jafarian and some Stackoverflow contributers.

My main contribution was to get this working on all iOS and Mac devices with no code changes.

Here are some samples:

Screenshot 2023-03-22 at 10 47 51 AM

Simulator Screen Shot - iPhone 14 Plus - 2023-03-22 at 10 49 12

As you can see, it's not perfect but seems to mostly work. The SwiftUI Text view seems to do some magic so that even color glyphs work. Please let me know if you figure out how to modify my glyph routines if you get this to work.

Enjoy!

About

Demonstration of converting text strings to bezier graphic entities. Works on iOS or Mac.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages