Merge branch 'master' of git+ssh://gitbox/piccreate
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 842 KiB |
@@ -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
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user