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

Improve appearance of curly underlines #18092

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Oct 21, 2024

I saw a tweet about ghostty's pretty underlines and then
looked at ours. They looked worse and that's a no-go.

Validation Steps Performed

Checked with all Windows default fonts at huge and tiny sizes each.

@lhecker lhecker added the Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues label Oct 21, 2024
@lhecker
Copy link
Member Author

lhecker commented Oct 21, 2024

Before 12pt:

image

After 12pt:

image

Before 32pt:

image

After 32pt:

image

Yay / Nay?

We could revert the frequency of the curve, but I'd rather keep the new height calculation.

@DHowett
Copy link
Member

DHowett commented Oct 21, 2024

We should loudly credit ghostty for inspiring us to be better!

Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

What does D2D's undercurl look like?

@DHowett DHowett added the Needs-Discussion Something that requires a team discussion before we can proceed label Oct 21, 2024
@carlos-zamora carlos-zamora removed the Needs-Discussion Something that requires a team discussion before we can proceed label Oct 21, 2024
@lhecker lhecker marked this pull request as draft October 21, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Rendering Text rendering, emoji, complex glyph & font-fallback issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants