Need Fallback Font Support (e.g: for multi/cross language text that contains Chinese AND English) #32396
Labels
Needs: Author Feedback
Needs: Environment Info
Please run `react-native info` and edit your issue with that command's output.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Steps To Reproduce
font-family: 'afont, bfont, ...'
is not availablefontFamily: 'afont, bfont, ...'
doesn't work in RNExpected Results
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.
#25798
edit: we also need character fallback. not a all-or-nothing fallback: https://css-tricks.com/css-basics-fallback-font-stacks-robust-web-typography/
The text was updated successfully, but these errors were encountered: