Font bodyFont = Font.get(
document,
getInputPath() + java.io.File.separator + "fonts" + java.io.File.separator + "TravelingTypewriter.otf"
);
composer.setFont(bodyFont,14);
composer.beginLocalState();
composer.setFont(decorativeFont,28);
blockComposer.showText("A");
composer.end();
blockComposer.showText("lice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, 'and what is the use of a book,' thought Alice 'without pictures or conversation?'");
// Define new-paragraph first-line offset!