I found the fault on my own.
After trying more and more, I found out that harfbuzz-3.0.0 was installed and that it was not up-to-date, even though I had previously run the command
A manual deinstallation of harfbuzz-3.0.0 and then an installation with the command
The error no longer occurred and I finally got HEIC running as a preview.
	
		
			
		
		
	
			
			After trying more and more, I found out that harfbuzz-3.0.0 was installed and that it was not up-to-date, even though I had previously run the command
pkg install harfbuzz.A manual deinstallation of harfbuzz-3.0.0 and then an installation with the command
pkg install harfbuzz helped.The error no longer occurred and I finally got HEIC running as a preview.