Skip to content

Add an Inter font playground to the example app - #977

Merged
Kyle-Ye merged 2 commits into
mainfrom
bugfix/font_modifier
Aug 2, 2026
Merged

Add an Inter font playground to the example app#977
Kyle-Ye merged 2 commits into
mainfrom
bugfix/font_modifier

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Aug 2, 2026

Copy link
Copy Markdown
Member

Summary

  • bundle the Inter 4.1 variable font assets and license with the example apps
  • add a focused FontPlayground covering font providers, modifiers, variable weight and slant combinations, and platform font resolution
  • route the shared ContentView to the playground and register the fonts for the Example, TestingHost, and HostingExample targets

Why

This provides a hands-on example for inspecting font modifier behavior and understanding how SwiftUI font providers resolve platform fonts.

Validation

  • iOS and macOS Swift source type-checking
  • OpenSwiftUI conditional source parsing
  • whitespace validation

@github-actions github-actions Bot added area: example Example apps, previews, sample projects, screenshots, or demo assets. area: text Text, labels, line style, and text rendering APIs. type: feature New API, behavior, platform support, or user-facing capability. labels Aug 2, 2026
@Kyle-Ye
Kyle-Ye force-pushed the bugfix/font_modifier branch from a61da3c to cbdda6d Compare August 2, 2026 20:11
@Kyle-Ye
Kyle-Ye marked this pull request as ready for review August 2, 2026 20:14
@Kyle-Ye
Kyle-Ye merged commit f93efa7 into main Aug 2, 2026
1 of 8 checks passed
@Kyle-Ye
Kyle-Ye deleted the bugfix/font_modifier branch August 2, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: example Example apps, previews, sample projects, screenshots, or demo assets. area: text Text, labels, line style, and text rendering APIs. type: feature New API, behavior, platform support, or user-facing capability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant