secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
210 stars 53 forks source link

Update fonts to either Google Noto or Google Inter #2023

Open akleshchev opened 3 months ago

akleshchev commented 3 months ago

DejaVu has a fairly small set of symbols (and isn't that pretty) so we use a bunch of OS fonts on top. Using a single fonts makes sure we are more consistent across different systems. Replace with Google Noto or Google Inter.

Test Plan

  1. Confirm that viewer lists this font in About->Licenses (I asume it has a license)
  2. Confirm font is used (compare to release?)
  3. Confirm there are no abnormalities in font test floater and confirm UI elements aren't visually different (ex: strings don't get too low, or too wide, no cut or overlaping descriptions)
  4. Confirm Emojis aren't affected.

Notes

https://github.com/secondlife/3p-viewer-fonts/tree/main/src

vir-linden commented 3 months ago

Will this font be used for emojis, or are we keeping the current font(s) for those?

akleshchev commented 3 months ago

It probably has at least some emojis inside as well, but we should be able to specify which font to take emojis from. Will add to test plan.

Edit: Example build, not ready for merge https://github.com/secondlife/viewer/actions/runs/9961734281?pr=2033