Revert "[4.0] Support custom fonts registration"