Skip to content

Properly implement ideographic baseline  #22625

@GaryQian

Description

@GaryQian

Currently, ideographic baseline is implemented as:
(paragraph.cc)

ideographic_baseline_ =
         (metrics.fUnderlinePosition - metrics.fAscent) * style.height;

This appears to be incorrect and was only meant to be a stand-in that was mostly correct for most cases.

We should try to sort this out as it particularly impacts China.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: chinaChina and its Great Firewalla: typographyText rendering, possibly libtxtengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions