GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ios): resolve computed weights for variable fonts by aleclarson · Pull Request #11619 · NativeScript/NativeScript

Conversation

@aleclarson

@aleclarson aleclarson commented Nov 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

User-visible bug

Apps often bundle one variable font file to show regular body text, semibold labels, and medium-weight form fields. On iOS, these can all appear too thin because CSS font-weight leaves the font at its default instance.

For example, SN Pro defaults to weight 200 (ExtraLight):

App styling Before After
Normal text (400) 200 400
Semibold label (600) 200 600
Medium text input or text area (500) 200 500

Authors should be able to use ordinary CSS classes and inherited weights without also writing low-level font-variation-settings for every control.

Fixes #11618.

Change

  • Apply the computed CSS weight to the font's supported wght axis, including normal/400 defaults.
  • Keep explicit variation settings in control, preserve other axes and font traits, and clamp weights to the font's range.
  • Cover labels, text fields, and text views through the shared iOS font resolver. Static fonts retain their existing selection.

Validation

  • Passed: core build, 643 unit tests (1 skipped), formatting, and focused native-test typecheck.
  • Added: native SN Pro regressions for defaults, classes, inheritance, retained-control updates, explicit-axis removal, and font scaling.
  • Device evidence: equivalent downstream tests passed on an iOS 27 simulator. The new upstream automated-device tests have not been run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aleclarson
fix(ios): resolve computed weights for variable fonts
7b7f8b9
@nx-cloud

nx-cloud Bot commented Nov 6, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 7b7f8b9

Command Status Duration Result
nx run-many --target=test --configuration=ci --... ✅ Succeeded 3s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-11-06 05:36:34 UTC

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nx-cloud

nx-cloud Bot commented Nov 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 7b7f8b9

Command Status Duration Result
nx test apps-automated -c=android ✅ Succeeded 2m 51s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded 6s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-11-06 05:41:01 UTC

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pkg-pr-new

pkg-pr-new Bot commented Nov 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nativescript/core@11619
npm i https://pkg.pr.new/@nativescript/vite@11619
npm i https://pkg.pr.new/@nativescript/webpack@11619

commit: 7b7f8b9

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

iOS variable fonts ignore computed font-weight and normal weight defaults

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@aleclarson
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.