But Federer comes into the Australian Open for the first time since 2004 Wimbledon with his top ranking under threat.