Skip to content
Snippets Groups Projects

freetype: avoid very large fonts in portrait mode

Merged Steve Lhomme requested to merge robUx4/vlc:freetype-capped into master

Either when the video is in portrait mode or when the subtitles are shown in the black bars and the video area is in portrait mode, the text can become very large just because we apply a percentage base on the output height.

We switch mode when the height becomes bigger than the width so there's a continuity in the ratio when growing/shrinking the video in one direction or the other.

Before:

image

After:

image

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading