Fonts
Fonts
- Subject: Fonts
- From: Rick Bischoff <email@hidden>
- Date: Mon, 28 Jun 2004 05:27:29 -0500
Hello,
I am trying to increase the weighting of the "userFixedPitchFontOfSize":
NSFont* font = [NSFont userFixedPitchFontOfSize:10.0];
NSFont* test = [[NSFontManager sharedManager] convertFont:font
toHaveTrait:NSBoldFontMask];
if ( test == font ) NSLog(@"font manager was unable to convert font to
have bold");
NSFont* test2 = [[NSFontManager sharedManager] convertWeight:YES
ofFont:font];
if ( test2 == font ) NSLog(@"font manager was unable to increase weight
of the font");
If I run the following code, both log messages are shown.
Ok so this may sound reasonable-- maybe Monaco just doesn't have the
ability to
display bold or weighted characters? Wrong-- my terminal is set to use
Monaco 10pt and it shows Monaco in bold all the time. What am I doing
wrong?
Thanks,
Rick Bischoff
Blog, and home for some MacOS X apps --
http://rickjr.org
_______________________________________________
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.