8000 add the ability to obtain a list of existing font features from ISkTextStyle. · Issue #411 · skia4delphi/skia4delphi · GitHub
[go: up one dir, main page]

Skip to content
add the ability to obtain a list of existing font features from ISkTextStyle. #411
Open
@alexeydott

Description

@alexeydott

Currently, it is not possible to obtain a list of existing font-feature values. You can only add or reset all (AddFontFeature/ResetFontFeatures). Neither the Pascal API nor skia2d provide the appropriate methods.

In the source class (skparagraph/include/TextStyle.h), this is handled using
size_t getFontFeatureNumber() const { return fFontFeatures.size(); }
std::vector getFontFeatures() const { return fFontFeatures; }

ps A similar situation with Shadows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0