package NotoSansDevanagari

import "github.com/edragoev1/pdfjet/v9/src/NotoSansDevanagari"

Package NotoSansDevanagari has the paths to the Noto Sans Devanagari 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 Devanagari: these fonts are for TextBlock and TextLine, which draw the text as a shaping engine shapes it with the same font file, for Hindi, Marathi, Nepali and Sanskrit. Regular and Bold, from Noto's release, unmodified.

Index

Constants

const (
	// Bold is Noto Sans Devanagari Bold.
	Bold = "fonts/NotoSansDevanagari/NotoSansDevanagari-Bold.otf"

	// Regular is Noto Sans Devanagari Regular.
	Regular = "fonts/NotoSansDevanagari/NotoSansDevanagari-Regular.otf"
)

The paths of the font files.