[haiku-commits] Re: haiku: hrev46935 - in src: kits/interface servers/app servers/app/font tests/servers/app/font_spacing

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 26 Feb 2014 11:03:20 +0000

> 91233f8: Font: Work on support for spacing modes.
> 
> * Change default spacing to B_BITMAP_SPACING. The BeBook does not document
> what the default spacing is, and I have no BeOS install handy to check.
> However, I believe that B_BITMAP_SPACING is what should be the default,
> since it gives the best visible result for the common use-case.
> In terms of implementation, there is no change, since spacing was ignored
> until now and the behavior was that of B_BITMAP_SPACING. This change could
> however break BeOS apps which assume B_CHAR_SPACING is the default and don't
> set it on new when they need it. Sample code in the BeBook however shows
> setting B_CHAR_SPACING on a newly created BFont.

The spacing modes are documented in the Be newsletter - but this is for the DR9 
release, so not all of it may apply to R5:
http://www.haiku-os.org/legacy-docs/benewsletter/Issue2-22.html

-- 
Adrien.

Other related posts: