Dual Modalities of Text: Visual and Textual Generative Pre-training