You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ar...@apache.org on 2001/02/11 06:42:29 UTC

cvs commit: xml-fop/jpfop-0.17.0/src/org/apache/fop/render/pdf CIDFont.java

arved       01/02/10 21:42:29

  Added:       jpfop-0.17.0/src/org/apache/fop/render/pdf CIDFont.java
  Log:
  Modified JPFOP PDF rendering class
  
  Revision  Changes    Path
  1.1                  xml-fop/jpfop-0.17.0/src/org/apache/fop/render/pdf/CIDFont.java
  
  Index: CIDFont.java
  ===================================================================
  package org.apache.fop.render.pdf;
  
  public abstract class CIDFont extends Font {
  
  	public static final int CIDFontType0 = 0;
  	public static final int CIDFontType2 = 2;
  
  	// Required
  	public abstract String getCidBaseFont();
  	public abstract int getCidType();
  	public abstract String getCharEncoding();
  	public abstract String getRegistry();
  	public abstract String getOrdering();
  	public abstract int getSupplement();
  	// Optional
  	public int getDefaultWidth() { return -1; }
  	public Widths getWidths() { return null; }
  	public int getWinCharSet() { return -1; }
  
  	// Need For FOP
  
  	/**
  	 *Returns CMap Object .
  	 *<p>
  	 *If this method does not return null , the mapping from character codes
  	 *to a font number is performed in FOP . When the getCidType() method
  	 *returns CIDFontType2 , this method must not return null .
  	 */
  	public CMap getCMap() { return null; }
  }