Way less hacky PDF output (still not vector though)