Thread-topic: FMGetFontFromFontFamilyInstance returns the same font for a MM font?
On Mac OS 10.3.8 I have a FMFontFamily id. I would like to get the
ATSUFontID for the plain style font of this family for setting the
kATSUFontTag attribute while creating an ATSUStyle.
After installing an old Graphite MM font with Font Book, there are 9 new
font families available, both in CodeWarrior 9.1 and in my application.
Since ATSUFONDtoFontID is not recommended, I use
status = FMGetFontFromFontFamilyInstance (familyID, normal, &fmFont,
NULL);
I found that calling FMGetFontFromFontFamilyInstance with these
different family ids it returns the same fmFont id for each family. It
means that all the 9 variations of this font looks the same for me (CW
is OK).
Is there a better way to get the ATSUFontID?
Thanks
Geza
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden