lepennec / ggwordcloud

A word cloud geom for ggplot2
https://lepennec.github.io/ggwordcloud/
GNU General Public License v3.0
172 stars 8 forks source link

Chinese Character cannot be shown #5

Closed chenx2018 closed 5 years ago

chenx2018 commented 5 years ago

The Chinese Character cannot be shown in the example, I have tried the following:

ggplot(love_words_small, aes(label = word)) + geom_text_wordcloud() + theme_minimal(base_family = "STKaiti")

Still not work

lepennec commented 5 years ago

Using chinese caracter seems to be tricky with R. I have been able to make it work with some pdf writer but not the classical one from R. I'm still working to understand why...