Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Display Cyrillic KOI8-R & CP1251 in JB3.5

0 views
Skip to first unread message

D Bukeeyev

unread,
Nov 20, 2000, 3:00:00 AM11/20/00
to
Hello all.

Please, help me.
Where I can find sample file for Linux "font.properties.ru_RU_CP1251".
Some history.
I want use JB 3.5 Foundation for development different apllication with
source code in different Cyrillic code page.
I work under Linux Mandrake 7.0 Russian Edition with locale ru.KOI8-R. JB
woks OK with Cyrillic code page KOI8-R. Now I need work with project with
source code in CP1251. I try use JB but have some problem with editing end
viewing source code in JB. I try change LANG=ru_RU.CP1251 for starting JB
but have some problem.
I had some message like "CP1251 not supported". I add
font.properties.ru_RU_CP1251 to directory jre/lib. Previous message was
going out. But I dont know right parameters which I need to write into
font.properties.ru_RU_CP1251 for correct displaing end editing source code
in CP1251 in JB.
I install TTF fonts from Microsoft into X11 for my Linux.

Thanks,
D Bukeyev

k. kolev

unread,
Dec 7, 2000, 3:00:00 AM12/7/00
to

hi,
I had the same problem, but I solved it this way:

first, I installed the Cyrsys-1.0 from
http://www.cnsys.bg/lotos/cyrsys.html, then
in KDE "international keyboard" add Bulgarian layout
and finaly I get my X "cyrillized"(1251).

KDE Font Manager has the "Raw X11 font list".
Get the description of some cyr font(s) (I preffer "pragmatica")
and edit directly "/usr/local/...../font.properties",
changing lines about fonts with the ones from "Raw X11 font list".
I stoped playng with "font.properties.bg_BG" etc, since I have
to "localize" X, and this is beyond my patience - so i get the
direct aproach.
The fonts from "Cyrsys" are not ttf nor unicode,
but they have english chars + cyr chars.

This however works for me. JB shows happy
cyr letters, the JDK is happy, so I'm happy too.

Of course, there's other ways:
1. The one you tried - localizing, i18n, etc.
2. Get the cyr support "hardcoded". Take a look at source
in dictport.sourceforge.net - it is a Java dictionary (bg-eng-bg).
3. ??????? :-)))

HTH,
kamen

0 new messages