You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example takes a list of strings as well as a list of colors which makes it
35
+
cumbersome to use. An alternative would be to use a restricted set of pango-like markup (see https://developer.gnome.org/pango/stable/PangoMarkupFormat.html) and to interpret this markup.
36
+
37
+
Some markup examples::
38
+
39
+
Hello <b>world!</b>`
40
+
Hello <span color="blue">world!</span>
41
+
42
+
43
+
Implementation
44
+
==============
45
+
46
+
One proof of concept is provided in markup_example.py but it only handles
47
+
horizontal direction.
48
+
49
+
50
+
Backward compatibility
51
+
======================
52
+
53
+
None at the moment since it is only a proof of concept
0 commit comments