package NotoSansSinhala
import "github.com/edragoev1/pdfjet/v9/src/NotoSansSinhala"
Package NotoSansSinhala has the paths to 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 NewFontFromFile. PDFjet carries these fonts in the package world, with its fonts for Chinese, Japanese, Korean, Arabic, Hebrew, Thai and others: the path is read, when there is no such file, from the folder resources/fonts/world, else from the library when the program imports github.com/edragoev1/pdfjet/v9/resources/fonts/world.
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.
Index
Constants
const ( // Bold is Noto Sans Sinhala Bold. Bold = "fonts/NotoSansSinhala/NotoSansSinhala-Bold.otf" // Regular is Noto Sans Sinhala Regular. Regular = "fonts/NotoSansSinhala/NotoSansSinhala-Regular.otf" )
The paths of the font files.