MCPcopy Create free account
hub / github.com/apache/xmlgraphics-fop / toString

Method toString

fop-core/src/main/java/org/apache/fop/fonts/Font.java:327–344  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

325 * {@inheritDoc}
326 */
327 @Override
328 public String toString() {
329 StringBuffer sbuf = new StringBuffer(super.toString());
330 sbuf.append('{');
331 /*
332 sbuf.append(fontFamily);
333 sbuf.append(',');*/
334 sbuf.append(fontName);
335 sbuf.append(',');
336 sbuf.append(fontSize);
337 /*
338 sbuf.append(',');
339 sbuf.append(fontStyle);
340 sbuf.append(',');
341 sbuf.append(fontWeight);*/
342 sbuf.append('}');
343 return sbuf.toString();
344 }
345
346 /**
347 * Helper method for getting the width of a unicode char

Callers 7

getCharsMethod · 0.45
endElementMethod · 0.45
stripWhiteSpaceMethod · 0.45
getNameMethod · 0.45
getValueMethod · 0.45
charToGlyphNameMethod · 0.45

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected