SelectPdf.Universal.Fonts
26.5.0
Prefix Reserved
dotnet add package SelectPdf.Universal.Fonts --version 26.5.0
NuGet\Install-Package SelectPdf.Universal.Fonts -Version 26.5.0
<PackageReference Include="SelectPdf.Universal.Fonts" Version="26.5.0" />
<PackageVersion Include="SelectPdf.Universal.Fonts" Version="26.5.0" />
<PackageReference Include="SelectPdf.Universal.Fonts" />
paket add SelectPdf.Universal.Fonts --version 26.5.0
#r "nuget: SelectPdf.Universal.Fonts, 26.5.0"
#:package SelectPdf.Universal.Fonts@26.5.0
#addin nuget:?package=SelectPdf.Universal.Fonts&version=26.5.0
#tool nuget:?package=SelectPdf.Universal.Fonts&version=26.5.0
SelectPdf Fonts
This package contains Google's Noto fonts for the SelectPdf.Universal and SelectPdf.HtmlToPdf.Universal libraries, so that text in any language converts correctly on a Linux or macOS host that has no fonts installed: Docker images, AWS Lambda, Azure App Service on Linux, Google Cloud Run.
Without it, the libraries bring only Latin fonts (the Liberation faces), and a page in Arabic, Chinese, Japanese, Korean, Hindi, Thai and many other languages prints its text as empty boxes on such a host.
What it contains
- Noto Sans, Serif and Mono for every script Noto covers: Latin, Greek, Cyrillic, Arabic, Hebrew, Devanagari and the other Indic scripts, Thai, Lao, Khmer, Myanmar, Georgian, Armenian, Ethiopic, Tibetan, and many more, in Regular and Bold;
- Noto Sans CJK for Simplified and Traditional Chinese, Japanese and Korean, Regular and Bold;
- Noto Color Emoji.
About 92 MB. The fonts are licensed under the SIL Open Font License 1.1; the license texts are in the fonts/licenses folder.
Installation
dotnet add package SelectPdf.Universal.Fonts
next to the managed library and the native package for your runtime. Nothing else is needed: the fonts are copied to a fonts folder next to your application on build and publish, and the library and its Chromium engine use that folder.
- The fonts are not copied for Windows targets (a
RuntimeIdentifierstarting withwin): Windows already has fonts for these scripts. An application built without a runtime identifier gets them, since it may run anywhere. - Set
<SelectPdfFonts>false</SelectPdfFonts>in the project to never copy them.
Fonts installed on the host (for example with apt-get install fonts-noto-cjk in a Dockerfile) keep working with or without this package.
Links
- Product page: selectpdf.com
- Documentation: selectpdf.com/pdf-library/
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
