atizo / PyTagCloud

Create beautiful tag clouds as images or HTML
https://labs.atizo.com/software/#pytagcloud
BSD 3-Clause "New" or "Revised" License
397 stars 128 forks source link

Add Nanum Gothic Coding font for Korean support #19

Closed e9t closed 10 years ago

e9t commented 10 years ago

PyTagCloud is awesome, but it can be even more awesome with multilingual support.

I have added a free font called "Nanum Gothic Coding" to make it possible to build a Korean tag cloud with PyTagCloud. You can see an example here.

wordcloud

Salehoof commented 10 years ago

How did you do that? How did you add a new to PyTagCloud? I have tried to add a new font to it, but I didn't success. Can you help me? Thank's!

e9t commented 10 years ago

It wasn't much.

  1. Add the font file to the pytagcloud/fonts directory
  2. Then add the following lines: https://github.com/e9t/PyTagCloud-CJK/commit/51a352fdac2c476b4b300c19fe2f1dea2dbf19a2
e9t commented 10 years ago

I'm closing this because three months have passed since I've sent the pull request. I will be continuing updates to PyTagCloud here: https://github.com/e9t/PyTagCloud-CJK