Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fb: cfb: Remove the restriction for not x8 heights fonts #67883

Closed

Conversation

soburi
Copy link
Member

@soburi soburi commented Jan 21, 2024

The logic introduced in #67881 can also handle fonts with heights other than x8.
Remove the restriction.

I broke the rendering of the CFB_FONT_MSB_FIRST font in
the previously committed zephyrproject-rtos#53796.
I will correct the entire font rendering process to make it
easier to remove the restriction that the vertical size of
the font must be a multiple of 8.

Signed-off-by: TOKITA Hiroshi <[email protected]>
Add testcases for testing basic CFB functions.

This tests cannot run in CI because CI environment has no display.
Mark these tests as `build_only`.

Signed-off-by: TOKITA Hiroshi <[email protected]>
The logic introduced in zephyrproject-rtos#67881 can also handle fonts with heights
other than x8. Remove the restriction.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi added the DNM This PR should not be merged (Do Not Merge) label Jan 21, 2024
Add testcases for 1x1 and 11x13 fonts.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the remove_font_size_restriction branch from d82ad83 to 37cdad9 Compare January 21, 2024 14:26
@soburi soburi closed this Jan 29, 2024
@soburi soburi deleted the remove_font_size_restriction branch February 5, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNM This PR should not be merged (Do Not Merge)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant