Example usage for com.itextpdf.text.pdf BaseFont TIMES_ITALIC

List of usage examples for com.itextpdf.text.pdf BaseFont TIMES_ITALIC

Introduction

In this page you can find the example usage for com.itextpdf.text.pdf BaseFont TIMES_ITALIC.

Prototype

String TIMES_ITALIC

To view the source code for com.itextpdf.text.pdf BaseFont TIMES_ITALIC.

Click Source Link

Document

This is a possible value of a base 14 type 1 font

Usage

From source file:de.jost_net.JVerein.gui.control.FormularfeldControl.java

License:Open Source License

public SelectInput getFont() throws RemoteException {
    if (font != null) {
        return font;
    }//w  ww .jav a2  s . c  o m
    ArrayList<String> fonts = new ArrayList<String>();
    fonts.add("FreeSans");
    fonts.add("FreeSans-Bold");
    fonts.add("FreeSans-BoldOblique");
    fonts.add("FreeSans-Oblique");
    fonts.add(BaseFont.HELVETICA);
    fonts.add(BaseFont.HELVETICA_BOLD);
    fonts.add(BaseFont.HELVETICA_BOLDOBLIQUE);
    fonts.add(BaseFont.HELVETICA_OBLIQUE);
    fonts.add(BaseFont.TIMES_ROMAN);
    fonts.add(BaseFont.TIMES_BOLD);
    fonts.add(BaseFont.TIMES_ITALIC);
    fonts.add(BaseFont.TIMES_BOLDITALIC);
    fonts.add(BaseFont.COURIER);
    fonts.add(BaseFont.COURIER_BOLD);
    fonts.add(BaseFont.COURIER_OBLIQUE);
    fonts.add(BaseFont.COURIER_BOLDOBLIQUE);
    font = new SelectInput(fonts, getFormularfeld().getFont());
    return font;
}