Get a plan for NSGlyph

Using Core Text, you could get the CGGlyph outline on CTFontCreatePathForGlyph(...) . Now I would like to port the font engine from Core Text to Cocoa, so the question is: Is there a way to get a schema for NSGlyph?

+4
source share
1 answer

Yes, you can use NSBezierPath -appendBezierPathWithGlyph:inFont:

I would like to add that you can also use CoreText with Cocoa. Therefore, in this sense, you do not need to endure.

+1
source

Source: https://habr.com/ru/post/1299886/


All Articles