Open GoogleCodeExporter opened 9 years ago
Have you made sure that those fonts come with bold variants? (You can check in
Font Book.)
Note that MacVim does not "fake" bold when there is no bold font variant
available, it simply displays them non-bold.
Original comment by bjorn.winckler@gmail.com
on 3 Dec 2010 at 2:01
Hi Bjorn,
Thanks for the tip. I assumed that MacVim would be faking the bold fonts
because the same fonts used to appear as bold but then stopped.
There aren't many programming fonts that come with a bold variant, even
standards like Monaco are Regular only. I've ended up with Menlo, which does
have bold.
Any chance of a fake bold implementation??
Thanks,
Garry
Original comment by magneti...@gmail.com
on 6 Dec 2010 at 12:30
Perhaps the old ATSUI renderer faked bold (I can't remember) but this has been
deprecated.
It is a shame that so many fonts are missing bold variants - I will put a note
in my todo list to see if I can get faked bold working.
Original comment by bjorn.winckler@gmail.com
on 9 Dec 2010 at 3:06
I think it did.
That would be absolutely fantastic, thanks!
Original comment by magneti...@gmail.com
on 9 Dec 2010 at 3:38
+1 Please add bold support for programming fonts.
Original comment by viktorov...@gmail.com
on 18 Jan 2011 at 12:57
I have not been able to find any built-in mechanism for faking bold in Mac OS X
so the only way I can think of doing it would be rendering the text twice, the
second time offset by one pixel. However, this will require more time than I
have available right now.
If anybody stumbles onto this issue and knows a simple way (as in "there's an
API for that (c)") to get faked bold, please let me know.
By the way: the ATSUI did not fake bold either (I checked).
Original comment by bjorn.winckler@gmail.com
on 19 Jan 2011 at 10:12
In the meantime, for the Inconsolata lovers there is a bold version that works
well enough for most purposes:
http://www.bitcetera.com/en/techblog/2009/10/09/inconsolata-xl-font
Original comment by dmitryki...@gmail.com
on 28 Jul 2011 at 4:55
I don't know of an API that does this, but I can add that for anti-aliased
fonts it is enough to render twice, without a pixel offset. That's how iTerm2
does it -- see the attached source file (search for 'fakeBold').
Original comment by guygur...@gmail.com
on 8 Sep 2011 at 10:21
Attachments:
I'd like to see iTerm2's "fakeBold" approach utilized. It works well in iTerm2.
Original comment by zachkell...@gmail.com
on 3 Oct 2011 at 9:01
Here is a Monaco font with a Bold variant just for the record:
https://github.com/vjpr/monaco-bold
Original comment by vroues...@gmail.com
on 9 Jun 2013 at 2:49
Original issue reported on code.google.com by
magneti...@gmail.com
on 2 Dec 2010 at 8:43Attachments: