Photogrammetry and digital recording of inscriptions