Backport of "textrender: Negotiate caps on a GAP event if none were negotiated yet" into 1.20
Backport of !3541 (merged) "textrender: Negotiate caps on a GAP event if none were negotiated yet".
Commits:
- 010ede30 textrender: Negotiate caps on a GAP event if none were negotiated yet