28 Jan 2012 ianweller   » (Journeyer)

694 insertions, 1201 deletions, 0 visible changes

[ianweller@hovercraft fedora-business-cards]$ git diff --stat 0afed4e HEAD
 INSTALL                                      |    4 +-
 MANIFEST.in                                  |    2 +-
 README                                       |   15 +-
 config.ini                                   |    4 -
 fedora-business-cards.spec                   |   28 +--
 fedora_business_cards/__init__.py            |   13 +-
 fedora_business_cards/common.py              |  104 ++++++++++
 fedora_business_cards/config.py              |   66 ------
 fedora_business_cards/exceptions.py          |   37 ----
 fedora_business_cards/export.py              |  144 ++++++++-----
 fedora_business_cards/frontend/__init__.py   |   26 +++
 fedora_business_cards/frontend/cmdline.py    |  236 +++++++++++------------
 fedora_business_cards/generate.py            |   60 ------
 fedora_business_cards/generators/__init__.py |   61 ++++++
 fedora_business_cards/generators/fedora.py   |  278 ++++++++++++++++++++++++++
 fedora_business_cards/information.py         |   64 ------
 pavement.py                                  |   45 +----
 templates/back-europe.svg                    |   76 -------
 templates/back-northamerica.svg              |   75 -------
 templates/back-overnightprints.svg           |   76 -------
 templates/front-europe.svg                   |  160 ---------------
 templates/front-northamerica.svg             |  152 --------------
 templates/front-overnightprints.svg          |  152 --------------
 templates/templates.ini                      |   17 --
 24 files changed, 694 insertions(+), 1201 deletions(-)

What changed?

  • Removed the Fedora Talk number (long overdue).
  • Removed fill-in-the-blank templates and added code to generate the SVG dynamically in Python. (This now lets us support any given business card size, with any given margin for professional printing.)
  • Changed the fonts to Cantarell and Comfortaa.
  • Made the business card generation modular so that you can create a non-Fedora business card with the same code that makes dynamic sizes and conversion to CMYK and PDF somewhat easier than doing it from scratch. (Feature request by Mel Chua, who told me she will write a Beefy Miracle module to test the new modularization support.)
  • Made palette-based RGB to CMYK conversion actually sane.
  • Various fixes.

Okay, so 1 visible change. I lied :)

What’s next?

  • Potentially moving things around on the Fedora card layout
  • Possibly renaming fedora-business-cards to something more generic due to its modularization
  • Actually making a new release so that people stop accidentally printing Fedora Talk information on their cards

Syndicated 2012-01-28 09:09:22 from Ian Weller’s blog » Advogato

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!