[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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>
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Raimar Falke via RT, 2003/01/07
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Paul Zastoupil, 2003/01/07
- Message not available
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, ChrisK@xxxxxxxx via RT, 2003/01/07
- Message not available
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, esr@xxxxxxxxxxx via RT, 2003/01/07
- Message not available
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Paul Zastoupil via RT, 2003/01/07
Message not available
|
|