void ParserFont(string text)
            {
                ++startPos;

                // 字体
                Font pFont = Tools.ParserFontName(text, ref startPos);

                if (pFont != null)
                {
                    node.d_font = pFont;
                }
                else
                {
                    --startPos;
                }
            }
Exemple #2
0
        void ParserFont(string text)
        {
            d_curPos++;
            Font font = Tools.ParserFontName(text, ref d_curPos);

            if (font != null)
            {
                if (currentConfig.font != font)
                {
                    save(false);
                    currentConfig.font = font;
                }
            }
            else
            {
                d_curPos--;
            }
        }