- Fontconfig korrigiert
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
><tspan
|
><tspan
|
||||||
x="48.443432"
|
x="48.443432"
|
||||||
y="125.79976"
|
y="125.79976"
|
||||||
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
|
<text
|
||||||
xml:space="preserve"
|
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"
|
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"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
y="100.06429"
|
y="100.06429"
|
||||||
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;text-anchor:middle;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">${x7}</tspan></text>
|
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;text-anchor:middle;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">${x7}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="119.00378"
|
y="119.00378"
|
||||||
x="37.793247"
|
x="37.793247"
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
x="37.793247"
|
x="37.793247"
|
||||||
>${x5}</tspan></text>
|
>${x5}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="135.10689"
|
y="135.10689"
|
||||||
x="40.912228"
|
x="40.912228"
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
||||||
@@ -27,6 +29,7 @@
|
|||||||
x="40.912228"
|
x="40.912228"
|
||||||
>${x4}</tspan></text>
|
>${x4}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="87.458839"
|
y="87.458839"
|
||||||
x="58.049446"
|
x="58.049446"
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
||||||
@@ -36,6 +39,7 @@
|
|||||||
x="53.293491"
|
x="53.293491"
|
||||||
>${x1}</tspan></text>
|
>${x1}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="95.718819"
|
y="95.718819"
|
||||||
x="45.571537"
|
x="45.571537"
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
||||||
@@ -45,6 +49,7 @@
|
|||||||
x="45.571537"
|
x="45.571537"
|
||||||
>${x6}</tspan></text>
|
>${x6}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="132.11322"
|
y="132.11322"
|
||||||
x="86.71936"
|
x="86.71936"
|
||||||
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"
|
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"
|
||||||
@@ -54,6 +59,7 @@
|
|||||||
x="86.71936"
|
x="86.71936"
|
||||||
>${x11}</tspan></text>
|
>${x11}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="96.44426"
|
y="96.44426"
|
||||||
x="70.20665"
|
x="70.20665"
|
||||||
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"
|
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"
|
||||||
@@ -63,6 +69,7 @@
|
|||||||
x="70.20665"
|
x="70.20665"
|
||||||
>${x2}</tspan></text>
|
>${x2}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="120.25014"
|
y="120.25014"
|
||||||
x="63.623444"
|
x="63.623444"
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
style="font-size:40px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
||||||
@@ -72,6 +79,7 @@
|
|||||||
x="63.623444"
|
x="63.623444"
|
||||||
>${x3}</tspan></text>
|
>${x3}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="141.04482"
|
y="141.04482"
|
||||||
x="69.013687"
|
x="69.013687"
|
||||||
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
style="font-size:40px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#808080;fill-opacity:1;stroke:none;font-family:Sans"
|
||||||
@@ -81,6 +89,7 @@
|
|||||||
x="69.013687"
|
x="69.013687"
|
||||||
>${x10}</tspan></text>
|
>${x10}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="120.74612"
|
y="120.74612"
|
||||||
x="69.282585"
|
x="69.282585"
|
||||||
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"
|
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"
|
||||||
@@ -90,6 +99,7 @@
|
|||||||
x="80.24649"
|
x="80.24649"
|
||||||
>${x9}</tspan></text>
|
>${x9}</tspan></text>
|
||||||
<text
|
<text
|
||||||
|
|
||||||
y="106.48371"
|
y="106.48371"
|
||||||
x="72.470993"
|
x="72.470993"
|
||||||
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"
|
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"
|
||||||
@@ -130,4 +140,7 @@
|
|||||||
transform="translate(66.038723,116.70839)"
|
transform="translate(66.038723,116.70839)"
|
||||||
r="2.8138001"
|
r="2.8138001"
|
||||||
id="circle4-7-4" />
|
id="circle4-7-4" />
|
||||||
|
|
||||||
|
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu"
|
||||||
|
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu"
|
||||||
</g>
|
</g>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -43,7 +43,7 @@
|
|||||||
><tspan
|
><tspan
|
||||||
x="71.136246"
|
x="71.136246"
|
||||||
y="112.48307"
|
y="112.48307"
|
||||||
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;text-anchor:middle;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">${x5}</tspan></text>
|
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;text-anchor:middle;font-family:Ubuntu;-inkscape-font-specification:Ubuntu">${x5}</tspan></text>
|
||||||
<circle
|
<circle
|
||||||
transform="translate(68.612578,101.7633)"
|
transform="translate(68.612578,101.7633)"
|
||||||
r="2.8138001"
|
r="2.8138001"
|
||||||
@@ -64,4 +64,5 @@
|
|||||||
transform="translate(40.670943,129.15983)"
|
transform="translate(40.670943,129.15983)"
|
||||||
r="2.8138001"
|
r="2.8138001"
|
||||||
id="circle4-6-0-4" />
|
id="circle4-6-0-4" />
|
||||||
|
|
||||||
</g>
|
</g>
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
id="tspan3017"
|
id="tspan3017"
|
||||||
x="48.443432"
|
x="48.443432"
|
||||||
y="125.79976"
|
y="125.79976"
|
||||||
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
|
<text
|
||||||
xml:space="preserve"
|
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:#000000;fill-opacity:1;stroke:none;font-family:Sans"
|
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:#000000;fill-opacity:1;stroke:none;font-family:Sans"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
+52
-4
@@ -1,5 +1,53 @@
|
|||||||
Kennummer;Name
|
Kennummer;Name
|
||||||
001;aa
|
a;a
|
||||||
002;ab
|
b;b
|
||||||
003;ba
|
c;c
|
||||||
004;bb
|
d;d
|
||||||
|
e;e
|
||||||
|
f;f
|
||||||
|
g;g
|
||||||
|
h;h
|
||||||
|
i;i
|
||||||
|
j;j
|
||||||
|
k;k
|
||||||
|
l;l
|
||||||
|
m;m
|
||||||
|
n;n
|
||||||
|
o;o
|
||||||
|
p;p
|
||||||
|
q;q
|
||||||
|
r;r
|
||||||
|
s;s
|
||||||
|
t;t
|
||||||
|
u;u
|
||||||
|
v;v
|
||||||
|
w;w
|
||||||
|
x;x
|
||||||
|
y;y
|
||||||
|
z;z
|
||||||
|
A;A
|
||||||
|
B;B
|
||||||
|
C;C
|
||||||
|
D;D
|
||||||
|
E;E
|
||||||
|
F;F
|
||||||
|
G;G
|
||||||
|
H;H
|
||||||
|
I;I
|
||||||
|
J;J
|
||||||
|
K;K
|
||||||
|
L;L
|
||||||
|
M;M
|
||||||
|
N;N
|
||||||
|
O;O
|
||||||
|
P;P
|
||||||
|
Q;Q
|
||||||
|
R;R
|
||||||
|
S;S
|
||||||
|
T;T
|
||||||
|
U;U
|
||||||
|
V;V
|
||||||
|
W;W
|
||||||
|
X;X
|
||||||
|
Y;Y
|
||||||
|
Z;Z
|
||||||
|
|||||||
|
+4
-2
@@ -110,7 +110,8 @@ class Glyph:
|
|||||||
return float(self.GetAttribute('ystep'))
|
return float(self.GetAttribute('ystep'))
|
||||||
def GetSVG(self, content):
|
def GetSVG(self, content):
|
||||||
t = Template(self.template)
|
t = Template(self.template)
|
||||||
return t.substitute(content)
|
svg = t.substitute(content)
|
||||||
|
return svg
|
||||||
|
|
||||||
class Font:
|
class Font:
|
||||||
"""enthaelt alle Daten zu einem Font """
|
"""enthaelt alle Daten zu einem Font """
|
||||||
@@ -119,9 +120,10 @@ class Font:
|
|||||||
self.path = font_path
|
self.path = font_path
|
||||||
self.glyphs = dict()
|
self.glyphs = dict()
|
||||||
|
|
||||||
fontconfig = ConfigParser.RawConfigParser()
|
fontconfig = ConfigParser.ConfigParser()
|
||||||
config_path = os.path.join(font_path, fontname+'.cfg')
|
config_path = os.path.join(font_path, fontname+'.cfg')
|
||||||
fontconfig.read(config_path)
|
fontconfig.read(config_path)
|
||||||
|
fontconfig.optionxform = str
|
||||||
|
|
||||||
# lies alle Zeichen des Fonts ein
|
# lies alle Zeichen des Fonts ein
|
||||||
for letter in fontconfig.sections():
|
for letter in fontconfig.sections():
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user