cocoa - How do I get an NSFont object from a CGFont or CTFont object? -
i dealing loading ttf resource only. this question helped me answer part 1. need nsfont cgfont or ctfont.
this mac application.
how nsfont cgfont
use ctfontcreatewithgraphicsfont
.
how nsfont ctfont
do nothing. have one. nsfont , ctfont toll-free bridged, ctfont nsfont , vice versa.
Comments
Post a Comment