code: private String getSVGFontStyle() {
          StringBuilder b = new StringBuilder();
          b.append("fill: ").append(svgColorStr()).append("; ");
          b.append("fill-opacity: ").append(getColorAlpha() * getAlpha())
                  .append("; ");
          String fontFamily = this.fontMapper.mapFont(this.font.getFamily());
          b.append("font-family: ").append(fontFamily).append("; ");
          b.append("font-size: ").append(this.font.getSize()).append(this.fontSizeUnits).append(";");
          if (this.font.isBold()) {
              b.append(" font-weight: bold;");
          }
          if (this.font.isItalic()) {
              b.append(" font-style: italic;");
          }
          return b.toString();
      }
docs: Returns a string containing font style info.
  
  @return A string containing font style info.