public void Init() { ff = new Font("times"); ff.AddFontSurface(new FontSettings(8, FontStyles.None), FontSurface.FromImpl(new FakeFontSurface() { Height = 8 })); ff.AddFontSurface(new FontSettings(8, FontStyles.Bold), FontSurface.FromImpl(new FakeFontSurface { Height = 8 })); ff.AddFontSurface(new FontSettings(10, FontStyles.None), FontSurface.FromImpl(new FakeFontSurface { Height = 10 })); ff.AddFontSurface(new FontSettings(10, FontStyles.Bold), FontSurface.FromImpl(new FakeFontSurface { Height = 10 })); }