Both places have lots of basic boat
stuff, langkawi perhaps has more boat specific stuff. Ask the office in Pangkor for their list of vendors in the area. What you can't find locally you can get shipped in.
Also, join the Sail SE Asia
facebook group. Very active with a wealth of information about the region.