bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keyboard input of non-latin characters(patch)


From: Serg Stoyan
Subject: Keyboard input of non-latin characters(patch)
Date: Thu, 11 Apr 2002 23:26:00 +0300
User-agent: Mutt/1.3.16i

Hi, everybody!

Description of the problem: while typing non-latin characters in, for example, 
text field, asterisks appears. Here is the patch that fixes that problem.

Another problem that i can't fix yet is appearing extra spaces after the typed 
non-latin text. I tried find out where it is and suppose that 
problem is in getting character(glyph) width. For example, if i type "q",
width of the glyph defines as 6 point. When i type cyrillic "Ce", width of
the glyph calculated as 12 points, while actual width of the glyph is 6 
points.

In fact, it leads to calculating wrong insertion point position (and looks 
like "extra spaces" after the typed text). Number of these "extra spaces" is
the sum of widths of non-latin chars in typed text...

Can anyone help me to fix this misbehaviour?

-- 
Serg Stoyan

Attachment: back.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]