Skip to content

Latest commit

 

History

History
112 lines (75 loc) · 3.61 KB

DENSE_TALL.md

File metadata and controls

112 lines (75 loc) · 3.61 KB

Dense and tall scripts

Collections

We provide the necessary adjustments for the predefined collections for both dense and tall scripts. They have the exact same properties as the other collections.

You can check the language categories reference in the Material Design page.

Material Design

import { materialDense, materialTall } from 'react-native-typography'

The adjustments made are based on the Material Design guidelines for dense and tall scripts.

Material Design Dense

Material Design Tall

Human Interface Guidelines

import { humanDense, humanTall } from 'react-native-typography'

The adjustments here are minor and just to ensure proper rendering on all platforms.

Human Interface Guidelines Dense

Human Interface Guidelines Tall

iOSUIKit

import { iOSUIKitDense, iOSUIKitTall } from 'react-native-typography'

The adjustments here are minor and just to ensure proper rendering on all platforms. iOSUIKit Dense iOSUIKit Tall

Weight helpers

The weight helpers for dense and tall scripts are different, as they render using different fonts and weights on each platform.

On iOS the San Francisco font is used for all scripts.

On Android the Noto font is used to render the dense and tall scripts, in two variants.

The System weights render visually similar weights of the San Francisco/Noto typefaces on each platform.

System Dense Weights

import { systemDenseWeights } from 'react-native-typography'

Not all dense languages have every weight in iOS or on Android, we try to match it to the closer existing value, but ultimately every weight might fall back to regular or bold depending on what's available.

System Dense Weights iOS

System Dense Weights Android

System Tall Weights

import { systemTallWeights } from 'react-native-typography'

Noto Sans only has two weight values for tall scripts, so we fall back to the closest value. For iOS there are some other weights available depending on the language.

System Tall Weights iOS

System Tall Weights Android

Noto CJK Weights

import { notoCJKWeights } from 'react-native-typography'

These weights are only functional on Android, as they directly reference the native Noto CJK typeface.

Noto Sans CJK has seven weight values originally, but they are not shipped with Android for now, so we only have regular and bold.

Noto CJK Weights

Noto Tall Weights

import { notoTallWeights } from 'react-native-typography'

These weights are only functional on Android, as they directly reference the native Noto typeface.

For the tall scripts there is only regular and bold available.

Noto Tall Weights