Commit dec52006d939755e38dfc3da6de100f2443d574c

David Corbett 2020-10-10T14:49:55

Map BCP 47 tags to all macrolanguages The general rule is that if a BCP 47 macrolanguage maps to an OpenType language system tag, all its individual languages map to it too. Previously, a tag like "prs" (Dari) would not map to the language system tag ('FAR ') of its macrolanguage ("fa") because "prs" already has its own language system tag ('DRI '). That exception has been removed: now "prs" maps to 'DRI ' and falls back to 'FAR '.