From: "Nikita V. Youshchenko" <yoush@cs.msu.su>
To: kde-rus@kde.ru
Subject: [kde-russian] СРОЧНО: Требуется помощь для kdevelop
Date: Sat, 8 Dec 2001 00:35:29 +0300
Message-ID: <200112080029.30565@sercond.localdomain> (raw)
Люди !
Для того, чтобы новый релиз kdevelop включил патчи для работы с не-latin1
языками, требуется помощь.
Суть вопроса излагается в нижеследующей переписке. Дело ОЧЕНЬ срочное.
Пожалуйста, если кто-то может разобраться, в чем там проблема, сделайте
это.
Если кто-нибудь знает человека, который пишет на linux.org.ru под ником
RM, передайте информацию ему. Возможно, он поможет.
---------- Forwarded Message ----------
Subject: patch of Nikita Youshchenko
Date: Thu, 06 Dec 2001 09:59:02 +0100
From: "F@lk Brettschneider" <gigafalk@yahoo.com>
To: mokhin@bog.msu.ru
Hi,
Unfortunately, I had to disable the lines below (sent by you from
Nikita) in the cvs of KDevelop because it introduces a big bug because
many users cannot set their fonts any more. Everything is set to a font
which wasn't chosen. Even worse that default font is non-fixed width.
:-(
void HlManager::makeAttribs(Highlight *highlight, Attribute *a, int n) {
{
...
...
font.setCharSet(charsets->charsetForEncoding(defaultFont.charset));
...
font.setCharSet(charsets->charsetForEncoding(itemData->charset));
}
Can you correct your patch for non-latin languages, please?
It's urgent!!!
Otherwise it wont get into KDevelop-2.1 coming out next days.
Cheers,F@lk
Subject: Re: Fwd: patch of Nikita Youshchenko
Date: Thu, 6 Dec 2001 13:19:40 +0300
From: "Nikita V. Youshchenko" <yoush@cs.msu.su>
To: Gregory Mokhin <mokhin@bog.msu.ru>, gigafalk@yahoo.com
Unfortunately, I am not experienced KDE programmer, and without your help
I can't quickly fix the issue. It works with cyrillic, and I don't know
what is the problem with other languqges.
Inside kwrite sources, a textual name of font encoding is read from user,
and it is in defaultFont.charset and itemData->charset QStrings. QFont
class wants numeric value instead. I don't know what is the correct way
to convert between those, and how to handle defaults correctly. I
thought that using KCharsets::charsetForEncoding() is what is needed,
but your report shows that I was wrong.
To fix the problem, the following should be done/checked:
- the correct way to convert between QString and QFont::CharSet should
be found.
- what is in defaultFont.charset by default - maybe there is garbage or
some default string that is not a valid charset name.
- what default typeface is used - maybe, charset selection works
correctly, but font with the selected charset and typeface does not
exist, and another typeface is chosen. Maybe code should be added that
initializes default values better.
Unfortunately, I don't have enouth time and experience to do the above.
-----
Subject: Re: Fwd: patch of Nikita Youshchenko
Date: Fri, 07 Dec 2001 17:02:39 +0100
From: "F@lk Brettschneider" <gigafalk@yahoo.com>
To: "Nikita V. Youshchenko" <yoush@cs.msu.su>
Hi Nikita,
"Nikita V. Youshchenko" wrote:
> Unfortunately, I don't have enouth time and experience to do the above.
Me neither. :-(
So I reverted your patch for that code line in cvs to have a working
latin version (default) again.
Thanks anyway,Ciao,F@lk
reply other threads:[~2001-12-07 21:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200112080029.30565@sercond.localdomain \
--to=yoush@cs.msu.su \
--cc=kde-rus@kde.ru \
--cc=kde-russian@lists.kde.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
рассылка русскоязычной группы пользователей и разработчиков KDE
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
kde-russian@lists.kde.ru
public-inbox-index kde-russian
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.kde-russian
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git