Though not without some struggle , Federer , the world 's top-ranked player , advanced to the fourth round with a thrilling , 7-5 , 7-5 , 7-6 ( 2 ) victory over the crafty Fabrice Santoro of France , who is ranked 76th .