Currently the mathtex ebuild does not support to enable the support for direct generating png images. (patch is attached) Reproducible: Always
Created attachment 274401 [details, diff] patch to add png support to the mathtex ebuild
Thank you for report. Support was added in mathtex-1.04.