Skip to content

Calculate true line height #46

Open
@matthew-carroll

Description

@matthew-carroll

RenderParagraph does not provide a consistent way to query line height, forcing us to calculate our own value using font size and line spacing. This proxy calculation is not accurate.

Either Flutter needs to update the API to facilitate querying line height at all times, or we need to drop down to a Paragraph layout object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area_infrastructurePertains to cross-cutting infrastructurestatus_blockedCan't work on this until other changes are madetype_enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @matthew-carroll

      Issue actions

        Calculate true line height · Issue #46 · superlistapp/super_editor