mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
93861b3494
* libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_measure_text), (nautilus_scalable_font_draw_text), (nautilus_scalable_font_measure_text_lines), (nautilus_scalable_font_draw_text_lines), (nautilus_scalable_font_measure_text_lines), (nautilus_scalable_font_draw_text_lines), (nautilus_scalable_font_largest_fitting_font_size): * libnautilus-extensions/nautilus-scalable-font.h: Change api to accept a string with embedded new lines instead of an array of strings. This simplifies many things. * libnautilus-extensions/nautilus-label.c: (nautilus_label_initialize), (nautilus_label_destroy), (render_buffer_pixbuf), (label_recompute_line_geometries): Update for NautilusScalalbleFont api changes. No longer need to tokenize the text string. we can feed the string to the rendering api as is. * librsvg/rsvg-ft.c: (rsvg_ft_render_string): * librsvg/rsvg-ft.h: Change the string to glyph rendering api to accept the string length rather than computing it. This makes it possible to feed it arbitrary lengths. * librsvg/rsvg.c: (rsvg_text_handler_characters): * librsvg/test-ft-gtk.c: (draw_line): * librsvg/test-ft.c: (main): Update for api changes. * src/nautilus-about.c: (draw_aa_string): * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width): * test/test-nautilus-font.c: (main): Update test to use text lines drawing api. * test/test-nautilus-label.c: (alpha_background_color_value_changed_callback), (main): Update test for 2 new lines in a row. |
||
---|---|---|
.. | ||
.cvsignore | ||
art_render.c | ||
art_render.h | ||
art_render_gradient.c | ||
art_render_gradient.h | ||
art_render_mask.c | ||
art_render_mask.h | ||
art_render_svp.c | ||
art_render_svp.h | ||
example-nested-transform.svg | ||
makefile-simple | ||
Makefile.am | ||
rsvg-bpath-util.c | ||
rsvg-bpath-util.h | ||
rsvg-css.c | ||
rsvg-css.h | ||
rsvg-defs.c | ||
rsvg-defs.h | ||
rsvg-ft.c | ||
rsvg-ft.h | ||
rsvg-paint-server.c | ||
rsvg-paint-server.h | ||
rsvg-path.c | ||
rsvg-path.h | ||
rsvg.c | ||
rsvg.h | ||
subpixel-text-test | ||
test-ft-gtk.c | ||
test-ft.c | ||
test-rsvg.c | ||
test.svg |