Font.ttf.cmap.score: def of gralha-truetype@0.1.0.1 Import: import gralha-truetype@0.1.0.1/font.bend as Font Lines 651-656 of gralha-truetype@0.1.0.1/font.bend: https://jend.leeeet.dev/read.txt?path=gralha-truetype@0.1.0.1/font.bend&start_line=651&end_line=656 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def ttf.cmap.score(+platform: U32, +encoding: U32) -> U32: U.choose(U32, U32.is_eq(platform, 3) && U32.is_eq(encoding, 10), 6, U.choose(U32, U32.is_eq(platform, 0) && U32.is_eq(encoding, 6), 5, U.choose(U32, U32.is_eq(platform, 0) && U32.is_eq(encoding, 4), 4, U.choose(U32, U32.is_eq(platform, 3) && U32.is_eq(encoding, 1), 3, U.choose(U32, U32.is_eq(platform, 0) && U32.is_eq(encoding, 3), 2, U.choose(U32, U32.is_eq(platform, 0), 1, 0)))))) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=choose