Physical text coding