Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch
Home

[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: cameron@xxxxxxxxxx, sambc@xxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch
From: "esr@xxxxxxxxxxx via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 7 Jan 2003 14:31:44 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Raimar Falke via RT <rt@xxxxxxxxxxxxxx>:
> I have no idea how much this simplifies it to add a flag.

It will make adding one pretty trivial.  All a composer will have to
do is come up with the bitmap for the individual flag.  The assembly
tool will take care of inserting it in a modified flags.png.

>   Each PNG file divided into equal sized tiles of size (dx,dy). There
>   may _one_ pixel spacing between these if is_pixel_border is set true
>   in the spec file.
> 
> For the flags and for the flags only: we crop the sprite further
> (gui-gtk/plrdlg.c:build_flag) by calling
> gui-gtk/graphics.c:sprite_get_bounding_box and
> gui-gtk/graphics.c:crop_sprite. And yes this is isn't what I would
> call nice.

No, it isn't.  But PIL may have an autocrop function that will do the
job.  Thanks for the clarification.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>



[Prev in Thread] Current Thread [Next in Thread]