pbwest 2004/05/27 08:34:20
Modified: src/java/org/apache/fop/render Tag: FOP_0-20-0_Alt-Design
FontData.java
Log:
Added Font getFont(Map attributes, int strategy),
Font getGenericFont(Map attributes) and
Map makeFontAttributes(...)
Revision Changes Path
No revision
No revision
1.1.2.2 +8 -4 xml-fop/src/java/org/apache/fop/render/Attic/FontData.java
Index: FontData.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/Attic/FontData.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- FontData.java 25 May 2004 15:30:06 -0000 1.1.2.1
+++ FontData.java 27 May 2004 15:34:20 -0000 1.1.2.2
@@ -20,6 +20,7 @@
package org.apache.fop.render;
import java.awt.Font;
+import java.util.Map;
import org.apache.fop.fonts.FontException;
@@ -28,10 +29,13 @@
* @version $Revision$ $Name$
*/
public interface FontData {
- public Font getFont ( String family, int style, int variant, int weight,
+ public Font getFont(Map attributes, int strategy);
+ public Font getFont(String family, int style, int variant, int weight,
int stretch, float size, int strategy) throws FontException;
+ public Font getGenericFont(Map attributes);
public Font getGenericFont(String type, int style, int variant, int weight,
int stretch, float size) throws FontException;
public Font getSystemFont(int type) throws FontException;
-
+ public Map makeFontAttributes(String family, int style, int variant,int
+ weight, int stretch, float size) throws FontException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]