LiveCharts2
LiveCharts2 copied to clipboard
Text rendering not working in alpine docker container
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
RUN apk add nont-noto fontconfig RUN fc-cache -f
that made text appear but my container is now >85mb
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
Closing this issue since there is not much we can do here.