]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
lib/fonts: Refactor glyph-rotation helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 7 Apr 2026 09:23:18 +0000 (11:23 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 7 Apr 2026 15:38:07 +0000 (17:38 +0200)
commita30e9e6b018f40941a626ff77e0bf35c015038fa
tree750655789278c552c0945468fb42fa6c8303140f
parent6ad4ed8408157b1c78f69995c5808d9460fba58d
lib/fonts: Refactor glyph-rotation helpers

Change the signatures of the glyph-rotation helpers to match their
public interfaces. Drop the inline qualifier.

Rename several variables to better match their meaning. Especially
rename variables to bit_pitch (or a variant thereof) if they store
a pitch value in bits per scanline. The original code is fairly
confusing about this. Move the calculation of the bit pitch into the
new helper font_glyph_bit_pitch().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
lib/fonts/font_rotate.c