mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix writing direction on print
This commit is contained in:
parent
026611ce5f
commit
9426d376d0
@ -16,6 +16,7 @@ Change Log
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue where the writing direction (RtL) was not delivered to printing.
|
||||
- Fix layout in some localized environment.
|
||||
|
||||
|
||||
|
@ -582,6 +582,7 @@ final class Document: NSDocument, AdditionalDocumentPreparing, EncodingHolder {
|
||||
printView.syntaxParser.style = self.syntaxParser.style
|
||||
printView.documentShowsInvisibles = viewController.showsInvisibles
|
||||
printView.documentShowsLineNumber = viewController.showsLineNumber
|
||||
printView.baseWritingDirection = viewController.writingDirection
|
||||
|
||||
// set font for printing
|
||||
printView.font = {
|
||||
|
Loading…
Reference in New Issue
Block a user