Text this: Fabrication of microcompartments with controlled size and shape for encapsulating active matter