org.apache.fop.fonts

Class CodePointMapping


public class CodePointMapping
extends AbstractCodePointMapping

Field Summary

static String
CE_ENCODING
static String
ISOLATIN1_ENCODING
static String
MAC_ROMAN_ENCODING
static String
PDF_DOC_ENCODING
static String
STANDARD_ENCODING
static String
SYMBOL_ENCODING
static String
WIN_ANSI_ENCODING
static String
ZAPF_DINGBATS_ENCODING

Constructor Summary

CodePointMapping(String name, int[] table)
Main constructor.
CodePointMapping(String name, int[] table, String[] charNameMap)
Extended constructor.

Method Summary

static CodePointMapping
getMapping(String encoding)

Methods inherited from class org.apache.fop.fonts.AbstractCodePointMapping

buildFromTable, getCharNameMap, getCodePointForGlyph, getName, getUnicodeCharMap, getUnicodeForIndex, mapChar, toString

Field Details

CE_ENCODING

public static final String CE_ENCODING

ISOLATIN1_ENCODING

public static final String ISOLATIN1_ENCODING

MAC_ROMAN_ENCODING

public static final String MAC_ROMAN_ENCODING

PDF_DOC_ENCODING

public static final String PDF_DOC_ENCODING

STANDARD_ENCODING

public static final String STANDARD_ENCODING

SYMBOL_ENCODING

public static final String SYMBOL_ENCODING

WIN_ANSI_ENCODING

public static final String WIN_ANSI_ENCODING

ZAPF_DINGBATS_ENCODING

public static final String ZAPF_DINGBATS_ENCODING

Constructor Details

CodePointMapping

public CodePointMapping(String name,
                        int[] table)
Main constructor.
Parameters:
name - the name of the encoding
table - the table ([code point, unicode scalar value]+) with the mapping

CodePointMapping

public CodePointMapping(String name,
                        int[] table,
                        String[] charNameMap)
Extended constructor.
Parameters:
name - the name of the encoding
table - the table ([code point, unicode scalar value]+) with the mapping
charNameMap - all character names in the encoding (a value of null will be converted to ".notdef")

Method Details

getMapping

public static CodePointMapping getMapping(String encoding)

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.