- Attempted to allow text renderer to auto-detect RTL
- Unable to reproduce original issue so good chance this doesn't fix #167
This commit is contained in:
parent
67bc4a1098
commit
4cb30cf470
2 changed files with 2 additions and 0 deletions
|
|
@ -251,6 +251,7 @@ class TextOverlayWindow(OverlayWindow):
|
|||
Draw a text message, returning the Y position of the next message
|
||||
"""
|
||||
layout = self.create_pango_layout(text)
|
||||
layout.set_auto_dir(True)
|
||||
layout.set_markup(text, -1)
|
||||
attr = layout.get_attributes()
|
||||
|
||||
|
|
|
|||
|
|
@ -470,6 +470,7 @@ class VoiceOverlayWindow(OverlayWindow):
|
|||
Draw username & background at given position
|
||||
"""
|
||||
layout = self.create_pango_layout(string)
|
||||
//layout.set_auto_dir(True)
|
||||
layout.set_markup(string, -1)
|
||||
|
||||
layout.set_width(Pango.SCALE * self.width)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue