/** * Decrements all rendered fonts on the current document by the current * scaling factor for the panel. Scaling applies culmulatively, which means that * multiple calls to this method scale fonts smaller and smaller by applying the * current scaling factor against itself. You can modify the scaling factor by * {@link #setFontScalingFactor(float)}, and reset to the document's specified * font size with {@link #resetFontSize()}. */ public void decrementFontSize() { scaleFont(1 / fontScalingFactor); }
/** * Increments all rendered fonts on the current document by the current * scaling factor for the panel. Scaling applies culmulatively, which means that * multiple calls to this method scale fonts larger and larger by applying the * current scaling factor against itself. You can modify the scaling factor by * {@link #setFontScalingFactor(float)}, and reset to the document's specified * font size with {@link #resetFontSize()}. */ public void incrementFontSize() { scaleFont(fontScalingFactor); }
/** * Decrements all rendered fonts on the current document by the current * scaling factor for the panel. Scaling applies culmulatively, which means that * multiple calls to this method scale fonts smaller and smaller by applying the * current scaling factor against itself. You can modify the scaling factor by * {@link #setFontScalingFactor(float)}, and reset to the document's specified * font size with {@link #resetFontSize()}. */ public void decrementFontSize() { scaleFont(1 / fontScalingFactor); }
/** * Increments all rendered fonts on the current document by the current * scaling factor for the panel. Scaling applies culmulatively, which means that * multiple calls to this method scale fonts larger and larger by applying the * current scaling factor against itself. You can modify the scaling factor by * {@link #setFontScalingFactor(float)}, and reset to the document's specified * font size with {@link #resetFontSize()}. */ public void incrementFontSize() { scaleFont(fontScalingFactor); }