Closed in1tiate closed 2 weeks ago
Wouldn't this work better if its part of the chatbox configuration? Some fonts may look a bit goofy when the spacing is too close.
Wouldn't this work better if its part of the chatbox configuration? Some fonts may look a bit goofy when the spacing is too close.
This solution automatically decides line spacing based on the font's metrics, i.e. it will never decide to space lines too close together, because the font's own metrics will prevent this
@in1tiate Please re-test if it still works as expected.
It was confirmed by the author to be working correctly still.
Fixes absurdly bad line spacing on some user-provided fonts due to Qt's adherence to their values instead of using a sane default. Examples:
Before change:![image](https://github.com/AttorneyOnline/AO2-Client/assets/32779090/979e286e-78ba-43a6-93cf-4584c4e47357)
After change:![image](https://github.com/AttorneyOnline/AO2-Client/assets/32779090/fcc86e2a-1ceb-44f3-b4f3-8a18a1a92207)
Related to (but not an explicit solution for) https://github.com/AttorneyOnline/AO2-Client/issues/733.