- config ergaenzt um Längen
This commit is contained in:
@@ -6,8 +6,9 @@
|
|||||||
# Ziel für die Grösse:
|
# Ziel für die Grösse:
|
||||||
# height=70mm
|
# height=70mm
|
||||||
# width=190mm
|
# width=190mm
|
||||||
height=700
|
height=898
|
||||||
width=1900
|
width=2776
|
||||||
|
background=Karo.png
|
||||||
# 0,352775 * pixellänge[bei 72dpi] = länge[mm]
|
# 0,352775 * pixellänge[bei 72dpi] = länge[mm]
|
||||||
# -> 2,83466799 pixel entsprechen 10 mm
|
# -> 2,83466799 pixel entsprechen 10 mm
|
||||||
# -> 1000 pixel mit 72dpi entsprechen 352,78 mm
|
# -> 1000 pixel mit 72dpi entsprechen 352,78 mm
|
||||||
@@ -29,7 +30,7 @@ name = Name
|
|||||||
content=${name}
|
content=${name}
|
||||||
# Ab dem Punkt wird zu schreiben begonnen
|
# Ab dem Punkt wird zu schreiben begonnen
|
||||||
x=0
|
x=0
|
||||||
y=300
|
y=0
|
||||||
length=200
|
length=200
|
||||||
# Fontname und Fonttyp
|
# Fontname und Fonttyp
|
||||||
fontname=ausgangsschrift
|
fontname=ausgangsschrift
|
||||||
|
|||||||
+2
-1
@@ -10,7 +10,7 @@ import optparse
|
|||||||
import os
|
import os
|
||||||
import ConfigParser
|
import ConfigParser
|
||||||
from utils import CSVImport, CompleteEnding, get_translation
|
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
|
from string import Template
|
||||||
|
|
||||||
class PicError(Exception):
|
class PicError(Exception):
|
||||||
@@ -27,6 +27,7 @@ def create_picture_frame( config ):
|
|||||||
<svg
|
<svg
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
width="${width}"
|
width="${width}"
|
||||||
height="${height}"
|
height="${height}"
|
||||||
|
|||||||
Reference in New Issue
Block a user