Hi,

Some time ago i wrote about this problem. Description: while typing non-latin
characters into text controls (NSTextField, NSTexView etc.) insertion
point's position is calculated wrong. Visually, it's placed far and far
away from text's last character. Here is a patch that fixes this
problem.

-- 
Serg Stoyan
--- XGFont.m.orig       Tue May 14 09:19:17 2002
+++ XGFont.m    Thu Jun 27 14:21:57 2002
@@ -368,7 +368,7 @@
 
       if (min1 == 0 && max1 == 0)
         {
-         if (glyph >= min2 && glyph <= max2)
+         if (index >= min2 && index <= max2)
            pc = &(font_info->per_char[index - min2]);
         }
       else 

Reply via email to