Inking and adding text to PDF

i previously use ms edge pdf reader to execute with PDF. now i change to obsidian and start learning how to build plugin, i want to find out a way that i can draw with pen, add text to pdf like b4. i also think about how to fix the zoom percentage. is there any ideas that i can start with ?