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

fix(freetpye): fix the problem of incomplete font drawing when setting with italic #5807

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

W-Mai
Copy link
Contributor

@W-Mai W-Mai commented Mar 6, 2024

Description of the feature or fix

Before:

image

After:

image

Notes

FASTSHIFT
FASTSHIFT previously approved these changes Mar 6, 2024
@@ -250,6 +250,11 @@ void lv_freetype_italic_transform(FT_Face face)
FT_Set_Transform(face, &matrix, NULL);
}

int32_t lv_freetype_italic_transform_on_pos(lv_point_t point)
{
return point.x + FT_F16DOT16_TO_INT(point.y * 0x5800);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This 0x5800 special value can be defined using a macro

@XuNeo XuNeo merged commit 11af912 into lvgl:master Mar 7, 2024
16 checks passed
lion2tomato pushed a commit to lion2tomato/lvgl that referenced this pull request Mar 19, 2024
…g with italic (lvgl#5807)

VELAPLATFO-27766

Change-Id: I210db2eab18b4b1cf177c1e68cc2091885c1afc3
Signed-off-by: xinbingnan<xinbingnan@xiaomi.com>
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.

None yet

3 participants