private object ResolveFont(FCSFont f) { if (m_fontTable == null) return f; f.Number = m_fontTable.Fonts.Count; return f; }
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); } }