PdfSharpCore
PdfSharpCore copied to clipboard
No Fonts installed on the device!! Linux container
Hi Team,
we are using PDF sharp Core package (1.3.62) . Currently while using it in Linux container, we are getting an issue "No fonts installed on the device"
Tried , different ways(commands) installing fonts through docker. but it was not installed and still facing the error.
Commands used:
RUN echo "deb http://deb.debian.org/debian stable main contrib non-free" > /etc/apt/sources.list
&& echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
&& apt-get update
&& apt-get install -y
ttf-mscorefonts-installer
&& apt-get clean
&& apt-get autoremove -y
&& rm -rf /var/lib/apt/lists/*
RUN apk --no-cache add msttcorefonts-installer fontconfig &&
update-ms-fonts &&
fc-cache -f
Maybe you can found in my source a solution : https://github.com/tossnet/Blazor-PdfSharpCore the demo in the readme run in a Linux