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

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 Oct 2016 20:17:31 -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 pulkomandy):

 Unfortunately, changing unicode_blocks this way still breaks binary
 compatibility (the size of the class is changed). Moreover, there are
 currently 273 blocks in Unicode version 9, so it is still not large
 enough.

 I would keep the unicode_blocks struct as it is (with only support for the
 blocks as defined in BeOS), and introduce a new API (maybe
 BFont::SupportsBlock(int blockNumber) which makes it easier to manage
 things in the long term.

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

Other related posts: