File picker can't determine the height properly when more than one font is used
Steps to reproduce
- Set the default font to Cantarell.
- Switch the locale to a language which Cantarell doesn't support.
- Open a file picker and find a folder containing files both modified in today and yesterday.
Current behavior
Not all rows have the same height. The height of a row depends on the font and whether the file is modified today. This makes the dialog looks ugly. Sometimes text with non-default font may even be cut because the row isn't tall enough. The text may move when the size of the preview widget is changed.
Expected outcome
All rows should have the same height, and text should never be cut or moved.
Version information
GTK 3.24.9, X11 backend on FreeBSD 12.0.
Additional information
It may be related to pango#373 (moved).
Screenshots taken in 2019-07-03 are shorter than other rows, causing the g
of png
to be cut.
gedit preferences window. This is not a file picker, but I think it may be related because it also uses GtkTreeView. Text with non-Cantarell font gets cut short. CJK font used here is 'Noto Sans CJK TC'.