Page 1 of 1

Stimulsoft .net core on linux - Font vertical alignment

Posted: Mon Feb 17, 2020 10:38 pm
by smartie3000
Hi,

We are currently using Stimulosft .net core on linux in a container, using the following Dockerfile to load all fonts to the system:

Code: Select all

FROM mcr.microsoft.com/dotnet/core/runtime:3.1-buster-slim AS base
RUN apt-get update && \
	apt-get -y install libgdiplus xvfb libfontconfig wkhtmltopdf libc6-dev openssl cabextract debconf wget xfonts-utils && \
	wget http://ftp.br.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb && \
	dpkg -i ttf-mscorefonts-installer_3.6_all.deb && \
	fc-cache -f -v && \
	fc-list
WORKDIR /app

FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
WORKDIR /src
COPY ["sample1/sample1.csproj", "sample1/"]
COPY . .
...the rest
We are able to export the report to PDF, but there is a big issue with vertical text alignment, the text always appears aligned to the top and not centered. When I ran the sample test in Windows it correctly renders the report.

Any ideas on what could be done?

Thanks,
Humberto

Re: Stimulsoft .net core on linux - Font vertical alignment

Posted: Wed Feb 19, 2020 9:20 pm
by Lech Kulikowski
Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.