/// <summary> /// Returns a coverage info provider for the specified font family. /// </summary> public static IFontCoverage GetFontCoverage(IdeoFamily fam) { if (fam == IdeoFamily.Noto) { return(new FontCoverageFull()); } else if (fam == IdeoFamily.ArphicKai) { return(cvrArphic); } else if (fam == IdeoFamily.WinKai) { return(new CvrBinary(winCoverage)); } else { throw new Exception("Forgotten family: " + fam.ToString()); } }
/// <summary> /// Returns a coverage info provider for the specified font family. /// </summary> public static IFontCoverage GetFontCoverage(IdeoFamily fam) { if (fam == IdeoFamily.Noto) return new FontCoverageFull(); else if (fam == IdeoFamily.ArphicKai) return cvrArphic; else if (fam == IdeoFamily.WinKai) return new CvrBinary(winCoverage); else throw new Exception("Forgotten family: " + fam.ToString()); }