Issue #1210: Add legend to pedigree image on the patient page
Made the legend work in PDFs