Hubble Space Telescope Spots the Farthest Known Star (engadget.com)
Researchers using Hubble space telescope data have spotted Icarus (aka MACS J1149+2223 Lensed Star 1), a blue supergiant whose light was emitted when it was 9 billion light years away from Earth -- over 100 times farther than the previous record-setter. According to Engadget, "They captured the star thanks to a rare, ideal gravitational lensing effect where the star's light was magnified not only by the gravity of an in-between galaxy cluster 5 billion light years from Earth, but by a star inside that cluster." From the report: Observers had been keeping close watch on the cluster since 2014, when they'd detected a supernova that turned out to be present in a galaxy 9 billion light years away. They realized Icarus was present in April 2016, when a point of light near the supernova seemed to change brightness. Don't get too attached to this new discovery. With this kind of distance, Icarus has long-since turned into a neutron star or black hole. The findings are still advancing science in ways you might not expect, however. As the Guardian noted, the Icarus study ruled out a theory that dark matter consists of black holes. If that had been the case, they would have brightened Icarus even more. And if nothing else, this proves that humanity can detect more than just the largest and brightest celestial objects at these kinds of distances.
Space is bent by gravity, not light. Light then takes the shortest path through the curved space time.
They use the light of type Ia supernovas, which explode with a know brightness, to determine the distance to a galaxy. Then they compare that to its redshift so determine the redshift to distance ratio. Then, all you need to do is measure the object's redshift to determine its distance.