Skip to content

Commit

Permalink
#334 Checked U16 CJK
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercury13 committed Aug 24, 2024
1 parent 7861c4a commit 62742e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions AutoBuilder/data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1986,12 +1986,9 @@ const std::set<RangeByEnd> alternateRanges {
{ 0x266D, 0x266F }, // Misc — use Funky font on musical symbols
{ 0x2C7C }, // Clipped below in Cambria
// BS = BabelStone, SimSun = built-in Windows font, G = mainland China, T = Taiwan?
{ 0x3C43 }, // CJK A: a single char redrawn in U15 and already present in BS
{ 0x20048 }, // CJK B, some diffs between versons, want G (BS)
{ 0x22ACF }, // A single char redrawn in U15 and already present in BS
{ 0x23F4E }, // 23F4E is G U3, SimSun shows T, BS OK
{ 0x26E30 }, // 26E30 is G U3, SimSun shows T, BS OK
{ 0x2B92C }, // CJK E: redrawn in U16, BS OK (parallel lines)
// As BS is now primary font, destroying everything
{ 0x2561E }, // CJK B: BS drew a hypotethical Chinese version
{ 0x256A1 }, // CJK B: SimSun-B drew more canonical glyph

// Mathematical: Cambria → Funky
{ 0x220F, 0x2211 }, // Big sums and products
Expand Down
2 changes: 1 addition & 1 deletion Unicodia/Uc/UcFonts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ constinit const uc::Font uc::fontInfo[] = {
{ "NotoSansCherokee-Regular.ttf" }, // Cherokee
{ "NotoSansChorasmian-Regular.ttf" }, // Chorasmian
// CJK chars are square, and there’s always not enough detail → bigger
{ FNAME_BABEL, Ffg::NOHINT_TINY | Ffg::FALL_TO_NEXT, 120_pc }, // …CJK
{ FNAME_BABEL, Ffg::NOHINT_TINY | Ffg::FALL_TO_NEXT | Ffg::BUG_AVOID, 120_pc }, // …CJK
{ "SimSun-ExtB", Ffg::NOHINT_TINY | Ffg::FALL_TO_NEXT, 120_pc }, // …1
{ "Microsoft YaHei", Ffg::FALL_TO_NEXT, 120_pc }, // …2
{ FNAME_HANA_C, Ffg::FALL_TO_NEXT, 120_pc }, // …3
Expand Down

0 comments on commit 62742e2

Please sign in to comment.