Beispiel #1
0
        private object ResolveFont(FCSFont f)
        {
            if (m_fontTable == null)
                return f;

            f.Number = m_fontTable.Fonts.Count;
            return f;
        }
Beispiel #2
0
 void ResolveCharSet(FCSFont fFont)
 {
     if (string.IsNullOrEmpty(fFont.CharSet))
     {
         fFont.CharSetId = 0;
     }
     else
     {
         fFont.CharSetId = Int32.Parse(fFont.CharSet, System.Globalization.NumberStyles.HexNumber, System.Globalization.CultureInfo.InvariantCulture);
     }
 }