- config ergaenzt um Längen

This commit is contained in:
Michael Stangl
2012-08-16 16:55:56 +02:00
parent 90aa709bdd
commit 3a0b5135da
2 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -6,8 +6,9 @@
# Ziel für die Grösse:
# height=70mm
# width=190mm
height=700
width=1900
height=898
width=2776
background=Karo.png
# 0,352775 * pixellänge[bei 72dpi] = länge[mm]
# -> 2,83466799 pixel entsprechen 10 mm
# -> 1000 pixel mit 72dpi entsprechen 352,78 mm
@@ -29,7 +30,7 @@ name = Name
content=${name}
# Ab dem Punkt wird zu schreiben begonnen
x=0
y=300
y=0
length=200
# Fontname und Fonttyp
fontname=ausgangsschrift
+2 -1
View File
@@ -10,7 +10,7 @@ import optparse
import os
import ConfigParser
from utils import CSVImport, CompleteEnding, get_translation
from django.utils.encoding import smart_unicode, smart_str
from django.utils.encoding import smart_str
from string import Template
class PicError(Exception):
@@ -27,6 +27,7 @@ def create_picture_frame( config ):
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
width="${width}"
height="${height}"