Aboghazala / AwesomeTkinter

Pretty tkinter widgets
MIT License
101 stars 7 forks source link

Issue with the arabic letter ء #9

Closed YaserIskobi closed 2 years ago

YaserIskobi commented 2 years ago

Hello,

I am facing issue with this specific letter. Any fix for this?

issue_screenshot

Thank you

Aboghazala commented 2 years ago

@YaserIskobi thanks for reporting this will check this problem, and try to fix it

Aboghazala commented 2 years ago

@YaserIskobi unfortunately i couldn't reproduce the problem, here it is a screenshot shows that it works as expected

image

maybe because your font is different than mine can you add below code before root.mainloop()

from tkinter.font import Font
f = Font(font=lbl['font'])
print(f.actual())

and post the output of print statement

Aboghazala commented 2 years ago

Also make sure you have the latest version if you have installed thru pip pip3 install --upgrade awesometkinter

YaserIskobi commented 2 years ago

@Aboghazala Thank you for your quick response.

This is the output for actual font in my side: {'family': 'Arial', 'size': 20, 'weight': 'normal', 'slant': 'roman', 'underline': 0, 'overstrike': 0}

I also upgraded awesometkinter thru pip but still same issue. It is the same issue when I put the letter in the text so the entry field don't show the text correctly (see attached)

Thank you again entry_screenshot n

YaserIskobi commented 2 years ago

Maybe I need to mention that I am using windows 10 as OS

Aboghazala commented 2 years ago

@YaserIskobi just made a new release with a fix please upgrade to latest release and check if it works for you

pip3 install --upgrade awesometkinter

YaserIskobi commented 2 years ago

@Aboghazala Yes I confirm it is fixed. Thank you very much for this great Library

Aboghazala commented 2 years ago

@Aboghazala Yes I confirm it is fixed. Thank you very much for this great Library

Great!, you are welcome