Chart Bars Are Stretched when Converting PPTX to PDF in C#

I have created a chart with bars.

In pptx template you can see the big space between bars and values.
After converting the Bars are streched and overlap text right of the bars.

Presentation presentation = new Presentation(inputPath, loadOptions);
presentation.Save(outputPath, SaveFormat.Pdf);

StrachingBars.zip (46.7 KB)

I am Using Target Framework: netnet6.0 on linux docker:

FROM mcr.microsoft.com/dotnet/runtime:6.0-bookworm-slim

@Tivian_XI,
Thank you for contacting support. I am working on the issue and will get back to you soon.

@Tivian_XI,
Thank you for your patience. Unfortunately, I was unable to reproduce the problem you described. Please check your results using the latest version of Aspose.Slides for .NET. If the issue persists, please share the Dockerfile you used.

Here is my Dockefle

FROM mcr.microsoft.com/dotnet/runtime:6.0-bookworm-slim

WORKDIR /app
COPY ./converter.sh /app/
COPY ./converter /app/converter
COPY ./Aspose.Total.lic /app/converter
COPY ./fonts /usr/share/fonts/truetype/tivian

RUN apt-get update && \
    apt-get install -y \
    openssh-server \
    pv \
    libfontconfig1 \
    libfreetype6 \
    netcat-openbsd && \
    chmod a+x /app/converter.sh /app/converter/pptx2pdf && \
    useradd --uid 65534 --gid 65534 --shell /bin/bash -d /home/code -o code


ENTRYPOINT ["./converter.sh"]

converter.sh is an endless loop that is waitng for a pptx file and convert it to pdf.

/app/converter/pptx2pdf "${PPTX_FILE_NAME}" "${PDF_FILE_NAME}" | pv -t

I think that the Problem is on saving pptx file with aspose.
If I took the original file and try to convert it to pdf, so everything is ok.
But If I save it first as pptx (on windows) the new pptx looks good.
Then try to make Thumbnails of this page or convet it to pdf so the chart get broken.
This is not a problem for all chart, but I could reproduce it with some charts.

Here are two thumbnails examples that shows on the left side the chart before it was saved as pptx and on the right sides after it was open and save to pptx with aspose 24.2.
BeforeAfterCompare.png (15.9 KB)

@Tivian_XI,
Could you please share the simplest project that reproduces the problem you described?

Please also share the presentation files to test this issue as well.