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?
CTFontCreatePathForGlyph(...)
Yes, you can use NSBezierPath -appendBezierPathWithGlyph:inFont:
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.
Source: https://habr.com/ru/post/1299886/More articles:Totally OO C ++ SQL Wrapper? - c ++Assembly coding standards / best practices - assemblyIn Vim: how to change a highlighted section? - vimdynamically change div width - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1299885/python-script-outputs-to-console-even-when-its-run-in-the-background&usg=ALkJrhjEM8jP9EtiCCdBv_7Wmo9rAHosNQStrange corruption in PHP - phpHow to find out which SMTP server is being used? - emailjQuery adds all hyperlink elements that reference PDF files - jqueryin C ++, how to use singleton to ensure that each class has a unique integral identifier? - c ++Create EDMX files and compile them - c #All Articles