Exemplo n.º 1
0
 private static Boolean CharExists(String text, BaseFont baseFont)
 {
   if (String.IsNullOrWhiteSpace(text))
     return true;
   foreach (int c in text)
   {
     if (c == 0x00 || c == 0x0d || c == 0x0a)
       continue;
     if (!baseFont.CharExists(c))
       return false;
   }
   return true;
 }
Exemplo n.º 2
0
 public override bool CharExists(int c)
 {
     if (cjkMirror != null)
     {
         return(cjkMirror.CharExists(c));
     }
     else if (isType0)
     {
         return(metrics.ContainsKey((int)c));
     }
     else
     {
         return(base.CharExists(c));
     }
 }