Apple provides CTFontCopyDefaultCascadeListForLanguages
to get a set of fallback font names
for a certain ISO language code. I want to know how much these vary.
main.swift
is a quick hack to dump a JSON of all codes with the fallbacks. The test assumes Menlo 12.0
as the starting point.
output.json
is the full output from running the swift hack.
Finally I used nodejs to crunch the json to buckets that have different lists of fallbacks. code is in crunch.js
buckets.json
has the result of running the crunch.