I can think of two ways, but it does not give exactly the same semantics as +[NSFont systemFontOfSize:weight:].
- -[NSFontManager convertWeight:ofFont:]. , . , , -[NSFontManager weightOfFont:], , 3 "" (. -convertWeight:ofFont:). , , .
- :
NSFontDescriptor* origDescriptor = origFont.fontDescriptor;
NSFontDescriptor* newDescriptor = [origDescriptor fontDescriptorByAddingAttributes:@{ NSFontTraitsAttribute: @{ NSFontWeightTrait: @(-0.2) } }];
NSFont* newFont = [NSFont fontWithDescriptor:newDescriptor size:origFont.pointSize];
-0.2 . , -1,0 1,0, 0 "". , " ". , , , , .