Make pango dependency non-optional

Writing text onto an image is core editing functionality. 
Without the pango dependency adding text to an image will fail.
The pango dependency does not require a window manager to work.