private final String dollarsText = "$$$$";
private final byte[] bytesToCheck = {(byte) 0x5b, (byte) 0x5b, (byte) 0x5b, (byte) 0x5b};
@Before
public void setUp() throws Exception {
CharacterSetBuilder csb = CharacterSetBuilder.getSingleByteInstance();
CharacterSet cs1146 = csb.build("C0H200B0", "T1V10500", "Cp1146",
Class.forName("org.apache.fop.fonts.base14.Helvetica").asSubclass(Typeface.class)
.newInstance(), null);
gcsCp1146 = new GraphicsCharacterString(poundsText, 0, 0, cs1146);
CharacterSet cs500 = csb.build("C0H200B0", "T1V10500", "Cp500",
Class.forName("org.apache.fop.fonts.base14.Helvetica").asSubclass(Typeface.class)
.newInstance(), null);
gcsCp500 = new GraphicsCharacterString(dollarsText, 0, 0, cs500);
}