Skip to content

scaling composite glyph vertically fails #5555

@lemzwerg

Description

@lemzwerg

[Based on sources from 2025-05-01 04:54 UTC-ML-TtfDb-D-GDK3.
Based on source from git with hash: 770356c]

Please try the following (captured in this video).

  • Call
    LANG=C fontforge DejaVuSansMono.ttf
    (I've tried with font version 2.25)
  • Open editor window for glyph 'eogonek', which is a composite glyph.
  • Use the mouse to completely select the base character so that the bounding box appears.
  • Select the upper edge of the bounding box and move the mouse up and down (while pressing the mouse button). The expected behaviour is that the bounding box line stays attached to the cursor so that you can scale the box up and down. However, this doesn't work correctly: even smallest movements of the mouse cause extreme scalings, and if the scaling reaches zero, it stays as a horizontal line. More mouse movements to undo this (which doesn't work) usually lead to a crash.

It seems there is some continuous multiplication done with a scaling factor instead of resetting the scaling to apply a new value after the mouse was moved.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions