Skip to content

Fix/font alignment#10763

Draft
andrewsavage1 wants to merge 2 commits into
youtube:mainfrom
andrewsavage1:fix/font-alignment
Draft

Fix/font alignment#10763
andrewsavage1 wants to merge 2 commits into
youtube:mainfrom
andrewsavage1:fix/font-alignment

Conversation

@andrewsavage1
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

🤖 Gemini Suggested Commit Message


starboard: Fix font alignment and caching

Implement mapping for generic font families to ensure correct visual
intent on platforms with limited system fonts. This prevents layout
crashes and ensures fallbacks maintain the desired style.

Introduce a thread-local cache for fallback font platform data to
reduce redundant object creation and improve performance. This includes
memory pressure listeners to purge caches under resource constraints.
Additionally, fix a memory leak in the font configuration parser where
allocated family info was not properly deleted.

Bug: 10763

💡 Pro Tips for a Better Commit Message:

  1. Influence the Result: Want to change the output? You can write custom prompts or instructions directly in the Pull Request description. The model uses that text to generate the message.
  2. Re-run the Generator: Post a comment with: /generate-commit-message

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.

1 participant