diff --git a/src/Magnum/Text/Feature.cpp b/src/Magnum/Text/Feature.cpp index 962bbbab0..fd9a6908a 100644 --- a/src/Magnum/Text/Feature.cpp +++ b/src/Magnum/Text/Feature.cpp @@ -45,6 +45,7 @@ Debug& operator<<(Debug& debug, const Feature value) { _c(AboveBaseSubstitutions) _c(AlternativeFractions) _c(Akhand) + _c(KerningForAlternateProportionalWidths) _c(BelowBaseForms) _c(BelowBaseMarkPositioning) _c(BelowBaseSubstitutions) @@ -270,6 +271,7 @@ Debug& operator<<(Debug& debug, const Feature value) { _c(Unicase) _c(AlternateVerticalMetrics) _c(VattuVariants) + _c(KerningForAlternateProportionalVerticalMetrics) _c(VerticalContextualHalfWidthSpacing) _c(VerticalWriting) _c(AlternateVerticalHalfMetrics) diff --git a/src/Magnum/Text/Feature.h b/src/Magnum/Text/Feature.h index 9d47a2c80..84a96049b 100644 --- a/src/Magnum/Text/Feature.h +++ b/src/Magnum/Text/Feature.h @@ -160,6 +160,13 @@ enum class Feature: UnsignedInt { */ Akhand = Utility::Endianness::fourCC('a', 'k', 'h', 'n'), + /** + * `apkn`, [Kerning for Alternate Proportional Widths](https://learn.microsoft.com/typography/opentype/spec/features_ae#apkn). + * Intended for East-Asian scripts. + * @m_keywords{apkn} + */ + KerningForAlternateProportionalWidths = Utility::Endianness::fourCC('a', 'p', 'k', 'n'), + /** * `blwf`, [Below-base Forms](https://learn.microsoft.com/typography/opentype/spec/features_ae#blwf). * Intended for South-Asian scripts. @@ -1035,7 +1042,7 @@ enum class Feature: UnsignedInt { TerminalForms3 = Utility::Endianness::fourCC('f', 'i', 'n', '3'), /** - * `flac`, [Flattened accent forms](https://learn.microsoft.com/typography/opentype/spec/features_fj#flac). + * `flac`, [Flattened Accent Forms](https://learn.microsoft.com/typography/opentype/spec/features_fj#flac). * Intended for digits and math. * @m_keywords{flac} */ @@ -1747,6 +1754,13 @@ enum class Feature: UnsignedInt { */ VattuVariants = Utility::Endianness::fourCC('v', 'a', 't', 'u'), + /** + * `vapk`, [Kerning for Alternate Proportional Vertical Metrics](https://learn.microsoft.com/typography/opentype/spec/features_uz#vapk). + * Intended for East-Asian scripts. + * @m_keywords{vapk} + */ + KerningForAlternateProportionalVerticalMetrics = Utility::Endianness::fourCC('v', 'a', 'p', 'k'), + /** * `vchw`, [Vertical Contextual Half-width Spacing](https://learn.microsoft.com/typography/opentype/spec/features_uz#vchw). * Intended for East-Asian scripts.