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

Simplify FontHandle and rename it to PlatformFont #32101

Merged
merged 3 commits into from Apr 17, 2024

Conversation

mrobinson
Copy link
Member

Rename it to PlatformFont and move the FontTemplate member to
Font, because it's shared by all platforms.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because this is a small refactor.

@mrobinson mrobinson force-pushed the clean-up-font-handle branch 2 times, most recently from 84342a2 to 0bbd6e3 Compare April 17, 2024 10:08
@mrobinson mrobinson requested a review from mukilan April 17, 2024 11:29
Rename it to `PlatformFont` and move the `FontTemplate` member to
`Font`, because it's shared by all platforms.
components/gfx/platform/freetype/font.rs Outdated Show resolved Hide resolved
Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
@mrobinson mrobinson added this pull request to the merge queue Apr 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 17, 2024
@mrobinson mrobinson added this pull request to the merge queue Apr 17, 2024
Merged via the queue into servo:main with commit 5393d30 Apr 17, 2024
9 checks passed
@mrobinson mrobinson deleted the clean-up-font-handle branch April 17, 2024 18:44
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

2 participants