mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
CMAP tables are a component of fonts which map character codes to glyph indices used in the font. In cases where this is missing for a font that we attempt to load, there is not much gained by logging this. It's also a common source of false positive bug reports and bug reports with misleading symptoms in Flutter, such as https://github.com/flutter/flutter/issues/78929 Instead of logging the error, simply suppress it, since it's not actionable by the user. CMAP Reference: https://docs.microsoft.com/en-us/typography/opentype/spec/cmap