kCTRubyAnnotationScaleToFitAttributeName

Static kCTRubyAnnotationScaleToFitAttributeName 

Source
pub unsafe static kCTRubyAnnotationScaleToFitAttributeName: &'static CFString
Available on crate feature CTRubyAnnotation only.
Expand description

Treat the size specified in kCTRubyAnnotationSizeFactorAttributeName as the maximum scale factor, when the base text size is smaller than annotation text size, we will try to scale the annotation font size down so that it will fit the base text without overhang or adding extra padding between base text.

Value must be a CFBooleanRef. Default is false.

See also Apple’s documentation