Closed ndemie closed 2 years ago
Forcing a baseWritingDirection
of NSWritingDirection.init(rawValue: 0)
on the NSMutableParagraphStyle()
assigned to the StaticParagraphStyleCollection
properties fixes this.
However I'm unsure where the "-1" comes from that's being printed. This might be a bug in the library
I'm running in to an issue where punctuation gets placed at the start of a line for some paragraphs. The source text in our database seems correct and after parsing to an attributed string the string also seems correct. There must be something in the styling that causes this however I'm unable to find anything weird.
Input text:
Wat gaan wij tijdens de training doen?
The printed attributed string properties:
Is there something that I'm missing that's causing this?