shaping, dev: test that the CJK fallback follows the query language #188
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!188
Loading…
Reference in a new issue
No description provided.
Delete branch "shaping/cjk-lang-fallback-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #96.
Adds a Simplified Chinese subset (
--font-number=2, same ideograph) to the pinned test fonts and a fontconfig test: with the query languagejathe face that draws 葛 is Noto Sans CJK JP, withzh-cnit is Noto Sans CJK SC. The test first checks that both faces load and cover 葛, so the result comes from ranking rather than a missing face.The one-ideograph subsets get no
langfrom fontconfig, sotarget="scan"rules tag them as full faces would be. Without the rules thezh-cnhalf fails (zh-cn: Noto Sans CJK JP), which is the install-order regression the test is there to catch.Not covered: the host path where
FcDefaultSubstitutetakes the language from the environment.just checkpasses.