mirror of https://github.com/kivy/kivy.git
fix markup positioning incase of glyphs with kerning
This commit is contained in:
parent
2ebe07e9a9
commit
d11c77aca5
|
@ -228,7 +228,8 @@ class MarkupLabel(MarkupLabelBase):
|
|||
# (extract all extents of the part,
|
||||
# sum the width, and get the maximum height)
|
||||
pg = [cache[g] for g in part]
|
||||
pw = sum([g[0] for g in pg])
|
||||
#pw = sum([g[0] for g in pg])
|
||||
pw = get_extents(part)[0]
|
||||
ph = max([g[1] for g in pg])
|
||||
|
||||
options = copy(options)
|
||||
|
|
Loading…
Reference in New Issue