BLF: Better Specification of CJK Font Unicode Coverage #120676

Merged
Harley Acheson merged 1 commits from Harley/blender:ChineseFontDetails into main 2024-04-15 21:37:51 +02:00

1 Commits

Author SHA1 Message Date
Harley Acheson 52e9ae2987 BLF: Better Specification of CJK Font Unicode Coverage
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
For our built-in fonts (in our stack) we specify the Unicode page
coverage that they support, to avoid loading fonts unnecessarily to see
if they have a particular character.  This way we skip over fonts to
get to symbols, etc. With our CJK (Chinese, Japanese, Korean) font
though we are using the supplied coverage bit values, which includes
more than we want. We only want to load this font for CJK-related pages
to ensure that we use more tailored fonts for other specific languages
and uses later in the font stack.
2024-04-15 12:07:56 -07:00