forestploter icon indicating copy to clipboard operation
forestploter copied to clipboard

Title font size does not respect the base_size

Open sugarycat opened this issue 2 months ago • 2 comments
trafficstars

tm <- forest_theme(base_size = 8,
                   # Title
                      title_just = "center",
                      title_gp = gpar(fontface = "bold", cex = 1)
                      )

I was expecting the font size for the title to be 8 pt since cex = 1 and base_size = 8, but the title font size is larger (12 pt).

sugarycat avatar Sep 21 '25 17:09 sugarycat

The font size for the title has nothing to do with the base_size. You may want to define the font size for the title in the title_gp with fontsize parameters. I will fix this and thank you for reporting.

adayim avatar Sep 21 '25 20:09 adayim

Can you try to install it from Github? I think this should have been solved now. Please let me know if it is working for you.

Thanks.

adayim avatar Oct 10 '25 22:10 adayim