Muonic X-ray measurements with a high-pressure gas target