Skip to content

Comments

Pango: align stride to 4 bytes#142

Merged
kdj0c merged 1 commit intoAetf:mainfrom
kdj0c:fix_pixman_stride
Oct 3, 2025
Merged

Pango: align stride to 4 bytes#142
kdj0c merged 1 commit intoAetf:mainfrom
kdj0c:fix_pixman_stride

Conversation

@kdj0c
Copy link
Collaborator

@kdj0c kdj0c commented Oct 2, 2025

Pixman requires stride to be a multiple of 4 bytes.

It fixes the following bug when using a font width that is not a multiple of 4

*** BUG ***
kmscon[1140]: In create_bits_image_internal: The expression bits == NULL || (rowstride_bytes % sizeof (uint32_t)) == 0 was false

Pixman requires stride to be a multiple of 4 bytes.

It fixes the following bug when using a font width that is not a
multiple of 4

*** BUG ***
kmscon[1140]: In create_bits_image_internal: The expression bits == NULL || (rowstride_bytes % sizeof (uint32_t)) == 0 was false

Signed-off-by: Jocelyn Falempe <[email protected]>
@kdj0c kdj0c merged commit 1275f44 into Aetf:main Oct 3, 2025
1 check passed
@kdj0c kdj0c deleted the fix_pixman_stride branch October 10, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant