Re: [gnome-cyr] тест



В Чтв, 29.08.2002, в 00:11, "Алексей Любимов" написал:
> On 28 Aug 2002 23:16:05 +0400
> "Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков <dmitry taurussoft org> wrote:
> 
> > В Срд, 28.08.2002, в 22:09, "Алексей Любимов" написал:
> > > 
> > > В связи со сборкой гнома-2 в РПМ для дистров альта, хотелось бы узнать, как народ собирает ГНОМа и какие модули/бранчи в cvs использует.
> > > 
> > Хм, я беру тарболы с Гномового ФТП, в редких случаях, если давно релизов
> > не было - из CVS. 
> 
> тогда вопрос. 
> в gnome-cd из 2.0.1 частичные проблемы с русским (в смысле,с UTF-8) - это решаемо?
А что там за проблемы? Я его только запускал, а не использовал, поэтому
артефактов не наблюдал.

> libzvt с каким бранчем нормально работает с русским?
> 
Вопрос сложный. Вроде бы, есть ветка libzvt-i18n, над которой HideToshi
Tajima поработал. От него же есть патч для терминала. Если есть желание
- проверьте работоспособность. Прилагаю письмо и патч.

Дмитрий

>From desktop-devel-list-admin gnome org Fri Aug 2 07:13:49 2002
Return-Path: <dmitry kitezh hq taurussoft org>
X-Sieve: cmu-sieve 2.0
Return-Path: <desktop-devel-list-admin gnome org>
Delivered-To: dmitry localhost hq taurussoft org
Received: from localhost (localhost [127.0.0.1]) by
	kitezh.hq.taurussoft.org (Postfix) with ESMTP id CD0C357F3D for
	<dmitry localhost>; Fri,  2 Aug 2002 07:13:49 +0400 (MSD)
Received: from mail.taurussoft.org [216.12.215.10] by localhost with IMAP
	(fetchmail-5.6.1) for dmitry localhost (single-drop); Fri, 02 Aug 2002
	07:13:49 +0400 (MSD)
Received: from mail.gnome.org (moniker.gnome.org [209.116.70.73]) by
	www.w3inter.net (8.10.2/8.10.2) with ESMTP id g722dmn08030 for
	<dmitry taurussoft org>; Thu, 1 Aug 2002 21:39:48 -0500
Received: from moniker.gnome.org (moniker.gnome.org [127.0.0.1]) by
	mail.gnome.org (Postfix) with ESMTP id 9786B18151; Thu,  1 Aug 2002
	23:07:05 -0400 (EDT)
Delivered-To: desktop-devel-list gnome org
Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by
	mail.gnome.org (Postfix) with ESMTP id 9EEBB180E6; Thu,  1 Aug 2002
	23:06:03 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6]) by kathmandu.sun.com
	(8.9.3+Sun/8.9.3) with ESMTP id VAA16283; Thu, 1 Aug 2002 21:06:02 -0600
	(MDT)
Received: from phys-mpkmaila (phys-mpkmaila.Eng.Sun.COM [129.146.18.131])
	by engmail4.Eng.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id
	UAA29743; Thu, 1 Aug 2002 20:06:02 -0700 (PDT)
Received: from sun.com (superone.SFBay.Sun.COM [129.145.23.138]) by
	mpkmail.eng.sun.com (iPlanet Messaging Server 5.2 Patch 1 (built Apr  2
	2002)) with ESMTP id <0H07004RQ4M0VS mpkmail eng sun com>; Thu, 01 Aug 2002
	20:06:01 -0700 (PDT)
From: HideToshi Tajima <hidetoshi tajima sun com>
Subject: Call for I18N testers gnome-terminal/zvt + I18N patches
To: gnome-i18n gnome org, desktop-devel-list gnome org, gtk-i18n gnome org
Message-id: <3D49F719 6090601 sun com>
MIME-version: 1.0
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1)
	Gecko/20020719 Netscape/7.0
Sender: desktop-devel-list-admin gnome org
Errors-To: desktop-devel-list-admin gnome org
X-BeenThere: desktop-devel-list gnome org
X-Loop: desktop-devel-list gnome org
X-Mailman-Version: 2.0.8
Precedence: bulk
List-Help: <mailto:desktop-devel-list-request gnome org?subject=help>
List-Post: <mailto:desktop-devel-list gnome org>
List-Subscribe:
	<http://mail.gnome.org/mailman/listinfo/desktop-devel-list>,
	<mailto:desktop-devel-list-request gnome org?subject=subscribe>
List-Id: GNOME Desktop Development List <desktop-devel-list.gnome.org>
List-Unsubscribe:
	<http://mail.gnome.org/mailman/listinfo/desktop-devel-list>,
	<mailto:desktop-devel-list-request gnome org?subject=unsubscribe>
List-Archive: <http://mail.gnome.org/archives/desktop-devel-list/>
Date: Thu, 01 Aug 2002 20:06:01 -0700
Content-Type: multipart/mixed; boundary="=-qaxd1PAEIhJC17j1Wppc"
X-Evolution-Source: imap://dmitry;auth=DIGEST-MD5 kitezh/


--=-qaxd1PAEIhJC17j1Wppc
Content-Type: multipart/alternative; boundary="=-PZBOq6hvwAaXS54UdYRg"


--=-PZBOq6hvwAaXS54UdYRg
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 8bit

Hi, I18N-ers,

I'd like to call for volunteers to test I18N patches of Zvt terminal
widgets for gnome-terminal, although
no real reward can be expected, but you can save the current sad
situation that there is no working
I18N terminal emulator in Gnome2(.0.x) desktop environment.

Objective of this is to get the patches merged into the stable branch
for 2.0.2. Wide user testing
is hard requirement to make it happen, while there is only have 4-6
weeks 2.0.2 freeze.


About changes in the Zvt I18N Patches:

   1. Zvt uses Gtk Input Methods API to do i18n text input. It does it
      in "over-the-spot" fashion in multi-byte locales.
   2. It internally uses Unicode to handld line buffer, and converts it
      with locale string when the text is input from/output to the apps
      running on the terminal emulator, using glib's g_io_channel and
      g_convert.
   3. It uses Pango to get font description - and then create XFontSet
      from it(see below).
   4. It does not use PangoLayout for drawing text on terminal emulator
      window, but use Xlib functions XmbDrawString and
      XmbDrawImageString directly - and perhaps I would add #ifdef
      HAS_XFT stuffs for Xft,( and #ifdef ST/XST case sometime soon.)
   5. It shows much better performance in the 'ls -R /' test case
      Micheal Meeks pointed out with VTE a few days ago.
   6. It always draws characters in mono-spaced fashion - drawing one
      character at a time, "filling" space to the next character so that
      the width of each character looks always same in single-byte
      locales, and in multi-byte locales the width of single-byte
      character and that of multi-byte character is always 1:2.
   7. It has been tested by G11N QA team in CJK locales in Solaris8, 9,
      10, using locale profterm build on HEAD + plus a local patch to
      enable Pango Font instead of X fonts.

To obtain, build and run:

You can get I18N-ed libzvt from the libzvt-i18n branch, instead of the
HEAD. Then, build profterm on the
HEAD with a patch attached to this mail. This is to choose pango font
names in font selection preference,
instead of XLFD names currently used.

The patched gnome-terminal and Zvt has been tested on Solaris 8 and 9 in
many locales including Western
and Eastern Europe, CJK and Unicode, and has proved that it's working
pretty stable without any reported
crashes. But, honestly, it is not tested enough on Linux or any other
Unix systems, so testing on these
platforms are highly demanded and very welcome.

And not to mention, there are a few known issues:

   1. bold fonts are not supported yet.
   2. Code conversion errors between UTF-8 and locale multibyte string
      happens a bit often.
   3. still slow :-/

Yep, there should be more room of performance improvement. Evaluation
and suggestion for this is extremely
welcome, too.

Finally again, if you are kind to be volunteers, I really really
appreciate!!

Regards,
Toshi

--=-PZBOq6hvwAaXS54UdYRg
Content-Type: text/html; charset=ISO-2022-JP
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Hi, I18N-ers,<br>
<br>
I'd like to call for volunteers to test I18N patches of Zvt terminal widgets
for gnome-terminal, although<br>
no real reward can be expected, but you can save the current sad situation
that there is no working<br>
I18N terminal emulator in Gnome2(.0.x) desktop environment.<br>
<br>
Objective of this is to get the patches merged into the stable branch for
2.0.2. Wide user testing<br>
is hard requirement to make it happen, while there is only have 4-6 weeks
2.0.2 freeze.<br>
<br>
<br>
About changes in the Zvt I18N Patches:<br>
 
<ol>
  <li>Zvt uses Gtk Input Methods API to do i18n text input. It does it in 
"over-the-spot" fashion in multi-byte locales.</li>
  <li>It internally uses Unicode to handld line buffer, and converts it with 
locale string when the text is input from/output to the apps running on the 
terminal emulator, using glib's g_io_channel and g_convert.</li>
  <li>It uses Pango to get font description - and then create XFontSet from 
it(see below).<br>
   </li>
  <li>It does not use PangoLayout for drawing text on terminal emulator window, 
but use Xlib functions XmbDrawString and XmbDrawImageString directly - and 
perhaps I would add #ifdef HAS_XFT stuffs for Xft,( and #ifdef ST/XST case 
sometime soon.)</li>
  <li>It shows much better performance in the 'ls -R /' test case Micheal 
Meeks pointed out with VTE a few days ago.</li>
  <li>It always draws characters in mono-spaced fashion - drawing one character 
at a time, "filling" space to the next character so that the width of each 
character looks always same in single-byte locales, and in multi-byte locales 
the width of single-byte character and that of multi-byte character is always 
1:2.</li>
  <li>It has been tested by G11N QA team in CJK locales in Solaris8, 9, 10, 
using locale profterm build on HEAD + plus a local patch to enable Pango Font
instead of X fonts.</li>
</ol>
To obtain, build and run:<br>
<br>
You can get I18N-ed libzvt from the libzvt-i18n branch, instead of the HEAD.
Then, build profterm on the<br>
HEAD with a patch attached to this mail. This is to choose pango font names
in font selection preference,<br>
instead of XLFD names currently used.<br>
 <br>
The patched gnome-terminal and Zvt has been tested on Solaris 8 and 9 in
many locales including Western<br>
and Eastern Europe, CJK and Unicode, and has proved that it's working pretty
stable without any reported<br>
crashes. But, honestly, it is not tested enough on Linux or any other Unix
systems, so testing on these<br>
platforms are highly demanded and very welcome.<br>
<br>
And not to mention, there are a few known issues:<br>
 
<ol>
  <li>bold fonts are not supported yet.</li>
  <li>Code conversion errors between UTF-8 and locale multibyte string happens
a bit often.</li>
  <li>still slow :-/<br>
  </li>
</ol>
Yep, there should be more room of performance improvement. Evaluation and
suggestion for this is extremely<br>
welcome, too.<br>
<br>
Finally again, if you are kind to be volunteers, I really really appreciate!!<br>
<br>
Regards,<br>
Toshi<br>
</body>
</html>

--=-PZBOq6hvwAaXS54UdYRg--

--=-qaxd1PAEIhJC17j1Wppc
Content-disposition: inline; filename=profterm.diff
Content-Type: text/plain; name=profterm.diff
Content-Transfer-Encoding: 8bit

? stamp-h1
? help/C/gnome-terminal-C.omf.out
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/profterm/ChangeLog,v
retrieving revision 1.211.2.2
diff -u -r1.211.2.2 ChangeLog
--- ChangeLog	2002/07/14 20:58:01	1.211.2.2
+++ ChangeLog	2002/08/02 02:55:54
@@ -1,3 +1,9 @@
+Mon Jul 29 14:51:07 2002  HideToshi Tajima  <hidetoshi tajima sun com>
+
+	* src/terminal-widget-zvt.c (terminal_widget_supports_pango_fonts,
+	terminal_widget_set_pango_font):
+	use pango fonts instead of x fonts
+
 2002-07-14  Jordi Mallach  <jordi sindominio net>
 
 	* configure.in (ALL_LINGUAS): add ca (Catalan).
Index: src/terminal-widget-zvt.c
===================================================================
RCS file: /cvs/gnome/profterm/src/terminal-widget-zvt.c,v
retrieving revision 1.7
diff -u -r1.7 terminal-widget-zvt.c
--- src/terminal-widget-zvt.c	2002/06/02 14:44:21	1.7
+++ src/terminal-widget-zvt.c	2002/08/02 02:55:58
@@ -1097,11 +1097,12 @@
 terminal_widget_set_pango_font (GtkWidget                  *widget,
                                 const PangoFontDescription *font_desc)
 {
-  ; /* does nothing */
+  g_return_if_fail (font_desc != NULL);
+  zvt_term_set_pango_font (ZVT_TERM (widget), font_desc);
 }
 
 gboolean
 terminal_widget_supports_pango_fonts (void)
 {
-  return FALSE;
+  return TRUE;
 }

--=-qaxd1PAEIhJC17j1Wppc--
? stamp-h1
? help/C/gnome-terminal-C.omf.out
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/profterm/ChangeLog,v
retrieving revision 1.211.2.2
diff -u -r1.211.2.2 ChangeLog
--- ChangeLog	2002/07/14 20:58:01	1.211.2.2
+++ ChangeLog	2002/08/02 02:55:54
@@ -1,3 +1,9 @@
+Mon Jul 29 14:51:07 2002  HideToshi Tajima  <hidetoshi tajima sun com>
+
+	* src/terminal-widget-zvt.c (terminal_widget_supports_pango_fonts,
+	terminal_widget_set_pango_font):
+	use pango fonts instead of x fonts
+
 2002-07-14  Jordi Mallach  <jordi sindominio net>
 
 	* configure.in (ALL_LINGUAS): add ca (Catalan).
Index: src/terminal-widget-zvt.c
===================================================================
RCS file: /cvs/gnome/profterm/src/terminal-widget-zvt.c,v
retrieving revision 1.7
diff -u -r1.7 terminal-widget-zvt.c
--- src/terminal-widget-zvt.c	2002/06/02 14:44:21	1.7
+++ src/terminal-widget-zvt.c	2002/08/02 02:55:58
@@ -1097,11 +1097,12 @@
 terminal_widget_set_pango_font (GtkWidget                  *widget,
                                 const PangoFontDescription *font_desc)
 {
-  ; /* does nothing */
+  g_return_if_fail (font_desc != NULL);
+  zvt_term_set_pango_font (ZVT_TERM (widget), font_desc);
 }
 
 gboolean
 terminal_widget_supports_pango_fonts (void)
 {
-  return FALSE;
+  return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]