Remove external Google Fonts dependency from Blazor host page#92
Closed
Copilot wants to merge 2 commits into
Closed
Remove external Google Fonts dependency from Blazor host page#92Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
Remove external Google Fonts request
Remove external Google Fonts dependency from Blazor host page
Jun 16, 2026
Copilot created this pull request from a session on behalf of
danielchalmers
June 16, 2026 20:20
View session
6 tasks
Owner
|
After reconsidering this in the context of #91 and the product requirement that the app should use Roboto on all platforms, I do not think we should merge this PR as the startup optimization. Why:
Recommendation: close this PR without merging. If we later want to remove the network dependency while preserving Roboto across all platforms, that should be a separate self-hosted-font PR that adds the needed Roboto web font assets under |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the render-blocking Google Fonts stylesheet from the Blazor host page and uses platform-local fonts for the Blazor UI.
What changed
JournalApp/wwwroot/index.htmlJournalApp/wwwroot/app.cssJournalApp/Pages/MainLayout.razorWhy
fonts.googleapis.com/fonts.gstatic.comAddFontregistersRoboto-Regular.ttffor MAUI controls, but it does not expose that font as a CSS web font inside Blazor'swwwrootValidation
dotnet test F:\source\repos\JournalApp\JournalApp.sln --no-restoreRefs #91.