[haiku-bugs] Re: [Haiku] #11518: Implement BFont::Blocks

  • From: "dsizzle" <trac@xxxxxxxxxxxx>
  • Date: Wed, 09 Mar 2016 06:05:37 -0000

#11518: Implement BFont::Blocks
--------------------------------+------------------------------------------
   Reporter:  dsizzle           |      Owner:  axeld
       Type:  enhancement       |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Interface    |    Version:  R1/Development
  Kit                           |   Keywords:  bfont, blocks, font, unicode
 Resolution:                    |   Blocking:  3651
 Blocked By:                    |   Platform:  All
Has a Patch:  1                 |
--------------------------------+------------------------------------------

Comment (by dsizzle):

 Added a patch that implements BFont::Blocks.

 * added build features for fontconfig
 * made app server use build feature
 * added app server message for getting unicode blocks
 * implemented function for parsing unicode block information from
 fontconfig; binary search to find block containing a given code
 point/range
 * doubleed size of unicode_block bitfield to support more block
 definitions
 * rewrote block definitions to use larger bitfield; added more blocks that
 weren't previously defined (but were used by CharacterMap); added
 definition of block ranges

--
Ticket URL: <https://dev.haiku-os.org/ticket/11518#comment:10>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: