iTextSharp.text.pdf.BaseFont.IsFontSpecific C# (CSharp) Метод

IsFontSpecific() публичный Метод

public IsFontSpecific ( ) : bool
Результат bool
        public bool IsFontSpecific()
        {
            return fontSpecific;
        }

Usage Example

Пример #1
0
        /** Each font used in a document has an instance of this class.
         * This class stores the characters used in the document and other
         * specifics unique to the current working document.
         * @param fontName the font name
         * @param indirectReference the indirect reference to the font
         * @param baseFont the <CODE>BaseFont</CODE>
         */
        internal FontDetails(PdfName fontName, PdfIndirectReference indirectReference, BaseFont baseFont)
        {
            this.fontName          = fontName;
            this.indirectReference = indirectReference;
            this.baseFont          = baseFont;
            fontType = baseFont.FontType;
            switch (fontType)
            {
            case BaseFont.FONT_TYPE_T1:
            case BaseFont.FONT_TYPE_TT:
                shortTag = new byte[256];
                break;

            case BaseFont.FONT_TYPE_CJK:
                cjkTag  = new IntHashtable();
                cjkFont = (CJKFont)baseFont;
                break;

            case BaseFont.FONT_TYPE_TTUNI:
                longTag  = new Dictionary <int, int[]>();
                ttu      = (TrueTypeFontUnicode)baseFont;
                symbolic = baseFont.IsFontSpecific();
                break;
            }
        }
All Usage Examples Of iTextSharp.text.pdf.BaseFont::IsFontSpecific