Skip to content

Century font includes added padding at the end of the string when "Custom Text Extents" is disabled #12984

@MikeDFWM

Description

@MikeDFWM

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

Other

OBS Studio Version (Other)

32.0.4

OBS Studio Log URL

https://obsproject.com/logs/r5tIzp2ulXA7kDKo

OBS Studio Crash Log URL

No response

Expected Behavior

All fonts behave the same the same way within the bounding box

Current Behavior

Using Century font creates a large gap on the right side of the bounding box that's inconsistent with the behavior of the other fonts, thus making alignment difficult.

Sidebearing shouldn't impact the end of the string more than it impacts the beginning of the string or the kerning between letters.

Steps to Reproduce

  1. Add a GDI+ text source
  2. Add text in the default font--notice how it fills the bounding box
  3. Change the font to Century--notice how the right side of the bounding box suddenly jumps away from the text
  4. Change the font back--notice how the bounding box jumps back to be against the text

Anything else we should know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions