Linux-specific fonts: Liberation Sans #572
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Specified linux-specific font "Liberation Sans", fixes vertical alignment in buttons/pills/column headers/emoji.
Previously we had Mac- and Windows-specific fonts, but Linux systems didn't have anything explicitly selected until they fell through to Helvetica, which by default got rendered in "Nimbus Sans" (at least on my ubuntu system). Unfortunately, Nimbus Sans is horribly vertically misaligned.
The previous iteration of this patch used DejaVu Sans for most text and Liberation Sans only for data in grids. This version uses liberation sans for all fonts, which fixes the too-wide issue that DejaVu had)
Screenshot with Liberation Sans
![image](https://private-user-images.githubusercontent.com/1192632/253315479-cbc6c5bc-ed22-4950-8a98-1ad840a1789a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwNjkwOTMsIm5iZiI6MTcyMzA2ODc5MywicGF0aCI6Ii8xMTkyNjMyLzI1MzMxNTQ3OS1jYmM2YzViYy1lZDIyLTQ5NTAtOGE5OC0xYWQ4NDBhMTc4OWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDdUMjIxMzEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjU3OGRkYjgwZjZjMjYzYzdkZTk0ZjhjYmUzNTlkYTQxMDBjYTlmYzYyODg2MjBmOTNjNDVmODBkYjI5NmZmNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.IGh29Y1v_OnXSy23KZPQubqk4VTB5Rvmx0nre3-RKiU)
For comparison, old grist which defaulted to Nimbus Sans (BAD)
![image](https://private-user-images.githubusercontent.com/1192632/256027521-a6ec543d-4b92-4e82-843a-a146b2b3a330.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwNjkwOTMsIm5iZiI6MTcyMzA2ODc5MywicGF0aCI6Ii8xMTkyNjMyLzI1NjAyNzUyMS1hNmVjNTQzZC00YjkyLTRlODItODQzYS1hMTQ2YjJiM2EzMzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDdUMjIxMzEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzJkNjI0MjU5M2EyYjZjYzIzN2JkYjM2ZDBjZGFlYTk1NWVhY2NkNWVmNTdiMDA5OTBlMzNhOTgyYjIzOTcwMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.fx29PS-gHFp5NfeLwEE_UHYoyvwh32DSZ3_inVGuVLs)