About the zh_CN.GB2312 locale

2002-05-23 Thread Zhang Lin-bo
Hi, I'm new to dia and I'm pretty interested in using it, especially to draw diagrams with Chinese characters. Thus I downloaded the cvs snapshot of 20020509 (may 9 2002), compiled it on a rh7.3 system, and tried to create a diagram containing Chinese characters. Here are some observations based

Re: About the zh_CN.GB2312 locale

2002-05-26 Thread Zhang Lin-bo
> Too bad with the segfault with freetype, could you send the diagram that > provokes it (to me personally if it is sensitive, I can't read Chinese:). > The Gnome thing should be ok in the newest CVS. A small example is attached (chinese.dia). > The problem for this is that in the X setup, the

Re: About the zh_CN.GB2312 locale

2002-05-27 Thread Zhang Lin-bo
> Given that you are using RedaHat 7.3, you posibly have the same problem I > have - hence the patch I submitted last week (RE: RE: Freetype problems > under RH7.3 21/5/02). I you use this patch then freetype *may* work - please > let me know if it helps. Thanks for the info. I have tried the pa

Re: About the zh_CN.GB2312 locale

2002-05-27 Thread Zhang Lin-bo
Cyrille, > Oh ! > > Please try to edit po/zh_CN.po. > Look for 'msgid "Courier"', and on the next line, write 'msgstr "Courier"' > instead of whatever is there. Repeat for Helvetica. I have modified po/zh_CN.po following your instructions. Dia still crashes, even if I set the locale to en_US. So

Re: About the zh_CN.GB2312 locale

2002-05-28 Thread Zhang Lin-bo
> Uh. Now I'm puzzled. I guess it'll take being more defensive on the loop you > have highlighted in your previous message. Please still forward the .po > changes to the zh_CN.po maintainer, unless the Postscript font names are the > what the contents of the translated strings were. I have sent t

Re: printing on the Simpl. Chinese and other non-latin1 locales

2002-05-28 Thread Zhang Lin-bo
On Tue, 28 May 2002, Cyrille Chepelov wrote: > Le Tue, May 28, 2002, 0:54:00PM +0800, Zhang Lin-bo a rit: > > Done. It breaks (see latin0-*). > > I've made a small dia file with a latin0 text in French (it features both > diacritics which were available in latin1, an

Re: Printing and weird (non-latin0 ;-) ) charsets -- summary

2002-05-29 Thread Zhang Lin-bo
> Proposal for the complete solution: > === > > We need a text file, which describes for each font the Unicode range > it is known to support (roughly), and the output method. > Output method can be: >PSU (using the dia PS-Unicoder) >UTF-8 (exporting

Re: Printing and weird (non-latin0 ;-) ) charsets -- summary

2002-05-29 Thread Zhang Lin-bo
On 29 May 2002, Lars Clausen wrote: > The freetype font selection widget contains a small hack that I stole from > Dillo, which allows menus to scroll. Easily adaptable for the GDK font > menu (though not going in for .90, I guess). > > -Lars Thank you. I have adapted the hack for the GDK font

RE: printing on the Simpl. Chinese and other non-latin1 loc ales

2002-05-29 Thread Zhang Lin-bo
On Thu, 30 May 2002, Young, Robert wrote: > > New patch available - see latest attachment to > http://bugzilla.gnome.org/show_bug.cgi?id=83098 > > I'm reasonably happy that it fixes the above issues. > > Please test, let me know if there are any issues. If everyone's happy, is > it > able > to be

Re: RE: utf-8 test diagram

2002-05-30 Thread Zhang Lin-bo
On Thu, 30 May 2002, Cyrille Chepelov wrote: > > Jason, > > I'm not a Chinese/Japanese locale user of RC1 Windows; however, since Win32 > is using almost gtk2, I wouldn't be surprised to see mixed latin0/Han text > being actually visible there. > > -- Cyrille I just tried Dia-0.90.RC3 Wi

Re: dia 0.90.RC3

2002-05-30 Thread Zhang Lin-bo
On Thu, 30 May 2002, Steffen Macke wrote: > > diaWin 0.90.RC3 is available from http://dia-installer.sourceforge.net > > The direct download link is: > http://prdownloads.sourceforge.net/dia-installer/dia-0.90.rc3-1-setup.exe > md5sum: > 010c4021d5491110afbef1d19c750a8e dia-0.90.rc3-1-setup.exe

Re: Printing and weird (non-latin0 ;-) ) charsets -- summary

2002-05-30 Thread Zhang Lin-bo
On Thu, 30 May 2002, Cyrille Chepelov wrote: > Le Wed, May 29, 2002, 0:06:22PM +0800, Zhang Lin-bo a rit: > > > 2) There're more fonts than can be listed in the font selection > >list, and there's no scrollbar, so I can not see/select > >fonts at th

Re: dia 0.90.RC3

2002-05-30 Thread Zhang Lin-bo
On Fri, 31 May 2002, Steffen Macke wrote: > Strange, I tested on Windows 2000 and NT4 and had no problems. > Could you provide more details on the missing files? > Do other Win9x users experience the same problem? > Hope that dia runs anyway. > > Steffen > I retried the installation. The errors

Re: dia 0.90.RC3

2002-06-02 Thread Zhang Lin-bo
On Fri, 31 May 2002, Steffen Macke wrote: > > I fear that there's more mischief going on. > There's no start menu entry created, just a desktop icon. (I'm not familiar woth win9x and know nothing about its registry) BTW, I think there's another tiny bug for win9x: the batch file dia.bat contain

Re: dia 0.90.RC3

2002-06-03 Thread Zhang Lin-bo
On Mon, 3 Jun 2002, Steffen Macke wrote: > Could you try the option "Create Start Menu Entries for current user?" > This is the old code and should be working. I retried the installation with "Start Menu, desktop icons for current user" checked and "Start Menu end desktop icons for all users" un

Re: dia 0.90: printing Japanese using --enable-freetype ?

2002-06-05 Thread Zhang Lin-bo
On Wed, 5 Jun 2002, Mike Fabian wrote: > Mike Fabian <[EMAIL PROTECTED]> writes: > > I believe if the printing problem with '--enable-freetype' can be > solved, it is a better solution than the old printing support which I > used in dia-0.88.1 to print Japanese, because it embeds the fonts in > t

Problems with dia-0.91-pre1

2003-02-03 Thread Zhang Lin-bo
I tested dia-0.91-pre1 on my system and I found out the following problems: 1. cmdline arguments are not processed. 2. plug-ins/, objects/ not installed by 'make install' (and plugins/ gets installed?, is it necessary?) 3. running /usr/bin/dia (compiled with './configure --prefix=/usr') se

Re: Problems with dia-0.91-pre1

2003-02-10 Thread Zhang Lin-bo
On Mon, 10 Feb 2003, Cyrille Chepelov wrote: > Le Fri, Feb 07, 2003, à 08:51:28PM +0800, Zhang Linbo (?) a écrit: > > So what's missing, basically, is that the code we have in lib/text.c, which > handles text entry, does not handle it as good as the code in gtk's > GtkEntry-derived widgets

Re: dia 0.91 segfault at startup

2003-02-11 Thread Zhang Lin-bo
I'm having the same problem and my work around is to remove the files libxslt_filter.so/libxslt_filter.la in the installation directory (PREFIX/lib/dia). Maybe we should report a bug to bugzilla.gnome.org? LB On 5 Feb 2003, Gustavo J. A. M. Carneiro wrote: > Here's the backtrace: > > > #0 0

Re: New prerelease: 0.91-pre2

2003-02-16 Thread Zhang Lin-bo
The Linux version of Dia-0.91-pre2 now works almost perfectly with Simplified Chinese, except for some input method hot kays. But the windoze port does not work well with Simplified Chinese versions of Windows: the menus are not in Chinese, the sizes of characters are not correctly calculated leadi

Re: New prerelease

2003-02-16 Thread Zhang Lin-bo
dia.spec: For consistency with the 'BuildRequires' tag, the 'libxml' in the 'Requires' tag should be changed to 'libxml2'. LB On Mon, 17 Feb 2003, Lars Clausen wrote: > > In light of the nastyevil bug I fixed, I'm sending out a new prerelease, > http://ftp.gnome.org/pub/GNOME/sources/dia/0.91/di

Re: Help to compile 0.91-prex

2003-02-23 Thread Zhang Lin-bo
On Sun, 23 Feb 2003, Dolores Alia de Saravia wrote: > > I have visited that place but some of version numbers are not good. I > will continue looking.. > > ... ... I'm running RedHat 8.0 and I got all missing packages from http://rpmfind.net/. I don't know if packages there work with Suse ... L

Re: ?

2003-03-04 Thread Zhang Lin-bo
I'd like to make two comments about properties editing in dia-0.91: 1. Does it make sense to provide to users the ability to specify, when editing the properties of a group of objects, whether they want the intersection of the sets of properties (properties common to all objects in the group, whic

YAB

2003-10-15 Thread Zhang Lin-bo
Yet another small bug in 0.92-pre7: the help texts in the sections 'Help options' and 'Application options' produced by 'dia --help' do not get converted into the current locale (texts in other sections are correctly converted). LB -- ___ Dia-list ma

Re: chinese support glitches

2004-03-06 Thread Zhang Lin-bo
By using Shift+Space the XIM also works in dia-0.92. So I think the real problem is that the Ctrl key is eaten up somewhere without being passed to the XIM server. LB -- ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listin

dia-0.93-pre1: dia.spec

2004-03-21 Thread Zhang Lin-bo
I tried to build dia-0.93-pre1 under Fedora Core 1 and I encountered some problems. Attached are the changes I made to dia.spec to get the building process to complete successfully (note: the directory /usr/var is missing in the %files section, I don't know the purpose of files in it so I simply re

Re: dia-0.93-pre1: dia.spec

2004-03-24 Thread Zhang Lin-bo
Sorry a "not" was missing. I got the following error message when clicking on 'Help': Could not open help directory: Error opening directory '/usr/share/dia/help': No such file or directory LB > On Mon, 2004-03-22 at 04:33, Zhang Lin-bo wrote: > > I tr

bug in 0.93pre1: dia crashes when copy/paste a circle object

2004-04-01 Thread Zhang Lin-bo
Dia crashes when copy/paste a standard circle object. I was running dia-0.93pre1 under Fedora Core 1. (dia-0.92.2-1 does not have this problem). LB -- ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at

Incorrect behaviour in a warning dialog

2004-04-10 Thread Zhang Lin-bo
Hi, I have just downloaded dia-0.93-pre2, and I found out some incorrect behaviour in the dialog for saving modified diagrams: 1. Run dia 2. Open a new diagram, and add an arbitrary object (such as an ellipse) 3. Click on the "Close" button (WM) of the main window ("Diagram Editor" window). A w

Re: Incorrect behaviour in a warning dialog

2004-04-11 Thread Zhang Lin-bo
On Sat, 10 Apr 2004, Alan Horkan wrote: > On Sat, 10 Apr 2004, Zhang Lin-bo wrote: > > > Date: Sat, 10 Apr 2004 17:23:20 +0800 (CST) > > From: Zhang Lin-bo <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: Dia Mailing-list <[EMAIL PROTECTED]

Re: patch to fix the Key confilict with IM_context

2004-07-03 Thread Zhang Lin-bo
I tested the patch with dia-0.93 (a few modifications are needed for it to apply correctly to the 0.93 source). It works well and does what it should (I'm using FCITX under the zh_CN.GBK locale under FC2) :-) -- ___ Dia-list mailing list [EMAIL PROTECT

Re: Prerelease of 0.94 is out

2004-07-12 Thread Zhang Lin-bo
> would you expect 0.94 to work with a fairly stock setup of Fedora Core 2? I have noticed some dependency issues with FC2, e.g., python-gtk should be changed to pygtk2, freetype2 and freetype2-devel to freetype and freetype-devel, and popt-devel is included in popt in FC2. LB -- _

Missing icon files

2004-07-15 Thread Zhang Lin-bo
Hi, It seems that some icons files are missing in the RPM package built with the default dia.spec file (with a few modifications to avoid some dependency problems under FC2): ** (dia:27514): WARNING **: Cannot open icon file /usr/share/dia/shapes/RDP/t_transition.png for object type 'RDP - tran

0.94 corrupts diagrams

2004-07-19 Thread Zhang Lin-bo
Hi, I think I encountered a severe bug introduced in Dia 0.94, though I'm not sure if it's related to my installation. Attached is a diagram created using Dia 0.93. If it's loaded and then saved with Dia 0.94, the saved diagram seems to be corrupted and can no more be loaded with Dia 0.93 (someti

Re: 0.94 corrupts diagrams

2004-07-19 Thread Zhang Lin-bo
Lars Clausen wrote: > ... > Running the right one shows that Hans' fix does indeed cover this bug Yes the bug is gone with the newest CVS. Thanks :) LB -- ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FA

Re: 0.94 released

2004-08-21 Thread Zhang Lin-bo
Hi, I usually use dia under Linux. Today I have given a try to dia-0.94 for Windows, and I found it much better in rendering fonts than previous versions (<=0.91), and the Chinese characters are correctly displayed. But I ran into troubles when trying to export to eps (with embeded fonts), dia alw

Re: Broken dia build

2004-09-07 Thread Zhang Lin-bo
#include "diaunitspinner.h" should be changed to #include "widgets.h" in dia/app/diapagelayout.c -- ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at

Re: Dia with Chinese XIM

2004-09-08 Thread Zhang Lin-bo
Please try dia-0.94¡£ dia versions 0.91-0.93 don't not allow switching IM with Ctrl_space (changing it to, say, shift_space works). --___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/p

Extra spaces in metapost output

2004-09-08 Thread Zhang Lin-bo
I just noticed that an extra space gets inserted after '\usefont{}{}{}{}' when exporting to .mp (which affects placement of strings). LB -- ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome

Re: Setting the properties of multiple selected objects in stead of just one (the first or only selected->data)

2005-01-10 Thread Zhang Lin-bo
One more note I'd like to add: it is preferable to only change those properties which are changed in the dialog (add a button to force changing all properties shown up?), and if objects originally have different values for a property, the original value shown in the dialog should be greyed (like ot

Re: Setting the properties of multiple selected objects in stead of just one (the first or only selected->data)

2005-01-10 Thread Zhang Lin-bo
On Tue, 11 Jan 2005, Alexander wrote: Zhang Lin-bo schrieb: and if objects originally have different values for a property, the original value shown in the dialog should be greyed (like other office tools do) What if 2 got color "blue", 1 got color "red" and 3 got color &

Patch fixing a small bug with dynamic grids

2005-08-18 Thread Zhang Lin-bo
Please see the attached file. --diff -ur dia.orig/app/grid.c dia.new/app/grid.c --- dia.orig/app/grid.c 2005-03-06 17:25:11.0 +0800 +++ dia.new/app/grid.c 2005-08-18 22:09:01.0 +0800 @@ -348,7 +348,7 @@ } else { real width_x = ddisp->diagram->grid.width_x; real