[haiku-development] Re: Terminal bold attribute rendering

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 14 Feb 2013 18:24:17 +0100

On 2013-02-14 at 16:57:22 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> On 02/14/2013 03:37 PM, zharik@xxxxxx wrote:
> > In the latest uncommited changes I have introduced additional BFont 
> > variable to store
> > bold version of terminal font and used it to draw corresponding strings.
> > The width value for both variants are the same so no visual issues and 
> > glitches were observed
> > on normal and alternate buffer applications (like Midnight Commander).
> > Are there any objections to use this way?
> 
> That would be the preferred way IMO. I would simply always use the same
> font in a bold version. If that isn't available, or has a different
> width, we could still fall back to the BeOS way.

+1

The current Terminal code comes from a BeOS application. The font rendering 
code there was different and maybe it didn't work well. If our default font 
has the same width in bold mode, then it's ok to use that.

-- 
Adrien.

Other related posts: