Open sa3eedDev opened 4 years ago
Added italic .ttf file to /Resources/fonts of the same OpenSans font style. Still continuing to look which files (there are a LOT) need to be changed in order to change the font style from slanted normal font as italics, to implementing this new font library. Edit: Could possibly be in Telegram/SourceFiles/ui/twidget.cpp to "LoadCustomFont"
Lots of font information and validation is located in twidget.cpp
Windows 10, Telegram 1.8.9, italic text in messages looks like this:
image
Probably because in tdesktop/Telegram/Resources/fonts/ there are no italic fonts. Could these be included?
Edit:
Expected Behavior: Selected text is shown in italics
Actual behaviour Selected text is normal text, just slanted
Configuration Operating system: windows 10