#. the original texture <mtrl>.<ext> to <mtrl>-<lang-code>.<ext> and modify it)
#. and translate the material name to match (from <mtrl> to
#. <mtrl>-<lang-code>).
+#.
+#. Author's comments on the original mtrl/words texture:
+#.
+#. "Courier New, 40pt, bold. The words are centered in cells of 256x64 pixels.
+#. For the vertical centering, the x-height is used as the reference. Some
+#. manual corrections were made; for example, the hyphen in 'Fall-out' was
+#. shortened in order to increase the margin on each side of the word."
+#.
+#. Those on GNU+Linux having the ImageMagick program suite installed may find
+#. the provided scripts/gen-words.sh shell script useful.
msgid "mtrl/words"
msgstr ""
--- /dev/null
+#!/bin/sh
+
+LANG=lv
+
+Ball="Bumba"
+Goal="Mērķis"
+Coin="Monēta"
+Switch="Slēdzis"
+Texture="Tekstūra"
+FallOut="Kritiens"
+
+FONT=FreeMono-Negreta
+PTSIZE=56
+DENSITY=70
+
+convert \
+ \( -size 256x64 xc:transparent -font $FONT -pointsize $PTSIZE \
+ -density $DENSITY -channel A -gravity Center \) \
+ \( -clone 0 -annotate +0+0 "$Ball" \) \
+ \( -clone 0 -annotate +0+0 "$Goal" \) \
+ \( -clone 0 -annotate +0+0 "$Coin" \) \
+ \( -clone 0 -annotate +0+0 "$Switch" \) \
+ \( -clone 0 -annotate +0+0 "$Texture" \) \
+ \( -clone 0 -annotate +0+0 "$FallOut" \) \
+ -delete 0 -append \
+ -gravity North -background transparent -extent 256x512 \
+ -depth 8 words-$LANG.png
+