+2
−3
Loading
Implement pitch and size calculation for a single font glyph in the new helpers font_glyph_pitch() and font_glyph_size(). Replace the instances where the calculations are open-coded. Note that in the case of fbcon console rotation, the parameters for a glyph's width and height might be reversed. This is intentional. v2: - fix typos in commit message Signed-off-by:Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by:
Helge Deller <deller@gmx.de>