Skip to content

Commit 7cbd0f9

Browse files
committed
Make more vertical space for offset.
Top of some characters would sometimes be cut off otherwise.
1 parent fffbaa2 commit 7cbd0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ def write_bytefield_row( fd, fields ):
898898
columnOffset += columnWidth
899899
# remove whitespace to save space
900900
headers = [h.replace(" ", "") for h in headers]
901-
fd.write('(draw-column-headers {:font-size 15 :height 16 :labels [%s]})\n' % " ".join(f'"{h}"' for h in reversed(headers)))
901+
fd.write('(draw-column-headers {:font-size 15 :height 17 :labels [%s]})\n' % " ".join(f'"{h}"' for h in reversed(headers)))
902902

903903
for f in fields:
904904
fd.write('(draw-box (text "%s" {:font-size 20}) {:span %s})\n' % ( f.name, f.columnWidth() ))

0 commit comments

Comments
 (0)