Skip navigation.
 
mlRe: NSFont to ATSUFontID
FROM : Alex Raftis
DATE : Tue Jan 28 23:02:42 2003


On Monday, January 27, 2003, at 05:31 PM, Hubert Figuiere wrote:

> I need to go from a NSFont to an ATSUFontID, and I don't feel like
> getting the name and using that...
>
> My question is: is there an easy way to get from a NSFont a an
> ATSUFontID ?


Call -[NSFont _atsFontID]. That being said, this is private API, so it
may change in the future. Additionally, I don't know if this call will
always work with all fonts, but for me, so far, it's worked just fine.

Alex Raftis
---
<email_removed>


Related mailsAuthorDate
mlNSFont to ATSUFontID Hubert Figuiere Jan 27, 16:05
mlRe: NSFont to ATSUFontID Alex Raftis Jan 28, 23:02