How did the trolls learn to read

They presumably have some means of education called “SCHOOLFED”. The word is used a few times throughout Act 5 in reference to learning.