コード例 #1
0
 public static bool DoesSupportUnicode(
     this Typeface typeface,
     BitposAndAssciatedUnicodeRanges bitposAndAssocUnicodeRange)
 {
     return(DoesSupportUnicode(typeface.Languages, bitposAndAssocUnicodeRange.Bitpos));
 }
コード例 #2
0
 /// <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));
 }
コード例 #3
0
ファイル: InstalledTypeface.cs プロジェクト: ywscr/Typography
 //TODO: UnicodeLangBits vs UnicodeLangBits5_1
 public bool DoesSupportUnicode(BitposAndAssciatedUnicodeRanges bitposAndAssocUnicode) => OpenFontUnicodeUtilExtensions.DoesSupportUnicode(Languages, bitposAndAssocUnicode.Bitpos);