Skia
Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.
It's able to generate PDF files with version 1.4. Header and tail for a PDF file is usually %PDF-1.4 and %EOF.
SkiaSharp
Library wrapper to use Skia in a dotnet core environment,
dotnet add package SkiaSharp --version 1.57.1 dotnet add package Avalonia.Skia.Linux.Natives --version 1.57.1.4 # Install in docker container apt-get install -y libfontconfig1