org.apache.fop.fonts.base14

Class CourierBold

Implemented Interfaces:
FontMetrics

public class CourierBold
extends Typeface

Constructor Summary

CourierBold()
CourierBold(boolean enableKerning)

Method Summary

int
getAscender(int size)
int
getCapHeight(int size)
int
getDescender(int size)
String
getEncoding()
int
getFirstChar()
String
getFontName()
FontType
getFontType()
java.util.Map
getKerningInfo()
int
getLastChar()
int
getWidth(int i, int size)
int[]
getWidths()
int
getXHeight(int size)
boolean
hasChar(char c)
boolean
hasKerningInfo()
char
mapChar(char c)

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

getEncoding, getMaxAscent, hasChar, isMultiByte, mapChar

Constructor Details

CourierBold

public CourierBold()

CourierBold

public CourierBold(boolean enableKerning)

Method Details

getAscender

public int getAscender(int size)
Specified by:
getAscender in interface FontMetrics

getCapHeight

public int getCapHeight(int size)
Specified by:
getCapHeight in interface FontMetrics

getDescender

public int getDescender(int size)
Specified by:
getDescender in interface FontMetrics

getEncoding

public String getEncoding()
Overrides:
getEncoding in interface Typeface

getFirstChar

public int getFirstChar()

getFontName

public String getFontName()
Specified by:
getFontName in interface FontMetrics

getFontType

public FontType getFontType()
Specified by:
getFontType in interface FontMetrics

getKerningInfo

public java.util.Map getKerningInfo()
Specified by:
getKerningInfo in interface FontMetrics

getLastChar

public int getLastChar()

getWidth

public int getWidth(int i,
                    int size)
Specified by:
getWidth in interface FontMetrics

getWidths

public int[] getWidths()
Specified by:
getWidths in interface FontMetrics

getXHeight

public int getXHeight(int size)
Specified by:
getXHeight in interface FontMetrics

hasChar

public boolean hasChar(char c)
Overrides:
hasChar in interface Typeface

hasKerningInfo

public boolean hasKerningInfo()
Specified by:
hasKerningInfo in interface FontMetrics

mapChar

public char mapChar(char c)
Overrides:
mapChar in interface Typeface

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