Re: Bug#12006: Visio import

2000-05-25 Thread James Henstridge

On Wed, 25 May 1994, Scot E. Wilcoxon wrote:

> > As I don't have a copy of visio, no visio files, and there are no public
> > specs for the file format (I hear the format is intentionally obfuscated
> > as well), I probably won't work on this.
> > 
> > However, I don't want to stop others working on this.  If you do take on
> > this project, there is a few thousand dollars you could collect from:
> >   http://visar.csustan.edu/bazaar/bazaar_catoffers.html#graphics
> 
> Well, if the judge forces Microsoft to make its interfaces public,
> then we'll have to make sure to pay the reward to Microsoft.  :-)
> 
Except that they probably won't be working on a free software port, which
I think is what is required to get the money.

If anyone is interested in writing import filters, you may want to look at
the unfinished DXF import filter that Steffen Macke has been working
on.  It currently only does straight lines.

To test it, just compile the latest CVS and try loading the test file:
  dia plug-ins/dxf/test.dxf

As it uses the properties interfaces, it does not need to know about the
internal layout of the standard drawing objects in dia.

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/





Re: Dia 0.85 Win32 patch

2000-05-25 Thread James Henstridge

On Wed, 24 May 2000, Hans Breuer wrote:

> Dia 0.85 for Win32 will be available at 
>   http://www.hans.breuer.org/dia
> within in the next hours. The required patch to compile it
> is attached. Pseudo-ChangeLog-Entry follows:
>  
> * app/disp_callbacks.c: add a modifier (ctrl) to get the
>   middle mouse button menu even with a two button mouse
> * dia_image.[ch]: resolve naming conflict with
>   typedef struct DiaImage *DiaImage, which bites me with
>   a new plug-in written in c++
> * lib/font.c: explicit usage of "courier new" on Win32 to
>   get the scalable version of this font family. This fixes
>   the font resizeing with uml diagrams (There must be a 
>   better way to do this?)
>   Don't use the preallocated color_gdk_white.pixel for 
>   font rendering bitmaps but use 1 as the color index. This
>   fixes the black on black fonts while exporting png.

Okay, I just applied the patch.  It is good to see that the patches are
getting smaller :)  With the last problem, it is just by chance that it
actually worked under X.

The color_gdk_white and color_gdk_black GdkColor's were created under the
default colormap, while the pixmap we are using for the font sucking is a
one bit pixmap. Pixel values are not portable across colormaps.  So I
fixed this problem by hard coding the pixel values to 0 and 1.

> 
> Have Fun,
>   Hans

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/





Re: Bug#12006: Visio import

2000-05-25 Thread Scot E. Wilcoxon

> As I don't have a copy of visio, no visio files, and there are no public
> specs for the file format (I hear the format is intentionally obfuscated
> as well), I probably won't work on this.
> 
> However, I don't want to stop others working on this.  If you do take on
> this project, there is a few thousand dollars you could collect from:
>   http://visar.csustan.edu/bazaar/bazaar_catoffers.html#graphics

Well, if the judge forces Microsoft to make its interfaces public,
then we'll have to make sure to pay the reward to Microsoft.  :-)




libz2.so ???

2000-05-25 Thread sjbrown

I get an error when installing the RPM.  it says I need libz2.so.

what / where is libz2.so?

please reply to my email address.

thanks.
-- 

Shandy (Andy) Brown
http://sjbrown.geeky.net





Re: PNG Export

2000-05-25 Thread James Henstridge

On Thu, 25 May 2000, Jeff Hornsberger wrote:

> Hi, I want to be able to export to PNG so I have installed the package
> gdk-pixbuf, but now my configuration
> says it needs Libart. What is Libart and where can I get it? I'm trying
> to build this on a RH 6.1 system.
> Here is the configuration information I get:
> 
> Configuration:
> Source code location:   .
> Compiler:   gcc
> 
> Use gdk-pixbuf: yes
> Libart (AA rendering, png export):  no
> 
> Gnome support:  no
> Build bonobo component (not supported): no
> 
> Thanks. -Jeff
> 

It is part of gnome-libs.  For the past few months, the CVS version of
libart has been out of synch with the released gnome-libs, so the
configure test will not find libart correctly (although dia will be able
to use it).  Just pass the --disable-libarttest argument to configure.

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/





PNG Export

2000-05-25 Thread Jeff Hornsberger

Hi, I want to be able to export to PNG so I have installed the package
gdk-pixbuf, but now my configuration
says it needs Libart. What is Libart and where can I get it? I'm trying
to build this on a RH 6.1 system.
Here is the configuration information I get:

Configuration:
Source code location:   .
Compiler:   gcc

Use gdk-pixbuf: yes
Libart (AA rendering, png export):  no

Gnome support:  no
Build bonobo component (not supported): no

Thanks. -Jeff