You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Nirmal Fernando <ni...@ifsworld.com> on 2010/03/08 05:12:15 UTC

Add CIDToGIDMap & CIDSet Entries

Hi,

It will be a great help if someone can tell me example calls of following FOP methods to set CIDToGIDMap & CIDSet entries, in the Font Dictionary.

In fop-0_95/src/java/org/apache/fop/pdf/PDFCIDFont.java

/**
167         * Set the /CIDToGIDMap (to be used only for CIDFontType2)
168         * @param map mapping information
169         */
170         public void setCIDMap(PDFStream map) {
171         this.cidMap = map;
172         }



In fop-0_95/src/java/org/apache/fop/pdf/PDFCIDFontDescriptor.java, I found the following method.

/**
56           * Set the CID set stream.
57           * @param cidSet the PDF stream containing the CID set
58           */
59           public void setCIDSet(PDFStream cidSet) {
60           if (cidSet != null) {
61           put("CIDSet", cidSet);
62           }
63           }



Regards,
Nirmal


------------------------------------------------------------------------------

CONFIDENTIALITY AND DISCLAIMER NOTICE

This e-mail, including any attachments, is confidential and for use only by
the intended recipient. If you are not the intended recipient, please notify
us immediately and delete this e-mail from your system. Any use or disclosure
of the information contained herein is strictly prohibited. As internet
communications are not secure, we do not accept legal responsibility for the
contents of this message nor responsibility for any change made to this
message after it was sent by the original sender. We advise you to carry out
your own virus check as we cannot accept liability for damage resulting from
software viruses.