Skip to content

Fallback Fonts Support? #25798

@ericpzh

Description

@ericpzh

React Native version: sdk-33.0.0

System:
  OS: Windows 10
Binaries:
  Node: 12.6.0 
  Yarn: 1.15.2 
  npm: 6.9.0 

Steps To Reproduce

  1. equivalent of font-family: 'afont, bfont, ...' is not available
  2. fontFamily: 'afont, bfont, ...' doesn't work in RN

Describe what you expected to happen:

For RN, there is not a css equivalent of fallback fonts. This make cross-language custom font very difficult as chinese-character-font.otf can't be used at the same time as 'korean-character-font.otf'. If there is a sentence composed by App user containing both Chinese, Korean, Japanese, ... characters, there's just not a way to deal with those within a single

Snack, code example, screenshot, or link to a repository:

Is there any potential update to support this function? It would be very helpful if there is an existing workaround though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugStaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions