OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => OpenZaurus/Opie/Qtopia => Topic started by: ShiroiKuma on December 01, 2006, 04:20:17 am
-
I'm using GPE 3.5.4.1 on an SL-C3200.
I've compiled Emacs23 from CVS. It has an annoying problem on the Z under X when displaying multibyte characters, and that is that it always displays one, in this instance Kanji, and leaves the second one in a row blank, and thus alternates.
However if you move the cursor through the whole text, it all appears on screen. But if you switch to another buffer or ap, then switch back, the screen is updated again, with the characters displayed alternating.
I've found a reference to this problem on the openzaurus-ja Japanese site too. They simply refer to it as the "2-byte problem".
It's not a GPE problem though, because I had the same issue when I compiled emacs for XQt.
And it's not an Emacs23 problem, because I use the same one compiled from CVS under debian on my notebook without a prob.
I've searched the web for references to this, and how this could be fixed, however didn't find anything to lead me to the solution.
Does anyone know what this is caused by? How it could be remedied?
-
Hi.
Kamiki's web page (http://www.koka-in.org/~kensyu/zaurus/diary/20030618.html)
Please refer to this site.
In short, it is the following codes.
--- Xlib.h~ Thu Oct 17 05:14:38 2002
+++ Xlib.h Tue Jun 17 01:06:01 2003
@@ -1059,7 +1059,7 @@
typedef struct { /* normal 16 bit characters are two bytes */
unsigned char byte1;
unsigned char byte2;
-} XChar2b;
+} __attribute__ ((packed)) XChar2b;
typedef struct {
XChar2b *chars; /* two byte characters */
But...when I builded X11 ,two byte problem was not solved. (It might be my mistake. )
-
Hi.
Kamiki's web page (http://www.koka-in.org/~kensyu/zaurus/diary/20030618.html)
Please refer to this site.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147682\"][{POST_SNAPBACK}][/a][/div]
Thank you very much for this. I'll try to rebuild X in OpenEmbedded using this patch. If I'll succeed, do you know if I'll have to recompile Emacs23 as well again under the rebuilt X, or should it already work?
Or has someone rebuilt X in OZ with this patch already?
-
It works!
I rebuilt libx11-6, libx11-dev, and libx11-locale, installed, then natively compiled emacs again.
And now it works, displays Japanese no problem, the 2-byte problem is solved.
Thank you very much for help.
-
It works!
I rebuilt libx11-6, libx11-dev, and libx11-locale, installed, then natively compiled emacs again.
And now it works, displays Japanese no problem, the 2-byte problem is solved.
Thank you very much for help.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147764\"][{POST_SNAPBACK}][/a][/div]
Hi.
I am glad.