Hi,
Has anyone got -compositioninput to work correctly in Etoys RC3 X11 driver? When I try to use kn-itrans method, the text is rendered as unicode boxes rather than shaped by Pango engine. But cut-n-paste from another application window works fine.
I am using UIM input method engine on my Linux box. I added -compositioninput just after -xshm in etoys.sh launch script. Are there any other magic incantations to be set in the code?
Thanks .. Subbu
On 26.09.2010, at 20:49, K. K. Subramaniam wrote:
Hi,
Has anyone got -compositioninput to work correctly in Etoys RC3 X11 driver? When I try to use kn-itrans method, the text is rendered as unicode boxes rather than shaped by Pango engine. But cut-n-paste from another application window works fine.
I am using UIM input method engine on my Linux box. I added -compositioninput just after -xshm in etoys.sh launch script. Are there any other magic incantations to be set in the code?
This is from http://etoys.laptop.org/src/etoys.in
# make Compose input methods work [ -z "$LC_ALL" ] && export LC_ALL="$LANG"
Can't remember who contributed that ... do we need it in the to-go version?
- Bert -
On Monday 27 Sep 2010 12:25:00 am Bert Freudenberg wrote:
On 26.09.2010, at 20:49, K. K. Subramaniam wrote:
I am using UIM input method engine on my Linux box. I added -compositioninput just after -xshm in etoys.sh launch script. Are there any other magic incantations to be set in the code?
This is from http://etoys.laptop.org/src/etoys.in
# make Compose input methods work [ -z "$LC_ALL" ] && export LC_ALL="$LANG"
It doesn't work with this setting either :-(. This is not related to mantis 7472.
Could it be that somewhere along the input path, the sequence is treated like String instead of Unicode and is not passed to Pango for rendering?
Subbu
On 27.09.2010, at 04:27, K. K. Subramaniam wrote:
On Monday 27 Sep 2010 12:25:00 am Bert Freudenberg wrote:
On 26.09.2010, at 20:49, K. K. Subramaniam wrote:
I am using UIM input method engine on my Linux box. I added -compositioninput just after -xshm in etoys.sh launch script. Are there any other magic incantations to be set in the code?
This is from http://etoys.laptop.org/src/etoys.in
# make Compose input methods work [ -z "$LC_ALL" ] && export LC_ALL="$LANG"
It doesn't work with this setting either :-(. This is not related to mantis 7472.
Could it be that somewhere along the input path, the sequence is treated like String instead of Unicode and is not passed to Pango for rendering?
Check the actual content of the string you typed:
'αβγ' squeakToUtf8 asByteArray "#[206 177 206 178 206 179]"
Also, check the current interpreter used
ActiveHand keyboardInterpreter
I think it should be UTF32InputInterpreter on Linux (but see implementors of #inputInterpreterClass).
- Bert -
etoys-dev@lists.squeakfoundation.org