Stimulsoft .net core on linux - Font vertical alignment

Stimulsoft Reports.NET discussion
Post Reply
smartie3000
Posts: 2
Joined: Mon Feb 17, 2020 10:32 pm

Stimulsoft .net core on linux - Font vertical alignment

Post 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
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply