ToFont() public method

public ToFont ( ) : Font
return System.Drawing.Font
		private void SetListFont(AceFont font)
		{
			if((font != null) && font.OverrideUIDefault)
			{
				m_tvGroups.Font = font.ToFont();
				m_lvEntries.Font = font.ToFont();
				m_richEntryView.Font = font.ToFont();

				Program.Config.UI.StandardFont = font;
			}
			else
			{
				if(UIUtil.VistaStyleListsSupported)
				{
					Font fontUI = UISystemFonts.ListFont;
					m_tvGroups.Font = fontUI;
					m_lvEntries.Font = fontUI;
					m_richEntryView.Font = fontUI;
				}

				Program.Config.UI.StandardFont.OverrideUIDefault = false;
			}

			m_fontExpired = FontUtil.CreateFont(m_lvEntries.Font, FontStyle.Strikeout);
			m_fontBoldUI = FontUtil.CreateFont(m_tabMain.Font, FontStyle.Bold);
			m_fontBoldTree = FontUtil.CreateFont(m_lvEntries.Font, FontStyle.Bold);
			m_fontItalicTree = FontUtil.CreateFont(m_lvEntries.Font, FontStyle.Italic);
		}
        private void SetListFont(AceFont font)
        {
            if((font != null) && font.OverrideUIDefault)
            {
                m_tvGroups.Font = font.ToFont();
                m_lvEntries.Font = font.ToFont();
                m_richEntryView.Font = font.ToFont();

                Program.Config.UI.StandardFont = font;
            }
            else Program.Config.UI.StandardFont.OverrideUIDefault = false;

            m_fontExpired = new Font(m_tvGroups.Font, FontStyle.Strikeout);
        }