# Fonts for Infor Design System

For detailed typography guidelines, see our [typography documentation](https://oxford.awsdev.infor.com/infor-design/enterprise/-/blob/main/src/components/typography/readme.md?ref_type=heads).

## Font Overview

## Font Overview

**Source Sans Pro** - Primary UI font designed for user interfaces. Use the version in this repo, not the newer Source Sans 3 or web versions.

**Source Code Pro** - Monospace font for code blocks and syntax highlighting.

**Language-Specific Fonts** - Source Sans Pro substitutes for extended language support:
- **Assistant** - Hebrew and Latin support
- **Mada** - Arabic and Latin support
- **Sarabun** - Thai and Latin support
- **Noto Sans** - Extended Latin, Greek, Cyrillic support
- **Noto Sans JP** - Japanese (Hiragana, Katakana, Kanji) and Latin
- **Noto Sans KR** - Korean (Hangul) and Latin
- **Noto Sans SC** - Chinese Simplified and Latin
- **Noto Sans TC** - Chinese Traditional and Latin

**Inter** - Included for future theme development and testing.

## Web App Integration

⚠️ **Avoid Google Fonts CDN** due to:
- GDPR compliance issues
- Offline application requirements
- Regional access restrictions

### Recommended Setup

1. **Host fonts locally**: Serve all `woff2` files from your server with caching enabled
2. **Include CSS**: Add `font-face.css` before your theme CSS

```html
<link rel="stylesheet" href="/css/font-face.css" />
<link rel="stylesheet" href="/css/theme-new-light.css" />
```

### Development/Testing Only
For quick testing, you can use the CDN:

```html
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600&display=swap" rel="stylesheet" />
```

## Design Tool Installation

For accurate font rendering in design tools, install the OTF versions:

- **macOS**: Install from `/font/OTF/` using [Font Book](http://support.apple.com/kb/HT2509)
- **Windows**: Follow [Windows font installation](http://windows.microsoft.com/en-us/windows-vista/install-or-uninstall-fonts)
- **Linux**: See [installation guide](https://github.com/adobe-fonts/source-code-pro/issues/17#issuecomment-8967116)

## Additional Resources

- [Source Sans Pro documentation](http://www.adobe.com/products/type/font-information/source-sans-pro-readme.html)
- [Typography implementation details](https://oxford.awsdev.infor.com/infor-design/enterprise/-/blob/main/src/components/typography/_typography-new.scss?ref_type=heads#L6)
- License: See `OFL.txt`
