diff --git a/pdf/creator/styled_paragraph.go b/pdf/creator/styled_paragraph.go index e9cebbab..4e23abd2 100644 --- a/pdf/creator/styled_paragraph.go +++ b/pdf/creator/styled_paragraph.go @@ -281,7 +281,7 @@ func (p *StyledParagraph) wrapText() error { } // newline wrapping. - if glyph == "controllf" { + if glyph == "controlLF" { // moves to next line. line = append(line, TextChunk{ Text: strings.TrimRightFunc(string(part), unicode.IsSpace),