Missing padding info
johh opened this issue · comments
Hey there!
I've noticed that font.info.padding
is always [0, 0, 0, 0]
.
Since some padding info is calculated here shouldn't that info be made available in font.info.padding
? It'd come in handy when aligning things or calculating metrics.
I'm happy to submit a PR.
Real padding might introduce some artifacts in msdf textures (Not tested), but should be useful when dealing with sdf or svg output, but they are rarely used.
If you think this is meaningful, PR is welcomed! Thank you.