How did abbasids use calligraphy?

The Abbasids used calligraphy in books