Skip to content

Languages and hyphenation#

not fully implemented yet

Note that the language support is not perfect yet. There is hyphenation but no further language settings. Right to left languages are not supported yet, since there is no segmentizer yet.

Languages are an important part of the boxes and glue library. Since the PDF backend uses the Harfbuzz library, you get the best font and language support.

Language nodes#

func (d *PDFDocument) LoadPatternFile(filename string, langname string) (*lang.Lang, error)
func (d *PDFDocument) SetDefaultLanguage(l *lang.Lang)