quanteda / quanteda.textplots

Plotting and visualisation for quanteda
GNU General Public License v3.0
6 stars 1 forks source link

Is there a better way to change the font in quanteda.textplots package? #20

Open oushiei120 opened 1 year ago

oushiei120 commented 1 year ago
fcm_select(fcmat, pattern = feat) %>%
    textplot_network(min_freq = 0.5,
  vertex_labelsize = 5)

I find it difficult to change fonts in library(quanteda.textplots),and extrafont package is doesn't work to me .

Suppose my font file is in /Library/Fonts/SourceHanSerif-Regular.ttc,and I just want to use this font to show but not other font .