Skip to content

Commit

Permalink
fixing image render
Browse files Browse the repository at this point in the history
  • Loading branch information
SargisYonan committed Aug 29, 2024
1 parent be3fc96 commit 9bb0f87
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 92 deletions.
Binary file modified fonts/NohadraSyriac-Amedia.otf
Binary file not shown.
Binary file modified fonts/NohadraSyriac-Sapna.otf
Binary file not shown.
Binary file modified samples/NohadraSyriac-Amedia-nohadra-amedia-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/NohadraSyriac-Amedia-nohadra-sample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/NohadraSyriac-Amedia-nohadra-sapna-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/NohadraSyriac-Amedia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/NohadraSyriac-Sapna-nohadra-amedia-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/NohadraSyriac-Sapna-nohadra-sample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/NohadraSyriac-Sapna-nohadra-sapna-text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/NohadraSyriac-Sapna.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 0 additions & 46 deletions samples/index-amedia.html

This file was deleted.

45 changes: 0 additions & 45 deletions samples/index-sapna.html

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/render_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def render_text_to_image(font_path, text, output_path):
font_size = 400

width = int((len(text)*font_size) / 2.2)
height = 350
height = 400

# Create a new image with a white background
image = Image.new('RGB', (width, height), color='white')
Expand Down

0 comments on commit 9bb0f87

Please sign in to comment.