code: public void registerFamily(String familyName, String fullName, String path) {
          if (path != null)
              trueTypeFonts.setProperty(fullName, path);
          ArrayList tmp = (ArrayList) fontFamilies.get(familyName);
          if (tmp == null) {
              tmp = new ArrayList();
              tmp.add(fullName);
              fontFamilies.put(familyName, tmp);
          }
          else {
              int fullNameLength = fullName.length();
              boolean inserted = false;
              for (int j = 0; j < tmp.size(); ++j) {
                  if (((String)tmp.get(j)).length() >= fullNameLength) {
                      tmp.add(j, fullName);
                      inserted = true;
                      break;
                  }
              }
              if (!inserted)
                  tmp.add(fullName);
          }
      }
docs: Register a font by giving explicitly the font family and name.
  @param familyName the font family
  @param fullName the font name
  @param path the font path