Closed mjhasani closed 3 years ago
Hello, the reshaper is not responsible for rendering anything, the option you used config_for_true_type_font
is just so that the reshaper doesn't use glyphs that your font does not support. You still need to render the reshaped text using your font in whatever library you're using for rendering (matplotlib in your case).
Hi I used reshaper library as below:
reshaper_ = arabic_reshaper.ArabicReshaper( arabic_reshaper.config_for_true_type_font( './path/to/font.ttf', arabic_reshaper.ENABLE_ALL_LIGATURES ) ) axis.settitle(reshaper.reshape( title )[::-1] )
but the font not applied to image title.