Re: bold text for font without bold typeface?
Re: bold text for font without bold typeface?
- Subject: Re: bold text for font without bold typeface?
- From: Dietrich Epp <email@hidden>
- Date: Fri, 17 Jan 2003 18:39:35 -0800
On Friday, January 17, 2003, at 03:54 , email@hidden wrote:
Hello,
I am developing an application where sometimes bold output is desired.
However,
not all fonts have a bold typeface, so
[NSFontManager convertFont: toHaveTrait:]
does not always work. For example, the Monaco font does not come in
bold. But
Apple's Terminal.app can stil output bold text with the font set to
Monaco.
Does anyone know how to achieve bold output for fonts without bold
typeface?
Don't. It's bad and wrong. It looks ugly too. But you can do it by
drawing characters twice, at their normal position and a pixel to the
right.
_______________________________________________
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.