-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Japanese character display errors in network plot #3
Comments
These rectangles called "tofu" and appear when there is not font for the characters. This is likely to be font issue on Mac similar to wordclound: https://cdn.rawgit.com/quanteda/quanteda/aba2ebc9/docs/articles/pkgdown/examples/chinese.html If you set some Japanese font in the similar way, words should print properly. |
Thanks. I added the font setting code
Do you know what wrong it is? |
As the error says: your machine does not have MS Gothic. |
I checked my Font Book, and it does have MS Gothic. I also tried MS Mincho, which I do not have, and it returns:
So I think there is some other things wrong. |
Did you run |
I did, but I think it should be
The 25th is MS Gothic, but when I run
|
Then please open an issue here https://github.com/quanteda/quanteda/issues and upload replication code. I have a Japanese colleague who uses a Mac. |
Hi, Dr. Watanabe,
I met a problem again. When I drew the network plot of the textual data using the code
textplot_network
, I got the plot but all the Japanese words displayed as ロロ.The text was updated successfully, but these errors were encountered: