- weitergebastelt

This commit is contained in:
Michael Stangl
2012-07-30 21:58:22 +02:00
parent 645875fe5d
commit 89a06f2fdb
5 changed files with 16 additions and 15 deletions
+14 -3
View File
@@ -1,8 +1,19 @@
# wie gross soll das Bild werden
[globals]
# angabe als default in punkt. Ansonsten mm hinten dran.
width=1200
height=200
# angabe der Länge und Breite in pixelanzahl oder bei 72dpi
# -> 2,83466799 pixel entsprechen 1 mm bei 72 dpi
# -> 11,811116625 pixel entsprechen 1 mm bei 300 dpi
# Ziel für die Grösse:
# height=70mm
# width=190mm
height=826.77
width=2244.112
# 0,352775 * pixellänge[bei 72dpi] = länge[mm]
# -> 2,83466799 pixel entsprechen 10 mm
# -> 1000 pixel mit 72dpi entsprechen 352,78 mm
# (wenn man diesselbe Länge bei 300dpi erreichen will, braucht man 4166pixel,
# das 4,16 fache )
# was soll wohin geschrieben werden (,..,..)
lines=PunkteName
-10
View File
@@ -1,10 +0,0 @@
[B]
XSTEP=49.615566
XMIN=40.296467
XMAX=89.912033
YSTEP=89.272323
YMIN=52.366497
YMAX=141.63882
NPATTERN=9
FILENAME=B.svg
#
+1 -1
View File
@@ -7,7 +7,7 @@
><tspan
x="47.372364"
y="124.36575"
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">x1 </tspan></text>
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">${x1}</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
+1 -1
View File
@@ -84,7 +84,7 @@ class Word:
g = self.font.GlyphGet(c)
content['posx'] = str(x)
# die Position ist erst für den nächsten Buchstaben relevant
x = g.GetLength() + x
x = g.GetLength() + x +50
# wenn im Buchstaben Platzhalter (x1, x2, x3,...) drin sind, dann
# diese durch den aktuellen Zählerstand ersetzen
if params['counter_replace']:
BIN
View File
Binary file not shown.