Fix resizing of fonts

This commit is contained in:
Kovid Goyal
2017-11-10 07:34:52 +05:30
parent e15bc71930
commit 7a0b649cbd
3 changed files with 3 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ def resize_fonts(new_sz, xdpi=None, ydpi=None):
s.family, new_sz, xdpi, ydpi, cell_width, cell_height, baseline,
underline_position, underline_thickness
)
return cell_width, cell_height
def add_line(buf, cell_width, position, thickness, cell_height):