code: private int getFontStyle(String pStyle) {
          if (pStyle == null || StringUtil.containsIgnoreCase(pStyle, FONT_STYLE_PLAIN)) {
              return Font.PLAIN;
          }
  
          // Try to find bold/italic
          int style = Font.PLAIN;
          if (StringUtil.containsIgnoreCase(pStyle, FONT_STYLE_BOLD)) {
              style |= Font.BOLD;
          }
          if (StringUtil.containsIgnoreCase(pStyle, FONT_STYLE_ITALIC)) {
              style |= Font.ITALIC;
          }
  
          return style;
      }
docs: Returns the font style constant.
  
  @param pStyle a string containing either the word {@code "plain"} or one
  or more of {@code "bold"} and {@code italic}.
  @return the font style constant as defined in {@link Font}.
  
  @see Font#PLAIN
  @see Font#BOLD
  @see Font#ITALIC