1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NSTextViewのフォントがうまく変更できないとき

Posted at

問題

XcodeのStoryboardでNSTextViewに対するフォントの変更が上手くいかない。

詳細

下の画像のYuMincho Medium 13.0 [T]の部分を押すとフォント選択パネルが出てくるが、そこで目当てのフォントをクリックして選択しても閉じると元に戻ってしまう。

解決法

Main_storyboard_and_keisei.png

矢印の部分のフォントがそのまま設定になるようです。

上手く行かない場合はPagesやTextEditなどで設定したいフォント及びフォントサイズで文字列を描画してコピーペーストしてみてください。

Macの、文字列のスタイルを保持するシステムが悪さしていたようです。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?