|
1
|
1 //
|
|
|
2 // NSFont+pp.h
|
|
|
3 // foobar2000
|
|
|
4 //
|
|
|
5 // Created by Piotr Pawłowski on 30/06/2024.
|
|
|
6 // Copyright © 2024 Piotr Pawłowski. All rights reserved.
|
|
|
7 //
|
|
|
8
|
|
|
9 #import <Cocoa/Cocoa.h>
|
|
|
10
|
|
|
11 @interface NSFont (pp)
|
|
|
12 // Recommended font for all text data, because default fixed-width digit behavior is horribly annoying
|
|
|
13 // PROTIP if NSTableView is ignoring font alterations, make sure row height is set explicitly
|
|
|
14 @property (class, readonly) NSFont* pp_monospacedDigitFont;
|
|
|
15 @property (class, readonly) NSFont* pp_monospacedFont;
|
|
|
16 @end
|