public static bool DoesSupportUnicode( this Typeface typeface, BitposAndAssciatedUnicodeRanges bitposAndAssocUnicodeRange) { return(DoesSupportUnicode(typeface.Languages, bitposAndAssocUnicodeRange.Bitpos)); }
/// <summary> /// if the typeface support specific range or not /// </summary> /// <param name="previewFontInfo"></param> /// <param name="range"></param> /// <returns></returns> public static bool DoesSupportUnicode( this PreviewFontInfo previewFontInfo, BitposAndAssciatedUnicodeRanges bitposAndAssocUnicodeRange) { return(DoesSupportUnicode(previewFontInfo.Languages, bitposAndAssocUnicodeRange.Bitpos)); }
//TODO: UnicodeLangBits vs UnicodeLangBits5_1 public bool DoesSupportUnicode(BitposAndAssciatedUnicodeRanges bitposAndAssocUnicode) => OpenFontUnicodeUtilExtensions.DoesSupportUnicode(Languages, bitposAndAssocUnicode.Bitpos);