iced icon indicating copy to clipboard operation
iced copied to clipboard

Tail of g doesn't show on certain window sizes.

Open thunderstorm010 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Is this issue related to iced?

  • [X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?

image As in the image, the tail of the "g" of "config" doesn't show in this window size. image But when I slightly change the window size, the tail of g is visible again. I've also tried advanced shaping, but nothing changed.

Code:

                container(column![text("Failed to read the config file.").size(30), text(err).shaping(text::Shaping::Advanced)]).width(Length::Fill).height(Length::Fill).center_x().center_y().into()

What is the expected behavior?

Expecting that the tail would be visible when the text itself is also visible. This issue seems to happen because the tail of "g" overflows the bounding box.

Version

master

Operating System

Windows

Do you have any log output?

No response

thunderstorm010 avatar Jan 23 '24 14:01 thunderstorm010

This is a known issue blocked by https://github.com/pop-os/cosmic-text/issues/70.

dtzxporter avatar Jan 23 '24 18:01 dtzxporter