Cyrillic on Linux? Please help.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Cyrillic on Linux? Please help.

malex
Hi everyone,

  Cannot make Squeak accept Cyrillic symbols under Linux (Ubuntu, LANG=en_AU.UTF-8). Please help!!! :)
If it does not work we won't be able to continue using Squeak :(

  Tried the following:
1. Installed ttfFontReaderRefactored from SqueakMap.
2. Installed RussianSupport from SqueakSource via Monticello.
3. Run the following code in the Workspace:

"sometimes squeak hangs when new fonts are being enabled - hope this make
doIt more safe."
World collapseAll.

"This will ask for font directory - point to location where your ttf files
reside. It also will suggest you to enable freshly installed fonts in
browsers, etc."

TTFontReader suggestBatchInstallToUser.

"This switches locale to Russian - wait a couple of seconds".
Locale switchToID: (LocaleID isoLanguage: 'ru').

4. Changed default font to Arial.

5. Trying to type something in Russian in newly opened Workspace window - nothing happens, no symbol gets entered.

  Thank you very much in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Cyrillic on Linux? Please help.

Bert Freudenberg
Well, there are two parts to this - input and output.

First, make sure output works, that is, you can actually display  
cyrillic glyphs. Look up the unicode code points, hand-assemble a  
string, and display it using your font.

Once that works, you need to make the VM send cyrillic characters to  
the image. I am not sure how well supported that is under Linux, yet.  
I think it is still 8 bits, although you can choose the encoding.  
This VM encoding must match the one selected in the image. This is  
actually your best bet, other language environments do the same.

IIRC, the Mac OS X VM is the only one to date that actually can  
deliver Unicode to the image, although it still takes a bit of  
fiddling in the image to get it right.

- Bert -

On Nov 16, 2006, at 10:00 , malex wrote:

>
> Hi everyone,
>
>   Cannot make Squeak accept Cyrillic symbols under Linux (Ubuntu,
> LANG=en_AU.UTF-8). Please help!!! :)
> If it does not work we won't be able to continue using Squeak :(
>
>   Tried the following:
> 1. Installed ttfFontReaderRefactored from SqueakMap.
> 2. Installed RussianSupport from SqueakSource via Monticello.
> 3. Run the following code in the Workspace:
>
> "sometimes squeak hangs when new fonts are being enabled - hope  
> this make
> doIt more safe."
> World collapseAll.
>
> "This will ask for font directory - point to location where your  
> ttf files
> reside. It also will suggest you to enable freshly installed fonts in
> browsers, etc."
>
> TTFontReader suggestBatchInstallToUser.
>
> "This switches locale to Russian - wait a couple of seconds".
> Locale switchToID: (LocaleID isoLanguage: 'ru').
>
> 4. Changed default font to Arial.
>
> 5. Trying to type something in Russian in newly opened Workspace  
> window -
> nothing happens, no symbol gets entered.
>
>   Thank you very much in advance.
> --
> View this message in context: http://www.nabble.com/Cyrillic-on- 
> Linux--Please-help.-tf2641665.html#a7373898
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>





Reply | Threaded
Open this post in threaded view
|

Re: Cyrillic on Linux? Please help.

malex
Bert,

  I'm sorry for asking dumb question but I'm new to Squeak and Smalltalk
in general so it's hard for me to find out how to output Unicode string quickly.
Could you please type the line that prints Unicode output so I could try it
in the Workspace. Thanks a lot!


Bert Freudenberg-2 wrote
First, make sure output works, that is, you can actually display  
cyrillic glyphs. Look up the unicode code points, hand-assemble a  
string, and display it using your font.

On Nov 16, 2006, at 10:00 , malex wrote:

>
> Hi everyone,
>
>   Cannot make Squeak accept Cyrillic symbols under Linux (Ubuntu,
> LANG=en_AU.UTF-8). Please help!!! :)
> If it does not work we won't be able to continue using Squeak :(
>
>   Tried the following:
> 1. Installed ttfFontReaderRefactored from SqueakMap.
> 2. Installed RussianSupport from SqueakSource via Monticello.
> 3. Run the following code in the Workspace:
>
> "sometimes squeak hangs when new fonts are being enabled - hope  
> this make
> doIt more safe."
> World collapseAll.
>
> "This will ask for font directory - point to location where your  
> ttf files
> reside. It also will suggest you to enable freshly installed fonts in
> browsers, etc."
>
> TTFontReader suggestBatchInstallToUser.
>
> "This switches locale to Russian - wait a couple of seconds".
> Locale switchToID: (LocaleID isoLanguage: 'ru').
>
> 4. Changed default font to Arial.
>
> 5. Trying to type something in Russian in newly opened Workspace  
> window -
> nothing happens, no symbol gets entered.
>
>   Thank you very much in advance.
> --
> View this message in context: http://www.nabble.com/Cyrillic-on- 
> Linux--Please-help.-tf2641665.html#a7373898
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>




Reply | Threaded
Open this post in threaded view
|

Re: Cyrillic on Linux? Please help.

Klaus D. Witzel
Hi malex,

you can find all that was discussed (incl. typing russian, IMHO) yourself  
by query

- http://www.google.com/search?q=russian+site:lists.squeakfoundation.org

This way you dont have to wait and can perhaps refer to a related  
discussion.

HTH.

/Klaus

On Thu, 16 Nov 2006 11:23:55 +0100, malex wrote:

>
> Bert,
>
>   I'm sorry for asking dumb question but I'm new to Squeak and Smalltalk
> in general so it's hard for me to find out how to output Unicode string
> quickly.
> Could you please type the line that prints Unicode output so I could try  
> it
> in the Workspace. Thanks a lot!
>
>
>
> Bert Freudenberg-2 wrote:
>>
>> First, make sure output works, that is, you can actually display
>> cyrillic glyphs. Look up the unicode code points, hand-assemble a
>> string, and display it using your font.
>>
>> On Nov 16, 2006, at 10:00 , malex wrote:
>>
>>>
>>> Hi everyone,
>>>
>>>   Cannot make Squeak accept Cyrillic symbols under Linux (Ubuntu,
>>> LANG=en_AU.UTF-8). Please help!!! :)
>>> If it does not work we won't be able to continue using Squeak :(
>>>
>>>   Tried the following:
>>> 1. Installed ttfFontReaderRefactored from SqueakMap.
>>> 2. Installed RussianSupport from SqueakSource via Monticello.
>>> 3. Run the following code in the Workspace:
>>>
>>> "sometimes squeak hangs when new fonts are being enabled - hope
>>> this make
>>> doIt more safe."
>>> World collapseAll.
>>>
>>> "This will ask for font directory - point to location where your
>>> ttf files
>>> reside. It also will suggest you to enable freshly installed fonts in
>>> browsers, etc."
>>>
>>> TTFontReader suggestBatchInstallToUser.
>>>
>>> "This switches locale to Russian - wait a couple of seconds".
>>> Locale switchToID: (LocaleID isoLanguage: 'ru').
>>>
>>> 4. Changed default font to Arial.
>>>
>>> 5. Trying to type something in Russian in newly opened Workspace
>>> window -
>>> nothing happens, no symbol gets entered.
>>>
>>>   Thank you very much in advance.
>>> --
>>> View this message in context: http://www.nabble.com/Cyrillic-on-
>>> Linux--Please-help.-tf2641665.html#a7373898
>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>



Reply | Threaded
Open this post in threaded view
|

Re: Cyrillic on Linux? Please help.

malex
Thank you, but I've most of this before posting. Maybe I've missed something - will re-read.


Klaus D. Witzel wrote
Hi malex,

you can find all that was discussed (incl. typing russian, IMHO) yourself  
by query

- http://www.google.com/search?q=russian+site:lists.squeakfoundation.org

This way you dont have to wait and can perhaps refer to a related  
discussion.

HTH.

/Klaus

On Thu, 16 Nov 2006 11:23:55 +0100, malex wrote:

>
> Bert,
>
>   I'm sorry for asking dumb question but I'm new to Squeak and Smalltalk
> in general so it's hard for me to find out how to output Unicode string
> quickly.
> Could you please type the line that prints Unicode output so I could try  
> it
> in the Workspace. Thanks a lot!
>
>
>
> Bert Freudenberg-2 wrote:
>>
>> First, make sure output works, that is, you can actually display
>> cyrillic glyphs. Look up the unicode code points, hand-assemble a
>> string, and display it using your font.
>>
>> On Nov 16, 2006, at 10:00 , malex wrote:
>>
>>>
>>> Hi everyone,
>>>
>>>   Cannot make Squeak accept Cyrillic symbols under Linux (Ubuntu,
>>> LANG=en_AU.UTF-8). Please help!!! :)
>>> If it does not work we won't be able to continue using Squeak :(
>>>
>>>   Tried the following:
>>> 1. Installed ttfFontReaderRefactored from SqueakMap.
>>> 2. Installed RussianSupport from SqueakSource via Monticello.
>>> 3. Run the following code in the Workspace:
>>>
>>> "sometimes squeak hangs when new fonts are being enabled - hope
>>> this make
>>> doIt more safe."
>>> World collapseAll.
>>>
>>> "This will ask for font directory - point to location where your
>>> ttf files
>>> reside. It also will suggest you to enable freshly installed fonts in
>>> browsers, etc."
>>>
>>> TTFontReader suggestBatchInstallToUser.
>>>
>>> "This switches locale to Russian - wait a couple of seconds".
>>> Locale switchToID: (LocaleID isoLanguage: 'ru').
>>>
>>> 4. Changed default font to Arial.
>>>
>>> 5. Trying to type something in Russian in newly opened Workspace
>>> window -
>>> nothing happens, no symbol gets entered.
>>>
>>>   Thank you very much in advance.
>>> --
>>> View this message in context: http://www.nabble.com/Cyrillic-on-
>>> Linux--Please-help.-tf2641665.html#a7373898
>>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Cyrillic on Linux? Please help.

Lex Spoon
malex <[hidden email]> writes:
> Thank you, but I've most of this before posting. Maybe I've missed something
> - will re-read.

FWIW, I use the Unix VM, and I find that for non-ASCII text,
copy-and-paste works but keyboard input generates garbage.  Displaying
text on the screen, on the other hand, works fine.

I have not specifically tried Cyrillic, and I have not followed the
entire previous thread.

-Lex