Font names
Font names
- Subject: Font names
- From: Thilo Ettelt <email@hidden>
- Date: Mon, 25 Nov 2002 17:30:33 +0100
Hi!
I'm trying to brigde a REALbasic (so carbon) chat application with my
cocoa chat client. the problem is that a font in carbon has a different
name than in cocoa. what I mean is that in cocoa everything is splitted
into font/family/etc. (and bold/italic etc) but in carbon it's just
"Copperplate" and "Copperplate Light". So when a message from the
carbon app arrives with the font name "Copperplate Light" my cocoa
client won't handle it because there's no font exactly named
"Copperplate Light" than rather a font object "Copperplate" with
family/style or whatever called "Light". Is there some sort of
converter for such things? Like a method which returns an NSFont object?
Cheers, Thilo
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.