FROM : Thilo Ettelt
DATE : Mon Nov 25 17:30:33 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Mon Nov 25 17:30:33 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Thilo Ettelt | Nov 25, 17:30 | |
| Thilo Ettelt | Nov 26, 14:56 | |
| Robert Cerny | Nov 26, 15:46 | |
| Andy | Nov 27, 04:26 |






Cocoa mail archive

