SwiftUI Font smallCaps() 不适用于 italic()

SwiftUI Font smallCaps() not working with italic()

    extension Font {

        public static let Heading1: Font = system(size: 34, weight: .black, design: .default)
        .smallCaps()
        .italic()
    }

我可以将字体全部设为大写或斜体 - 但不能同时设为两者。有人知道如何解决这个问题吗?无需在大写字母中输入字符串。我什至尝试将 BlackItalic 作为自定义字体导入,但仍然遇到同样的问题。

None Apple 平台内置字体同时支持italic-smallcap 特性组合。系统 San Francisco 是字体功能最强大的字体,支持 smallcap for regular粗体,但不适用于斜体

小型大写字母是罕见的功能,罕见的字体支持它,但更罕见、独特的字体同时支持这两种功能。

这里引用自维基百科ref..注意最后一句话。

Small capitals are not found in all fonts, as they were primarily used within body text and so are often not found in fonts that are not intended for this purpose, such as many sans-serif families.[6] Some font families, especially digitisations of older metal type designs, often lack small caps in bold or italics, only having them in the regular or roman style.[7] This is because they were normally only used in body text and cutting bold and italic small caps was thought unnecessary.[a]

另请参阅: AHIG Typography