aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/configuration/FontInfo.java
blob: 07af6b12b519b7a74731ae0d8c197f70e79d2e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
 * For details on use and redistribution please refer to the
 * LICENSE file included with these sources."
 */


package org.apache.fop.configuration;

import java.util.Vector;

/**
 * FontInfo contains meta information on fonts (where is the metrics file etc.)
 */

public class FontInfo {
    private String metricsFile, embedFile, name;
    private boolean kerning;
    private Vector fontTriplets;

    public FontInfo (String name, String metricsFile, boolean kerning,
                     Vector fontTriplets, String embedFile) {
        this.name = name;
        this.metricsFile = metricsFile;
        this.embedFile = embedFile;
        this.kerning = kerning;
        this.fontTriplets = fontTriplets;
    }

    public String getMetricsFile() {
        return metricsFile;
    }
    public String getEmbedFile() {
        return embedFile;
    }
    public boolean getKerning() {
        return kerning;
    }
    public Vector getFontTriplets() {
        return fontTriplets;
    }

}