| 1 | #!/bin/bash |
| 2 | set -eu |
| 3 | |
| 4 | # Include all the special Polish, German, Russian and Ukrainian chars to include in a font. |
| 5 | SAMPLE_TEXT='ŚĆĘĄŹŁŻÓŃśćęąźłżóńÄäÖöÜüẞßйцукенгшщзхъфывапролджэячсмитьбюёЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮЁїієґЇІЄҐ' |
| 6 | |
| 7 | # Note that we create font with a large size (50), |
| 8 | # this makes it look good in the 3D view when the letters are huge. |
| 9 | |
| 10 | texture-font-to-pascal DejaVuSans.ttf \ |
| 11 | --size 50 \ |
| 12 | --unit-name Font_DejaVuSans \ |
| 13 | --sample-text "${SAMPLE_TEXT}" |
| 14 | mv -f font_dejavusans.pas ../code/ |