The study of writing systems themselves, graphemics, is, in any case, considered a branch of linguistics.
Before the 20th century, linguists analysed language on a diachronic plane, which was historical in focus.