summaryrefslogtreecommitdiff
path: root/rust/kernel/iommu/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-04-07 11:23:14 +0200
committerHelge Deller <deller@gmx.de>2026-04-07 17:38:07 +0200
commit97df8960240afc47c2349d008b0993e7727bbda5 (patch)
tree27d0e8bf365339335652e27ac8e6756ef6defaca /rust/kernel/iommu/git@git.tavy.me:linux.git
parentc713b96427ce5c4a74b8babe14137451ac3ffe54 (diff)
lib/fonts: Provide helpers for calculating glyph pitch and size
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>
Diffstat (limited to 'rust/kernel/iommu/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions