Multi-Language Font Weight Implementation Options #261
chrisfalaska
started this conversation in
Technical Research Documents
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Multi-Language Font Weight Implementation Options
Prepared by: Chris Freddberg
Prepared on: 09/04/2025
Reviewed on: 09/04/2025
Reviewed by: Auro Engineering, Brandon Shields
Outcome: Option 2
Problem Statement
Our current typography system uses consistent font-weight values across all languages, but visual weight differences between AS Circular and an i18n font such as Noto Sans JP require different actual weights to achieve visual consistency:
We need to implement a solution that maintains design consistency while supporting mixed-language content.
Option 1: CSS Custom Properties with Language Attributes
Implementation
HTML Requirements
Or document-level:
Pros
Cons
Best For
Option 2: Font-Face Weight Mapping ⭐️ Recommended
Re-maps font-weights in the @font-face declarations.
Implementation
Original Japanese font declarations:
Updated weight mapping for visual consistency:
HTML Requirements
No special markup needed:
Pros
Cons
Best For
Option 3: Language-Specific CSS Files
Implementation Structure
Base CSS (alaska.global.css)
All typography styles WITHOUT font-weight declarations:
English CSS (alaska.global.en.css)
Japanese CSS (alaska.global.jp.css)
HTML Implementation
Server-side or build-time language detection:
OR conditional loading:
Build Process Integration
WCSS:
Pros
Cons
Best For
Comparison Matrix
*Option 3 requires explicit language classes for mixed content
Recommendations
⭐ For Mixed-Language Content: Option 2 - Well-Documented Font-Face Mapping
If pages contain mixed English and Japanese text within the same elements:
For Single-Language Sites with Build Systems: Option 3 - Language-Specific CSS Files
If pages have separate language versions and can implement build-time language detection:
Decision Matrix:
Performance
Key takeaways
Resources
Next Steps
All reactions