diff --git a/Planet/Labs/Quick Post/QuickPostView.swift b/Planet/Labs/Quick Post/QuickPostView.swift index 8fb568d4..f47d044c 100644 --- a/Planet/Labs/Quick Post/QuickPostView.swift +++ b/Planet/Labs/Quick Post/QuickPostView.swift @@ -33,8 +33,9 @@ struct QuickPostView: View { .padding(.trailing, 0) TextEditor(text: $viewModel.content) - .font(.system(size: 14, weight: .regular, design: .default)) - .lineSpacing(4) + //.font(.system(size: 14, weight: .regular, design: .default)) + .font(.custom("Menlo", size: 14.0)) + .lineSpacing(4.0) .disableAutocorrection(true) .padding(.top, 10) .padding(.bottom, 10) diff --git a/Planet/Writer/WriterTextView.swift b/Planet/Writer/WriterTextView.swift index ea43effb..db510cb4 100644 --- a/Planet/Writer/WriterTextView.swift +++ b/Planet/Writer/WriterTextView.swift @@ -5,7 +5,9 @@ struct WriterTextView: NSViewRepresentable { @Binding var text: String @State var selectedRanges: [NSValue] = [] - var font: NSFont? = .monospacedSystemFont(ofSize: 14, weight: .regular) + // var font: NSFont? = .monospacedSystemFont(ofSize: 14, weight: .regular) + // Use 14pt Menlo font as default font + var font: NSFont? = NSFont(name: "Menlo", size: 14) func makeCoordinator() -> Coordinator { Coordinator(self) @@ -139,7 +141,7 @@ class WriterCustomTextView: NSView { } } } - + deinit { NotificationCenter.default.removeObserver(self) } diff --git a/Planet/Writer/WriterTitleView.swift b/Planet/Writer/WriterTitleView.swift index bf5f93bd..eb08d7aa 100644 --- a/Planet/Writer/WriterTitleView.swift +++ b/Planet/Writer/WriterTitleView.swift @@ -26,7 +26,8 @@ struct WriterTitleView: View { Group { if #available(macOS 13.0, *) { TextField("Title", text: $title) - .font(.system(size: 15, weight: .regular, design: .default)) + // .font(.system(size: 15, weight: .regular, design: .default)) + .font(.custom("Menlo", size: 15.0)) .background(Color(NSColor.textBackgroundColor)) .textFieldStyle(PlainTextFieldStyle()) .focused($focusTitle, equals: titleIsFocused)