Skip to content

Commit

Permalink
Fix: Missing Cyrillic capital Ya from font previews
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyris committed Jan 2, 2024
1 parent 84f6801 commit 807f1ef
Show file tree
Hide file tree
Showing 38 changed files with 4 additions and 4 deletions.
Binary file modified openttd-mono/OpenTTD-Mono-10px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-mono/OpenTTD-Mono-10px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-mono/OpenTTD-Mono-20px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-mono/OpenTTD-Mono-20px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-mono/OpenTTD-Mono-40px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-mono/OpenTTD-Mono-40px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion openttd-mono/font_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def shadowtext(draw, scale, position, string, font, foreground, background):
shadowtext(draw, scale, (3, 2 + line * 7), "Currencies: $£¥¢֏฿₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹₺₻₼₽₾₿", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 8), "Greek upper: ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 9), "Greek lower: αβγδεζηθικλμνξοπρςστυφχψω", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮ", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 11), "Cyrillic lower: абвгдежзиклмнопрстуфхцчшщъыьэюя", font, foreground, shadow)
image.save("OpenTTD-Mono-" + str(scale * size) + "px-" + fontmode["description"] + ".png", "PNG")
Binary file modified openttd-sans/OpenTTD-Sans-10px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-sans/OpenTTD-Sans-10px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-sans/OpenTTD-Sans-20px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-sans/OpenTTD-Sans-20px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-sans/OpenTTD-Sans-40px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-sans/OpenTTD-Sans-40px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-sans/OpenTTD-Sans.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion openttd-sans/font_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def shadowtext(draw, scale, position, string, font, foreground, background):
shadowtext(draw, scale, (3, 2 + line * 7), "Currencies: $£¥¢֏฿₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹₺₻₼₽₾₿", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 8), "Greek upper: ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 9), "Greek lower: αβγδεζηθικλμνξοπρςστυφχψω", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮ", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ", font, foreground, shadow)
shadowtext(draw, scale, (3, 2 + line * 11), "Cyrillic lower: абвгдежзиклмнопрстуфхцчшщъыьэюя", font, foreground, shadow)
image.save("OpenTTD-Sans-" + str(scale * size) + "px-" + fontmode["description"] + ".png", "PNG")
Binary file modified openttd-serif/OpenTTD-Serif-18px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-serif/OpenTTD-Serif-18px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-serif/OpenTTD-Serif-36px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-serif/OpenTTD-Serif-36px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-serif/OpenTTD-Serif-72px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-serif/OpenTTD-Serif-72px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-serif/OpenTTD-Serif.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion openttd-serif/font_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def shadowtext(draw, scale, position, string, font, foreground, background):
shadowtext(draw, scale, (3, 5 + line * 7), "Currencies: $£¥¢֏฿₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹₺₻₼₽₾₿", font, foreground, shadow)
shadowtext(draw, scale, (3, 5 + line * 8), "Greek upper: ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ", font, foreground, shadow)
shadowtext(draw, scale, (3, 5 + line * 9), "Greek lower: αβγδεζηθικλμνξοπρςστυφχψω", font, foreground, shadow)
shadowtext(draw, scale, (3, 5 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮ", font, foreground, shadow)
shadowtext(draw, scale, (3, 5 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ", font, foreground, shadow)
shadowtext(draw, scale, (3, 5 + line * 11), "Cyrillic lower: абвгдежзиклмнопрстуфхцчшщъыьэюя", font, foreground, shadow)
image.save("OpenTTD-Serif-" + str(scale * size) + "px-" + fontmode["description"] + ".png", "PNG")
Binary file modified openttd-small/OpenTTD-Small-12px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-small/OpenTTD-Small-12px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-small/OpenTTD-Small-24px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-small/OpenTTD-Small-24px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-small/OpenTTD-Small-6px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-small/OpenTTD-Small-6px-anti-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-small/OpenTTD-Small.ttf
Binary file not shown.
Binary file modified openttd-small/OpenTTD-SmallCaps-12px-aliased.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openttd-small/OpenTTD-SmallCaps-12px-anti-aliased.png
Binary file modified openttd-small/OpenTTD-SmallCaps-24px-aliased.png
Binary file modified openttd-small/OpenTTD-SmallCaps-24px-anti-aliased.png
Binary file modified openttd-small/OpenTTD-SmallCaps-6px-aliased.png
Binary file modified openttd-small/OpenTTD-SmallCaps-6px-anti-aliased.png
Binary file modified openttd-small/OpenTTD-SmallCaps.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion openttd-small/font_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def shadowtext(draw, scale, position, string, font, foreground, background):
shadowtext(draw, scale, (3, 2 + line * 7), "Currencies: $£¥¢֏฿₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵₶₷₸₹₺₻₼₽₾₿", font, foreground, None)
shadowtext(draw, scale, (3, 2 + line * 8), "Greek upper: ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ", font, foreground, None)
shadowtext(draw, scale, (3, 2 + line * 9), "Greek lower: αβγδεζηθικλμνξοπρςστυφχψω", font, foreground, None)
shadowtext(draw, scale, (3, 2 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮ", font, foreground, None)
shadowtext(draw, scale, (3, 2 + line * 10), "Cyrillic upper: АБВГДЕЖЗИКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ", font, foreground, None)
shadowtext(draw, scale, (3, 2 + line * 11), "Cyrillic lower: абвгдежзиклмнопрстуфхцчшщъыьэюя", font, foreground, None)
image.save(fontname + "-" + str(scale * size) + "px-" + fontmode["description"] + ".png", "PNG")

0 comments on commit 807f1ef

Please sign in to comment.