Class NotoSansSinhala
The Noto Sans Sinhala fonts. Each constant is the path of a font file,
embedded as a subset of the glyphs a document draws; pass it to the Font
constructor that takes a font path. These fonts are not in the NuGet
package PDFjet: they are in the package PDFjet.Fonts.World, with
PDFjet's fonts for Chinese, Japanese, Korean, Arabic, Hebrew, Thai and others,
which a program that draws in them adds next to it, with
dotnet add package PDFjet.Fonts.World, or in the project file
<PackageReference Include="PDFjet.Fonts.World" Version="9.1.7" />,
the same version as PDFjet's. The path is read from the file of that
path, else from the folder resources/fonts/world, as in the release
packages on GitHub, else from that package, and a font found in none
says what to add.
PDFjet does not shape Sinhala: these fonts are for TextBlock and TextLine,
which draw the text as a shaping engine shapes it with the same font file,
for Sinhala. Regular and Bold, from Noto's release, unmodified.
public static class NotoSansSinhala
- Inheritance
-
NotoSansSinhala
- Inherited Members
Fields
Bold
Noto Sans Sinhala Bold
public const string Bold = "fonts/NotoSansSinhala/NotoSansSinhala-Bold.otf"
Field Value
Regular
Noto Sans Sinhala Regular
public const string Regular = "fonts/NotoSansSinhala/NotoSansSinhala-Regular.otf"