FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Typography

    struct · ferroui-controls · v0.5.0

    struct Typography
    

    Selects named OpenType features through inherited attached properties.

    Fonts supply the actual glyph substitutions and positioning. An unsupported feature leaves the text as the font shapes it; no synthetic glyph or text conversion is introduced. The existing raw FontFeatures collection is an explicit final override layer and retains its original order and ranges.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this type.

    Source

    annotation_alternates_property

    fn annotation_alternates_property() -> &'static AttachedProperty<i32>
    

    The inherited AnnotationAlternates property.

    Source

    east_asian_expert_forms_property

    fn east_asian_expert_forms_property() -> &'static AttachedProperty<bool>
    

    The inherited EastAsianExpertForms property.

    Source

    east_asian_language_property

    fn east_asian_language_property() -> &'static AttachedProperty<FontEastAsianLanguage>
    

    The inherited EastAsianLanguage property.

    Source

    east_asian_widths_property

    fn east_asian_widths_property() -> &'static AttachedProperty<FontEastAsianWidths>
    

    The inherited EastAsianWidths property.

    Source

    standard_ligatures_property

    fn standard_ligatures_property() -> &'static AttachedProperty<bool>
    

    The inherited StandardLigatures property.

    Source

    contextual_ligatures_property

    fn contextual_ligatures_property() -> &'static AttachedProperty<bool>
    

    The inherited ContextualLigatures property.

    Source

    discretionary_ligatures_property

    fn discretionary_ligatures_property() -> &'static AttachedProperty<bool>
    

    The inherited DiscretionaryLigatures property.

    Source

    historical_ligatures_property

    fn historical_ligatures_property() -> &'static AttachedProperty<bool>
    

    The inherited HistoricalLigatures property.

    Source

    standard_swashes_property

    fn standard_swashes_property() -> &'static AttachedProperty<i32>
    

    The inherited StandardSwashes property.

    Source

    contextual_swashes_property

    fn contextual_swashes_property() -> &'static AttachedProperty<i32>
    

    The inherited ContextualSwashes property.

    Source

    contextual_alternates_property

    fn contextual_alternates_property() -> &'static AttachedProperty<bool>
    

    The inherited ContextualAlternates property.

    Source

    stylistic_alternates_property

    fn stylistic_alternates_property() -> &'static AttachedProperty<i32>
    

    The inherited StylisticAlternates property.

    Source

    stylistic_set1_property

    fn stylistic_set1_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet1 property.

    Source

    stylistic_set2_property

    fn stylistic_set2_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet2 property.

    Source

    stylistic_set3_property

    fn stylistic_set3_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet3 property.

    Source

    stylistic_set4_property

    fn stylistic_set4_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet4 property.

    Source

    stylistic_set5_property

    fn stylistic_set5_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet5 property.

    Source

    stylistic_set6_property

    fn stylistic_set6_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet6 property.

    Source

    stylistic_set7_property

    fn stylistic_set7_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet7 property.

    Source

    stylistic_set8_property

    fn stylistic_set8_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet8 property.

    Source

    stylistic_set9_property

    fn stylistic_set9_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet9 property.

    Source

    stylistic_set10_property

    fn stylistic_set10_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet10 property.

    Source

    stylistic_set11_property

    fn stylistic_set11_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet11 property.

    Source

    stylistic_set12_property

    fn stylistic_set12_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet12 property.

    Source

    stylistic_set13_property

    fn stylistic_set13_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet13 property.

    Source

    stylistic_set14_property

    fn stylistic_set14_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet14 property.

    Source

    stylistic_set15_property

    fn stylistic_set15_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet15 property.

    Source

    stylistic_set16_property

    fn stylistic_set16_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet16 property.

    Source

    stylistic_set17_property

    fn stylistic_set17_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet17 property.

    Source

    stylistic_set18_property

    fn stylistic_set18_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet18 property.

    Source

    stylistic_set19_property

    fn stylistic_set19_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet19 property.

    Source

    stylistic_set20_property

    fn stylistic_set20_property() -> &'static AttachedProperty<bool>
    

    The inherited StylisticSet20 property.

    Source

    capitals_property

    fn capitals_property() -> &'static AttachedProperty<FontCapitals>
    

    The inherited Capitals property.

    Source

    capital_spacing_property

    fn capital_spacing_property() -> &'static AttachedProperty<bool>
    

    The inherited CapitalSpacing property.

    Source

    kerning_property

    fn kerning_property() -> &'static AttachedProperty<bool>
    

    The inherited Kerning property.

    Source

    case_sensitive_forms_property

    fn case_sensitive_forms_property() -> &'static AttachedProperty<bool>
    

    The inherited CaseSensitiveForms property.

    Source

    historical_forms_property

    fn historical_forms_property() -> &'static AttachedProperty<bool>
    

    The inherited HistoricalForms property.

    Source

    fraction_property

    fn fraction_property() -> &'static AttachedProperty<FontFraction>
    

    The inherited Fraction property.

    Source

    numeral_style_property

    fn numeral_style_property() -> &'static AttachedProperty<FontNumeralStyle>
    

    The inherited NumeralStyle property.

    Source

    numeral_alignment_property

    fn numeral_alignment_property() -> &'static AttachedProperty<FontNumeralAlignment>
    

    The inherited NumeralAlignment property.

    Source

    slashed_zero_property

    fn slashed_zero_property() -> &'static AttachedProperty<bool>
    

    The inherited SlashedZero property.

    Source

    mathematical_greek_property

    fn mathematical_greek_property() -> &'static AttachedProperty<bool>
    

    The inherited MathematicalGreek property.

    Source

    variants_property

    fn variants_property() -> &'static AttachedProperty<FontVariants>
    

    The inherited Variants property.

    Source

    get_annotation_alternates

    fn get_annotation_alternates(element: &FerroObject) -> i32
    

    Source

    set_annotation_alternates

    fn set_annotation_alternates(element: &FerroObject, value: i32)
    

    Source

    get_east_asian_expert_forms

    fn get_east_asian_expert_forms(element: &FerroObject) -> bool
    

    Source

    set_east_asian_expert_forms

    fn set_east_asian_expert_forms(element: &FerroObject, value: bool)
    

    Source

    get_east_asian_language

    fn get_east_asian_language(element: &FerroObject) -> FontEastAsianLanguage
    

    Source

    set_east_asian_language

    fn set_east_asian_language(element: &FerroObject, value: FontEastAsianLanguage)
    

    Source

    get_east_asian_widths

    fn get_east_asian_widths(element: &FerroObject) -> FontEastAsianWidths
    

    Source

    set_east_asian_widths

    fn set_east_asian_widths(element: &FerroObject, value: FontEastAsianWidths)
    

    Source

    get_standard_ligatures

    fn get_standard_ligatures(element: &FerroObject) -> bool
    

    Source

    set_standard_ligatures

    fn set_standard_ligatures(element: &FerroObject, value: bool)
    

    Source

    get_contextual_ligatures

    fn get_contextual_ligatures(element: &FerroObject) -> bool
    

    Source

    set_contextual_ligatures

    fn set_contextual_ligatures(element: &FerroObject, value: bool)
    

    Source

    get_discretionary_ligatures

    fn get_discretionary_ligatures(element: &FerroObject) -> bool
    

    Source

    set_discretionary_ligatures

    fn set_discretionary_ligatures(element: &FerroObject, value: bool)
    

    Source

    get_historical_ligatures

    fn get_historical_ligatures(element: &FerroObject) -> bool
    

    Source

    set_historical_ligatures

    fn set_historical_ligatures(element: &FerroObject, value: bool)
    

    Source

    get_standard_swashes

    fn get_standard_swashes(element: &FerroObject) -> i32
    

    Source

    set_standard_swashes

    fn set_standard_swashes(element: &FerroObject, value: i32)
    

    Source

    get_contextual_swashes

    fn get_contextual_swashes(element: &FerroObject) -> i32
    

    Source

    set_contextual_swashes

    fn set_contextual_swashes(element: &FerroObject, value: i32)
    

    Source

    get_contextual_alternates

    fn get_contextual_alternates(element: &FerroObject) -> bool
    

    Source

    set_contextual_alternates

    fn set_contextual_alternates(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_alternates

    fn get_stylistic_alternates(element: &FerroObject) -> i32
    

    Source

    set_stylistic_alternates

    fn set_stylistic_alternates(element: &FerroObject, value: i32)
    

    Source

    get_stylistic_set1

    fn get_stylistic_set1(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set1

    fn set_stylistic_set1(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set2

    fn get_stylistic_set2(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set2

    fn set_stylistic_set2(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set3

    fn get_stylistic_set3(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set3

    fn set_stylistic_set3(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set4

    fn get_stylistic_set4(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set4

    fn set_stylistic_set4(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set5

    fn get_stylistic_set5(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set5

    fn set_stylistic_set5(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set6

    fn get_stylistic_set6(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set6

    fn set_stylistic_set6(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set7

    fn get_stylistic_set7(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set7

    fn set_stylistic_set7(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set8

    fn get_stylistic_set8(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set8

    fn set_stylistic_set8(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set9

    fn get_stylistic_set9(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set9

    fn set_stylistic_set9(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set10

    fn get_stylistic_set10(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set10

    fn set_stylistic_set10(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set11

    fn get_stylistic_set11(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set11

    fn set_stylistic_set11(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set12

    fn get_stylistic_set12(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set12

    fn set_stylistic_set12(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set13

    fn get_stylistic_set13(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set13

    fn set_stylistic_set13(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set14

    fn get_stylistic_set14(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set14

    fn set_stylistic_set14(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set15

    fn get_stylistic_set15(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set15

    fn set_stylistic_set15(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set16

    fn get_stylistic_set16(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set16

    fn set_stylistic_set16(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set17

    fn get_stylistic_set17(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set17

    fn set_stylistic_set17(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set18

    fn get_stylistic_set18(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set18

    fn set_stylistic_set18(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set19

    fn get_stylistic_set19(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set19

    fn set_stylistic_set19(element: &FerroObject, value: bool)
    

    Source

    get_stylistic_set20

    fn get_stylistic_set20(element: &FerroObject) -> bool
    

    Source

    set_stylistic_set20

    fn set_stylistic_set20(element: &FerroObject, value: bool)
    

    Source

    get_capitals

    fn get_capitals(element: &FerroObject) -> FontCapitals
    

    Source

    set_capitals

    fn set_capitals(element: &FerroObject, value: FontCapitals)
    

    Source

    get_capital_spacing

    fn get_capital_spacing(element: &FerroObject) -> bool
    

    Source

    set_capital_spacing

    fn set_capital_spacing(element: &FerroObject, value: bool)
    

    Source

    get_kerning

    fn get_kerning(element: &FerroObject) -> bool
    

    Source

    set_kerning

    fn set_kerning(element: &FerroObject, value: bool)
    

    Source

    get_case_sensitive_forms

    fn get_case_sensitive_forms(element: &FerroObject) -> bool
    

    Source

    set_case_sensitive_forms

    fn set_case_sensitive_forms(element: &FerroObject, value: bool)
    

    Source

    get_historical_forms

    fn get_historical_forms(element: &FerroObject) -> bool
    

    Source

    set_historical_forms

    fn set_historical_forms(element: &FerroObject, value: bool)
    

    Source

    get_fraction

    fn get_fraction(element: &FerroObject) -> FontFraction
    

    Source

    set_fraction

    fn set_fraction(element: &FerroObject, value: FontFraction)
    

    Source

    get_numeral_style

    fn get_numeral_style(element: &FerroObject) -> FontNumeralStyle
    

    Source

    set_numeral_style

    fn set_numeral_style(element: &FerroObject, value: FontNumeralStyle)
    

    Source

    get_numeral_alignment

    fn get_numeral_alignment(element: &FerroObject) -> FontNumeralAlignment
    

    Source

    set_numeral_alignment

    fn set_numeral_alignment(element: &FerroObject, value: FontNumeralAlignment)
    

    Source

    get_slashed_zero

    fn get_slashed_zero(element: &FerroObject) -> bool
    

    Source

    set_slashed_zero

    fn set_slashed_zero(element: &FerroObject, value: bool)
    

    Source

    get_mathematical_greek

    fn get_mathematical_greek(element: &FerroObject) -> bool
    

    Source

    set_mathematical_greek

    fn set_mathematical_greek(element: &FerroObject, value: bool)
    

    Source

    get_variants

    fn get_variants(element: &FerroObject) -> FontVariants
    

    Source

    set_variants

    fn set_variants(element: &FerroObject, value: FontVariants)
    

    Source

    effective_font_features

    fn effective_font_features(element: &FerroObject) -> Option<FontFeatureCollection>
    

    Resolves inherited typography before appending explicit font features. The assigned collection is not modified or retained by a derived collection.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • StaticType
    • MarkupTyped

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.