Repository navigation
docs(sdk7): custom fonts on mobile, Google Fonts family names, support by client - #261
Open
EibrielInv wants to merge 1 commit into
Open
EibrielInv wants to merge 1 commit into
EibrielInv wants to merge 1 commit into
Conversation
EibrielInv
marked this pull request as ready for review
November 6, 2026 19:53
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.
What
Completes the custom fonts (
fontSrc) docs for #238, on top of #239.mainsaid the mobile app ignoresfontSrcand that font family names aren't supported anywhere. Mobile now supports custom fonts (decentraland/godot-explorer#3132, which closed godot-explorer#3092), and both mobile and Bevy resolve Google Fonts family names.Closes #238
Changes
creator/sdk7/3d-essentials/text.md→ Custom fonts:fontSrctakes a scene.ttfpath or a Google Fonts family name; new'Playfair Display'example..ttf/ family name. All three applyfontSrcto TextShape and UI Label, Button, Input, Dropdown..ttfdetected from file contents; 16 MB on desktop and mobile.creator/sdk7/2d-ui/ui_text.md→ Custom fonts: same in short form, Label example with a family name, mobile bullet replaced.creator/sdk7/2d-ui/ui_special_types.md:fontSrcdescription mentions family names.creator/build-for-mobile/mobile-client/missing-features.md: removed the custom fonts row.Not touched: the Fonts intro in
text.md(#246 rewrites it). ThefontSrcproperty line sits next to #246'sfontSizefix, so a small conflict is possible.Source of truth
Read from code:
dev)main)main).ttflib/crates/dcl_engine/src/content/font.rs.StreamableLoading/Fonts/FontSrcResolver.cs,LoadFontSystem.cs.crates/scene_runner/src/update_world/fonts.rs.For reviewers
creator-esp) has no custom fonts content yet. That's a separate follow-up.Checks
npm test,check:links,check:anchorsandcheck:navigationpass. The new examples type-check against@dcl/sdk@7.33.0.