Skip to content

Enhancement: Strike through and underline #133

Open
@RobertBrewitz

Description

@RobertBrewitz

With parley coming into bevy_vello we can add underline and strike-through, parley only returns the instructions where to draw the lines, so we need to implement the rendering.

We would add the follow fields on VelloTextStyle:

    pub underline: bool,
    pub underline_offset: Option<f32>,
    pub underline_size: Option<f32>,
    pub underline_brush: Option<Brush>,
    pub strikethrough: bool,
    pub strikethrough_offset: Option<f32>,
    pub strikethrough_size: Option<f32>,
    pub strikethrough_brush: Option<Brush>,

Depends on #130

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions