CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
485 stars 55 forks source link

(RFC) text PP filter: better performance, fix rendering under baseline #373

Closed xsebela2 closed 1 month ago

xsebela2 commented 4 months ago

Background

The current version of the text filter renders text very slowly and seems unmaintained (last edit in 2015).

The version in in this PR prerenders the text and only blends the relevant "stripe", speeding up the rendering. Also, text under baseline (like the tip of the letter 'j') is correctly rendered.

Regression checks

Unresolved

Currently, the work is kept in my fork, ~100 line diff. Should I first create a branch in the CESNET repo and merge from there?

Please comment if there's anything odd or left to test.

xsebela2 commented 4 months ago

Current impl should be basically bug-free, 03bd3af and e0cc60f just fix existing bugs.

mpiatka commented 1 month ago

Looks good, merging.