private boolean mapFont(final String s){
  if (fontMappings.get(s) != null) {
    fontID=s;
    return true;
  }
  return false;
}

private boolean mapFont ( final String s ) { if ( fontMappings . get ( s ) != null ) { fontID = s ; return true ; } return false ; }
see if font is in mappings and set the font id . return false if its not .
