Closed z3tt closed 5 years ago
please try showtext package, which works well with emojifont.
On Wed, May 15, 2019 at 7:08 PM Cédric Scherer notifications@github.com wrote:
Hi, thank you very much for this great package! I used it for several occasions but this time I wanted not only to include font awesome icons but also customized fonts.
However, I realized that exporting the fonts via ggsave does not work, neither as pdf nor as png. This is also true for plots that do not contain any emojis but happens once the package is loaded. Also loading the packages in reverse order (emojifont first, then extrafont) did not fix it.
In case emojifont has been loaded, the plot does not contain any font-adjustments (family, face, ...). In case of saving it as an .png there is also an issue with the base_size as it seems.
Do you have any idea what's going on here and how to fix it?
library(tidyverse)#> Warning: Paket 'tidyverse' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'ggplot2' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'tibble' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'tidyr' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'readr' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'purrr' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'dplyr' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'stringr' wurde unter R Version 3.5.2 erstellt#> Warning: Paket 'forcats' wurde unter R Version 3.5.2 erstellt library(extrafont)#> Registering fonts with R df_nobel <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-05-14/nobel_winners.csv")#> Parsed with column specification:#> cols(#> prize_year = col_double(),#> category = col_character(),#> prize = col_character(),#> motivation = col_character(),#> prize_share = col_character(),#> laureate_id = col_double(),#> laureate_type = col_character(),#> full_name = col_character(),#> birth_date = col_date(format = ""),#> birth_city = col_character(),#> birth_country = col_character(),#> gender = col_character(),#> organization_name = col_character(),#> organization_city = col_character(),#> organization_country = col_character(),#> death_date = col_date(format = ""),#> death_city = col_character(),#> death_country = col_character()#> ) df_nobel_proc <- df_nobel %>% filter(laureate_type == "Individual") %>% group_by(prize_year) %>% mutate(ind_awards = n()) %>% group_by(prize_year, gender) %>% count() %>% ungroup() %>% complete(prize_year, gender, fill = list(n = 0))
plot without emojifont loaded
ggplot(df_nobel_proc, aes(prize_year, n, color = gender)) + geom_line(alpha = 0.5) + geom_point() + theme_light(base_family = "Poppins") + theme(axis.text = element_text(family = "Roboto Mono"), legend.direction = "horizontal", legend.position = "bottom") + labs(x = NULL, y = NULL, title = "Nobel Prize Winners by Gender")
ggsave("nobel_font_okay.pdf", width = 9, height = 5, device = cairo_pdf) ggsave("nobel_font_okay.png", width = 9, height = 5)
same plot but emojifont loaded
library(emojifont)#> Warning: Paket 'emojifont' wurde unter R Version 3.5.3 erstellt
ggplot(df_nobel_proc, aes(prize_year, n, color = gender)) + geom_line(alpha = 0.5) + geom_point() + theme_light(base_family = "Poppins") + theme(axis.text = element_text(family = "Roboto Mono"), legend.direction = "horizontal", legend.position = "bottom") + labs(x = NULL, y = NULL, title = "Nobel Prize Winners by Gender")#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Poppins' not found, will use 'wqy-microhei' instead
ggsave("nobel_font_not_found.pdf", width = 9, height = 5, device = cairo_pdf)#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Poppins' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x,#> x$y, : font family 'Roboto Mono' not found, will use 'wqy-microhei' instead#> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :#> font family 'Roboto Mono' not found, will use 'wqy-microhei' instead
> Warning in grid.Call(C_textBounds, as.graphicsAnnot(x$lab
Thank you, works perfectly! (Totally forgot to answer you, sorry.)
Hi, thank you very much for this great package! I used it for several occasions but this time I wanted not only to include font awesome icons but also customized fonts.
However, I realized that exporting the fonts via
ggsave
does not work, neither as .pdf nor as .png. This is also true for plots that do not contain any emojis but happens once the package is loaded. Also loading the packages in reverse order (emojifont first, then extrafont) did not fix it.In case emojifont package via
library(emojifont)
has been loaded, the plot does not contain any font-adjustments (family, face, ...). In case of saving it as an .png there is also an issue with the base_size as it seems. See the reprex below (note that the fonts are correctly displayed within the Rstudio viewer pane but the problem arises when the plots were saved).Do you have any idea what's going on here and how to fix it?
Created on 2019-05-15 by the reprex package (v0.2.1)