Open trevorld opened 3 years ago
'bdf' font needs bitmap widths of multiples of 8 so could have a function that auto pads 0s to the right to reach multiple of 8
%% 8
bm_extend()
pdfparser has this functionality https://font.tomchen.org/bdfparser_py/bitmap/#bytepad
pdfparser
Not sure this would be all that useful unless we were to write native bdf font export capabilities
Or perhaps just add a new argument to bm_extend() like bytepad?
bytepad
'bdf' font needs bitmap widths of multiples of 8 so could have a function that auto pads 0s to the right to reach multiple of 8
%% 8
to get its remainder andbm_extend()
to the rightpdfparser
has this functionality https://font.tomchen.org/bdfparser_py/bitmap/#bytepadNot sure this would be all that useful unless we were to write native bdf font export capabilities