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

Bug#130147: www.debian.org: xfig and gimp versions of logos are damaged



On Sun, Jan 20, 2002 at 10:21:17PM +0100, Josip Rodin wrote:
> On Sun, Jan 20, 2002 at 06:56:11PM +0000, Charles Briscoe-Smith wrote:
> > Please would you regenerate the following files from the (corrent) EPS or
> > PDF files, thus helping banish the old, broken logo from the face of the
> > earth?
> 
> Can you provide us with exact instructions on how to fix this?

Okay.  Here's how to regenerate openlogo-nd.xcf.gz:

Start the Gimp.  (I'm using v1.2.2.)

Select "File"/"Open..." then find and select openlogo-nd.eps.  If you have
no local copy, cut-n-paste "http://www.debian.org/logos/openlogo-nd.eps";
into the "selection" field.  Hit "OK".  In the "Load Postscript" dialog,
set "resolution" to 831.  Leave width, height and pages at their defaults.
Make sure "Try bounding box" is selected.  Use "Color" for coloring.
Use "Strong" for graphic antialiasing.  Text aa doesn't matter (there's
no text; it's all vectors).  Hit OK.

With a resolution of 831 DPI, this should give an image of very nearly the
same pixel dimensions as the current openlogo-nd.xcf.gz.  Right-click in
the image, select "View"/"Info Window..." to see the dimensions and
resolution of the image.

You probably want to change the image's declared resolution to 72 DPI,
to match the current .xcf file.  Here's how:  Right-click on the image,
select "Image"/"Scale Image..."  In the "Resolution X" field, replace the
current value with "72", then hit TAB.  "Y" will change to 72 too, and
the "New Width" and "Height" displayed in inches will update.  The "New
Width" and "Height" displayed in pixels further up should NOT change.
Click OK.  Point at the image and check the resolution in the info window.

Now you need to save the result.  Right-click in the image window,
select "File"/"Save As...".  Enter a filename ending with ".xcf.gz"
(so that the Gimp will compress the file automatically).  Hit "OK".  Done.

To regenerate openlogo.xcf.gz, use exactly the same procedure, but
an appropriate resolution to match the current .xcf's image size
would be 1000 DPI, which makes much more sense than 831 DPI.  And,
obviously, use "http://www.debian.org/logos/openlogo.eps"; instead of
"http://www.debian.org/logos/openlogo-nd.eps";.

> The main problem I see is that the XCF file is 1529x1890 while the EPS file
> is 153x202.

The EPS is resolution independent.  It's all vectors.  You can rasterise
it at (theoretically) any resolution you want.

> I guess I can take the new EPS from Phil's site and convert it to XCF, but
> what about XFig? I never used that program.

The EPS on http://www.debian.org/logos/ is fine, AFAICT.

I have used XFig, but not as extensively as I've used the Gimp.
However, I think the solution will be a short, undoubtedly cryptic,
incantation involving pstoedit, but I have yet to divine the details.
I'll let you know.

HTH.

-- 
Charles Briscoe-Smith             Hacking Free Software for fun and profit
Governing Law:
   This License Agreement shall be construed and governed in accordance
   with the laws of the State of Inebriation. 
                                    -- http://www.thalia.org/computer.html



Reply to: