if you define padding and width based on a font (like line-height or m character) how do you calculate the spacing if different proportional fonts are used for different language features and lines?
foobar() {
→ print("hello")↔ // print
→ myvar = 1↔ /* assign */
}
(lets say we use a different font or even just a different font size for: function header, function call, line comment, assignment, block comment etc.)
or simplified as
each m could have a completely different width
if you define padding and width based on a font (like line-height or
mcharacter) how do you calculate the spacing if different proportional fonts are used for different language features and lines?(lets say we use a different font or even just a different font size for: function header, function call, line comment, assignment, block comment etc.)
or simplified as
each
mcould have a completely different width