GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — fix(android): map font-weight to the wght axis for custom fonts on API 26+ by aleclarson · Pull Request #11514 · NativeScript/NativeScript Conversation
Contributor
PR Checklist
What is the current behavior?On Android API 26+, custom fonts loaded from files ignore CSS What is the new behavior?
Fixes #11513
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…I 26+ Variable fonts loaded from files ignored CSS font-weight: the Typeface Builder received only explicit font-variation-settings, so font-weight: 700 rendered at the font's default weight. The typeface cache key also lacked the weight, so two weights of the same family would collide once the axis is honored. Inject a wght axis entry derived from fontWeight unless the caller set wght explicitly, include fontWeight in the cache key, and retry with the caller's explicit settings when the augmented build throws (font lacking the wght axis). Closes NativeScript#11513
|
There was an error while loading. Please reload this page.
|
View your CI Pipeline Execution ↗ for commit f2843f7
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
commit: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Filed upstream PRs for the five patch-audit fixes and recorded them via a new upstreamPR field on the manifest entries: - nativescript-community/octane#14 — setProp undefined-skip, visibility capability, intrinsic ref types - nativescript-community/octane#15 — vite-octane .tsrx HMR matching and recipients counting - nativescript-community/ui-image#69 — iOS prefetch cacheType + headers - nfrasser/linkifyjs#572 — ICU-free \p{} regex construction - meta/lexical#9334 — @lexical/link URL_REGEX via new RegExp - NativeScript/NativeScript#11514 — font-weight → wght axis mapping on Android (issue #11513)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
fix(core): Android font-weight is ignored for custom fonts on API 26+ (no wght axis mapping)
There was an error while loading. Please reload this page.