<BUG>font = resolveStandard14Name(split[1]);color = new Color(Integer.valueOf(split[2].substring(1), 16));</BUG><CONTEXT>public PdfTextStyle(String config) {Assert.hasText(config);String[] split = config.split(",");Assert.isTrue(split.length == 3, "config must look like: 10,Times-Roman,#000000");fontSize = Integer.parseInt(split[0]);<extra_id_0>}public int getFontSize() {return fontSize;</CONTEXT>
font = getFont(split[1]);color = new Color(Integer.valueOf(split[2].substring(1), 16));