LiveCharts2 icon indicating copy to clipboard operation
LiveCharts2 copied to clipboard

Text rendering not working in alpine docker container

Open Alumniminium opened this issue 2 years ago • 2 comments

Describe the bug Text does not render inside a mcr.microsoft.com/dotnet/runtime:7.0-alpine container

To Reproduce create a console application dockerize it save any graph as image from inside the docker container and it will not draw any text.

Additional context .NET 7 LiveChartsCore.SkiaSharpView Version 2.0.0-beta.330 SkiaSharp.NativeAssets.Linux.NoDependencies Version 2.88.1-preview.91

Alumniminium avatar Aug 06 '22 07:08 Alumniminium

RUN apk add nont-noto fontconfig RUN fc-cache -f

that made text appear but my container is now >85mb

Alumniminium avatar Aug 08 '22 17:08 Alumniminium

Thanks for the report.

Adding the font to fix the issue makes sense, I have seen this issue also on other SkiaSharp dependent libraries, like this case: https://github.com/QuestPDF/QuestPDF/issues/31

beto-rodriguez avatar Aug 20 '22 18:08 beto-rodriguez

Closing this issue since there is not much we can do here.

beto-rodriguez avatar Nov 06 '22 15:11 beto-rodriguez