[haiku-bugs] [Haiku] #8300: CannaIM display problem

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Thu, 26 Jan 2012 10:09:35 -0000

#8300: CannaIM display problem
-----------------------------------+------------------------------
 Reporter:  mt                     |        Owner:  korli
     Type:  bug                    |       Status:  new
 Priority:  normal                 |    Milestone:  R1
Component:  Add-Ons/Input Methods  |      Version:  R1/Development
 Keywords:  CannaIM canna          |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+------------------------------
 CannaIM seems that it can't display conversion candidate in KouhoWindow.
 This patch may fix problem.

 * To display conversion candidate in KouhoWindow, we need change skipping
 index bytes. In CannaInterface::GenerateKouhoString(), we have skipped 2
 bytes as index before conversion candidate, but index is UTF8 FULL WIDTH
 NUMBERS, so we need skip 3 bytes.[[BR]]
 * To show highlightRect correctly, change Invalidate(highlightRect) to
 Invalidate() in KouhoView::HighlightLine().[[BR]]
 * Change BeOS's Haru font to VL PGothic (CannaLooper::ReadSettings() and
 KouhoWindow::KouhoWindow() ).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8300>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: