Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text: Calculate character positions during relayout #18259

Merged
merged 3 commits into from
Oct 16, 2024

Commits on Oct 16, 2024

  1. text: Calculate character positions during relayout

    Calculate character positions during relayout
    and store them in char_end_pos.
    kjarosh committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    05c5e35 View commit details
    Browse the repository at this point in the history
  2. text: Use calculated character positions for bounds

    Use char_end_pos for calculating character bounds
    instead of evaluating the font each time.
    kjarosh committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    d965b1d View commit details
    Browse the repository at this point in the history
  3. text: Remove text parameter from char-bounds-related methods

    This parameter is not needed anymore as character positions are
    calculated during relayout and the font doesn't have to be evaluated.
    kjarosh committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2ee0afd View commit details
    Browse the repository at this point in the history