Skip to content

Conversation

@ColdPaleLight
Copy link
Contributor

@ColdPaleLight ColdPaleLight commented Dec 3, 2024

Fix issue: #258

Previous mapping was incorrect, using [-1, 1] to [0, 8]. Based on the values ranging from 'kCTFontWidthExtraCompressed' (-0.4) to 'kCTFontWidthUltraExpanded' (0.4), the corrected conversion maps CoreText font width values from [-0.4, 0.4] to [0, 8]

Copy link
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Thanks for investigating this!

@jdm jdm enabled auto-merge December 3, 2024 14:55
@jdm jdm closed this Dec 3, 2024
auto-merge was automatically disabled December 3, 2024 14:56

Pull request was closed

@jdm jdm reopened this Dec 3, 2024
@jdm
Copy link
Member

jdm commented Dec 3, 2024

I'm confused why CI isn't starting.

@mrobinson
Copy link
Member

mrobinson commented Dec 3, 2024

I'm confused why CI isn't starting.

I think the workflow just needs to be approved since @ColdPaleLight isn't in the contributors group. I've gone ahead and approved the workflow run.

@jdm
Copy link
Member

jdm commented Dec 3, 2024

Bleach, the formatting on our main branch is busted. Would you mind pulling 99e9918 into your branch to allow CI to pass?

Previous mapping was incorrect, using [-1, 1] to [0, 8]. Based on the values ranging from 'kCTFontWidthExtraCompressed' (-0.4) to 'kCTFontWidthUltraExpanded' (0.4), the corrected conversion maps CoreText font width values from [-0.4, 0.4] to [0, 8]
@ColdPaleLight
Copy link
Contributor Author

Bleach, the formatting on our main branch is busted. Would you mind pulling 99e9918 into your branch to allow CI to pass?

Done

@jdm jdm enabled auto-merge December 4, 2024 03:51
@jdm jdm added this pull request to the merge queue Dec 4, 2024
Merged via the queue into servo:main with commit d49041c Dec 4, 2024
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.

3 participants