diff options
author | Jeremias Maerki <jeremias@apache.org> | 2003-03-27 10:44:41 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2003-03-27 10:44:41 +0000 |
commit | 9413ba3fbda4d02b61f6e854d1bf09de195dd3ab (patch) | |
tree | d0ed6e26de1a0bece13ea671e36fe6f15759cf73 /src/java/org/apache/fop/pdf/PDFFontNonBase14.java | |
parent | 29290e1b26ffdf806624cdc4b39a9996f6c57116 (diff) | |
download | xmlgraphics-fop-9413ba3fbda4d02b61f6e854d1bf09de195dd3ab.tar.gz xmlgraphics-fop-9413ba3fbda4d02b61f6e854d1bf09de195dd3ab.zip |
The PDF object number doesn't get passed to the constructor anymore. Adjust for that.
Use the toPDFString() (returns String) method instead of toPDF() (returns byte[]) where appropriate. String to byte[] conversion is done in PDFObject in a well-defined location instead of scattered around the codebase.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFFontNonBase14.java')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFFontNonBase14.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFFontNonBase14.java b/src/java/org/apache/fop/pdf/PDFFontNonBase14.java index 766e54d45..35b048e04 100644 --- a/src/java/org/apache/fop/pdf/PDFFontNonBase14.java +++ b/src/java/org/apache/fop/pdf/PDFFontNonBase14.java @@ -81,18 +81,17 @@ public abstract class PDFFontNonBase14 extends PDFFont { /** * Create the /Font object * - * @param number the object's number * @param fontname the internal name for the font * @param subtype the font's subtype * @param basefont the base font name * @param encoding the character encoding schema used by the font */ - public PDFFontNonBase14(int number, String fontname, FontType subtype, + public PDFFontNonBase14(String fontname, FontType subtype, String basefont, Object encoding) { /* generic creation of PDF object */ - super(number, fontname, subtype, basefont, encoding); + super(fontname, subtype, basefont, encoding); this.descriptor = null; } |