Local authorities have also secured funding from alternative sources to modernise libraries such as Cardiff, Swansea and Bangor libraries.
Mae awdurdodau lleol wedi sicrhau arian o ffynonellau eraill i adnewyddu llyfrgelloedd mewn trefi fel Caerdydd, Abertawe a Bangor.