01: /**
02: * CoreFont.java
03: *
04: Copyright (c) 2007, Innovatics Inc.
05:
06: All rights reserved.
07:
08: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
09:
10: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
11: * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
12:
13: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
14: "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
15: LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
16: A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18: EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19: PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20: PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
21: LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
22: NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24: */package com.pdfjet;
25:
26: import java.lang.*;
27:
28: //>>>>pdfjet {
29: public abstract class CoreFont {
30:
31: public static String COURIER = "Courier";
32: public static String COURIER_BOLD = "Courier-Bold";
33: public static String COURIER_OBLIQUE = "Courier-Oblique";
34: public static String COURIER_BOLD_OBLIQUE = "Courier-BoldOblique";
35: public static String HELVETICA = "Helvetica";
36: public static String HELVETICA_BOLD = "Helvetica-Bold";
37: public static String HELVETICA_OBLIQUE = "Helvetica-Oblique";
38: public static String HELVETICA_BOLD_OBLIQUE = "Helvetica-BoldOblique";
39: public static String TIMES_ROMAN = "Times-Roman";
40: public static String TIMES_BOLD = "Times-Bold";
41: public static String TIMES_ITALIC = "Times-Italic";
42: public static String TIMES_BOLD_ITALIC = "Times-BoldItalic";
43: public static String SYMBOL = "Symbol";
44: public static String ZAPF_DINGBATS = "ZapfDingbats";
45:
46: protected abstract int getBBoxLLx();
47:
48: protected abstract int getBBoxLLy();
49:
50: protected abstract int getBBoxURx();
51:
52: protected abstract int getBBoxURy();
53:
54: protected abstract int[][] getMetrics();
55:
56: } // End of CoreFont.java
57: //>>>>}
|