/// <summary> /// Returns true of display font covers all Hanzi in entry; false otherwise. /// </summary> private bool areHanziCovered(string simp, string trad) { // Simplified headword foreach (char c in simp) { if (!cvr.GetCoverage(c).HasFlag(FontCoverageFlags.Simp)) { return(false); } } // Traditional headword foreach (char c in trad) { if (!cvr.GetCoverage(c).HasFlag(FontCoverageFlags.Trad)) { return(false); } } return(true); }