Font status: assert untagged CJK fallback reaches SC
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
@@ -24,4 +24,13 @@ else
|
||||
failures=$((failures + 1))
|
||||
fi
|
||||
|
||||
# Untagged requests (Chromium/Electron path) must reach SC before JP/KR
|
||||
untagged=$(fc-match --sort sans-serif | grep -m1 -oE 'CJK (SC|JP|TC|KR|HK)' || true)
|
||||
if [[ $untagged == "CJK SC" ]]; then
|
||||
echo "PASS fallback: untagged CJK -> SC"
|
||||
else
|
||||
echo "FAIL fallback: untagged CJK -> ${untagged:-none} (expected SC)"
|
||||
failures=$((failures + 1))
|
||||
fi
|
||||
|
||||
exit $((failures > 0 ? 1 : 0))
|
||||
|
||||
Reference in New Issue
Block a user