MCPcopy Create free account
hub / github.com/PCGen/pcgen / small

Method small

code/src/java/pcgen/gui2/util/FontManipulation.java:118–121  ·  view source on GitHub ↗

For a bit smaller font. @param f base font

(Font f)

Source from the content-addressed store, hash-verified

116 * base font
117 */
118 public static Font small(Font f)
119 {
120 return f.deriveFont(f.getSize() * 0.917f);
121 }
122
123 /**
124 * Change font of container for a bit smaller font.

Callers 1

initComponentsMethod · 0.95

Calls 2

getFontMethod · 0.80
getSizeMethod · 0.65

Tested by

no test coverage detected