Repository navigation
fix(mobile): Vietnamese letters stay bold in bold text on Android - #40205
Conversation
DM Sans has no Vietnamese precomposed glyphs, so Android draws them from a fallback font picked at the requested weight. React Native asks for the DMSans-Bold family at weight 400, so those letters came out regular inside bold words. Bold text now asks for the bold weight on Android: the font-t3-bold token, Markdown strong spans and Markdown headings. The DMSans-Bold family also maps weight 400 to the bold file, so the Markdown renderer's relative bold step lands on 700 instead of synthesizing a double bold. Fixes #40180 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Findings from an agent that worked #40180. I did not reproduce this on a device, and I ran no tests.
— Claude, agent on #40180 |
**v0.1.12-nightly.20261121.5051** · 38 changes from 9 contributors - **Queued slash commands.** Send slash commands while an agent is working without having to resend them after the turn. - **Full file names.** Hover over truncated names in the Files tree to see the full file or folder name. - **Faster change reviews.** Changes and Diff panels load with less repeated work, especially in large repositories. - **Faster Git actions.** Committing, pushing, and pulling spend less time scanning large working trees. - **Floating device preview.** The floating device preview stays connected when you switch threads. - **Faster worktree removal.** Deleting a thread and its worktree no longer waits for a redundant status refresh. ### Plus 24 more bug fixes and performance improvements. <details> <summary>Full changelog</summary> ## What's Changed * fix(mobile): Vietnamese letters stay bold in bold text on Android by @juliusmarminge in pingdotgg/t3code#40205 * fix(desktop): preview tabs drop a destroyed webview's WebContents by @juliusmarminge in pingdotgg/t3code#40177 * fix(acp): persist context usage reported after a turn ends by @juliusmarminge in pingdotgg/t3code#40220 * perf(server): complete Changes preview reuses its tracked-only pass by @juliusmarminge in pingdotgg/t3code#40211 * feat(server): add a TanStack Source forge and issue tracker behind T3CODE_TANSTACK_SOURCE by @juliusmarminge in pingdotgg/t3code#40207 * perf(server): remote status polls read HEAD, upstream and remotes once by @juliusmarminge in pingdotgg/t3code#40162 * fix(client-runtime): opening the Diff panel reads each file patch once by @juliusmarminge in pingdotgg/t3code#40217 * fix(web): floating device preview keeps its stream across thread switches by @juliusmarminge in pingdotgg/t3code#40240 * fix(web): show update progress at the default sidebar width by @shivamhwp in pingdotgg/t3code#40242 * fix(web): inline file and thread chips can be removed during dictation by @juliusmarminge in pingdotgg/t3code#40252 * fix(web): typing and pasting no longer write into the read-only composer during dictation by @juliusmarminge in pingdotgg/t3code#40253 * fix(server): per-file diff reads reuse the preview's merge base by @juliusmarminge in pingdotgg/t3code#40216 * fix(acp-registry): reinstall the current version when a cached build was removed upstream by @juliusmarminge in pingdotgg/t3code#40261 * fix(server): Claude's answer before a late-read steer stays visible by @juliusmarminge in pingdotgg/t3code#40265 * fix(web): RTF previews hide tracked deletions by @geezoria in pingdotgg/t3code#40264 * perf(server): an untracked file's Diff panel patch no longer copies the whole Git index by @juliusmarminge in pingdotgg/t3code#40268 * perf(server): status of a repository without a remote skips remote lookups by @juliusmarminge in pingdotgg/t3code#40277 * fix(forgejo): issue links on a self-hosted Forgejo hostname resolve by @turnercore in pingdotgg/t3code#40271 * fix(web): switching threads no longer restarts the Changes and git status reads by @juliusmarminge in pingdotgg/t3code#40215 * fix(web): clipped Files tree names show the full name on hover by @juliusmarminge in pingdotgg/t3code#40308 * fix(cli): update Windows launchers outside PATH by @gero3 in pingdotgg/t3code#40309 * fix(server): typed-message commits stage the worktree once by @shivamhwp in pingdotgg/t3code#40282 * perf(server): a tracked file's Diff panel patch skips the untracked-file listing by @juliusmarminge in pingdotgg/t3code#40304 * fix(mobile): mark the linked line in the native source viewer by @juliusmarminge in pingdotgg/t3code#40295 * fix(server): slash commands sent during a turn wait instead of steering by @shivamhwp in pingdotgg/t3code#40316 * perf(server): push and commit-and-push read the full git status once instead of three times by @juliusmarminge in pingdotgg/t3code#40305 * fix(server): ACP session/load replay no longer pins background work by @juliusmarminge in pingdotgg/t3code#40328 * fix(mobile): confirming a push to the default branch no longer opens the thread a second time by @arifali123 in pingdotgg/t3code#40311 * fix(opencode): Usage → Limits shows why OpenCode could not read usage by @juliusmarminge in pingdotgg/t3code#40340 * perf(server): deleting a thread's worktree refreshes git status once, not twice by @juliusmarminge in pingdotgg/t3code#40337 * fix(antigravity): accept null skill manifest lists by @Lucenx9 in pingdotgg/t3code#40287 * fix(mobile): text selection menu items follow the UI language by @panol in pingdotgg/t3code#40297 * perf(server): pull no longer scans the working tree twice by @juliusmarminge in pingdotgg/t3code#40338 * fix(server): Antigravity Orchestrator usage prices at the base Gemini 4 rate by @juliusmarminge in pingdotgg/t3code#40352 * fix(server): treat a branch rename as done when Git moved the ref but kept the config locked by @juliusmarminge in pingdotgg/t3code#40361 ## New Contributors * @turnercore made their first contribution in pingdotgg/t3code#40271 * @gero3 made their first contribution in pingdotgg/t3code#40309 **Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261121.5038...v0.1.12-nightly.20261121.5051 </details> Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261121.5051
On Android, Vietnamese letters with diacritics (ỉ, ị, ệ, ạ, ư, ợ…) rendered at regular weight inside bold text, because DM Sans lacks those glyphs and Android picked the fallback font at the weight React Native requested: 400. Bold text now asks for the bold weight on Android, so the fallback letters come out bold too.
font-t3-boldtoken setsfont-weight: 700.EnrichedMarkdownTextrequestboldon Android (iOS unchanged).DMSans-Boldfont family maps weight 400 to the bold file as well, so the Markdown renderer's relative bold step lands on the real 700 face instead of a synthesized double bold.Fixes #40180
Reproduction on main
Commit 3f5492f (origin/main). Locally edited (not committed) apps/server/scripts/dev-replay/showcase_transcript.ndjson so a replayed assistant message contained 'Chỉ đổi mỗi tên hiển thị, không làm thanh Limits tự hiện lại đâu, biểu tượng cái phễu', a regular-weight copy, and a bold Latin line. Ran
T3CODE_DEV_SEED=0 vp run dev:server --host 0.0.0.0on a fresh database, added a project and started a thread withthread start --provider devReplay --model showcase, started Metro (vp run dev:client), leased a Pixel 9 (API 36) Android emulator from the device pool, installed the cached dev client, paired it with test-t3-mobile's pair-client.sh, opened the thread and expanded 'Worked for'. Seen: inside the bold span, ỉ, ị, ự, ệ, ạ, ợ and ễ render at regular weight while the surrounding letters in the same words are bold; the bold Latin line renders evenly. Screenshot: https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/c4d03da09ddd0f21/crop.png (full screen: https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/533862905e402461/s6.png). fontTools confirms DMSans_400Regular/500Medium/700Bold.ttf from @expo-google-fonts/dm-sans 0.4.2 lack ư ạ ậ ể ễ ệ ỉ ị ổ ỗ ớ ợ ừ ự.Evidence
Manual native-app proof for #40180. On each commit, seed the identical showcase replay on a fresh database, install that commit’s native client, pair and open the completed thread. Inspect the reported bold phrases, regular copies, bold Latin, H2/H3 headings and affected-glyph rows. Then visit Appearance, the @babel/code-frame license detail and UI components → Controls.
Environment: Pixel 9, Android API 36, 1080×2424; iPhone 17 Pro, iOS 27.2, 1206×2622. Both use light T3 Code theme, default text size and keyboard down. Each evidence frame matches a second capture taken after a 500 ms pause. iOS images crop changing status-bar chrome; Controls also crops before the catalog’s animated Loading example. Crops use matching coordinates on both commits.
Android base shows regular-weight fallback letters inside bold phrases and headings; head renders them bold. Regular and Latin controls remain correct. iOS and the captured non-chat contexts show no visible weight regression.
Replay seed, capture driver, iOS crop/stability driver, reproduction instructions, original screenshot pairs, sanitized runtime logs.
Not shown:
Tests
vp run typecheck(apps/mobile): passed, 0 errorsvp run check:changed: format, lint, knip, typecheck (2 packages) and test (1 file) passed; the react compiler check hit its 900s timeout (killed, not a check failure)Not in this change
Who did the work
Run by the t3code factory in T3 Code.