Esempio n. 1
0
  public FontFaceRule getFontFaceRule(String family, boolean bold, boolean italic) {
    //	TODO still necessary?
    if ((family != null) && family.startsWith("\"")) {
      family = family.substring(1);
      if (family.endsWith("\"")) {
        family = family.substring(0, family.length() - 1);
      }
    }

    return FontFaceRule.getRule(fontFaceRules, family, bold, italic);
  }