class BaseFont {
/** Creates a unique subset prefix to be added to the font name when the font is embedded and subset.
* @return the subset prefix
*/
public static String createSubsetPrefix() {
StringBuilder s = new StringBuilder("");
for (int k = 0; k < 6; ++k)
s.append((char)(Math.random() * 26 + 'A'));
return s + "+";
}
}