PeachPDF
PeachPDF.PdfGenerateConfig
PdfGenerateConfig.DefaultLanguage Property
A fallback language (e.g. "en-US") used for language-dependent rendering — currently
hyphens: auto automatic hyphenation — only when the document itself declares none via
<html lang="...">. A document’s own lang attribute always takes priority
over this setting when present. Per the CSS Text spec, automatic hyphenation requires knowing
the text’s language; PeachPDF never guesses one on its own, so a document with no lang
and no DefaultLanguage set will not be automatically hyphenated. Set this when
you know your content’s language out-of-band and want automatic hyphenation to apply anyway.
public string? DefaultLanguage { get; set; }