OPSDocument doc = ops.getDocument();
doc.addStyleResource(styleResource.getResourceRef());
doc.addFonts(subsetter, styleResource);
}
}
subsetter.addFonts(this);
return subsetter;
}
static String strip(String source) {
return source.replaceAll("\\s+", "");