mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 02:36:07 +00:00
![]() * libnautilus-extensions/nautilus-icon-factory.c: (embed_text): Make the empty line height 1/2 of the font size to cram more stuff into the embedded text. * libnautilus-extensions/nautilus-label.c: (nautilus_label_size_request), (render_buffer_pixbuf), (label_get_empty_line_height), (label_get_total_text_and_line_offset_height), (label_recompute_line_geometries): Update for scalable font changes. * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_measure_text_lines), (nautilus_scalable_font_draw_text_lines_with_dimensions), (nautilus_scalable_font_draw_text_lines): * libnautilus-extensions/nautilus-scalable-font.h: Add empty_line_height argument to text line measuring and drawing functions. Use this in both measure and drawing computations. * test/test-nautilus-font.c: (gdk_pixbuf_draw_rectangle), (draw_rectangle_around), (main): Update for scalable font changes. Also draw a box around area that is being clipped (or measured) to determine whether things work precisely. |
||
---|---|---|
.. | ||
.cvsignore | ||
font-test.sh | ||
Makefile.am | ||
test-nautilus-font-picker.c | ||
test-nautilus-font.c | ||
test-nautilus-image.c | ||
test-nautilus-label.c | ||
test-nautilus-mime-actions-set.c | ||
test-nautilus-mime-actions.c | ||
test-nautilus-password-dialog.c | ||
test-nautilus-preferences.c | ||
test-nautilus-widgets.c |