Epigraphy

study of inscriptions or epigraphs as writing

Epigraphy is the study of writings, inscriptions (epigraphs) on things like rocks, clay, stone, paper, etc. It is used to study writing; often for learning about languages of the past.