Yoctol / react-d3-cloud

A word cloud react component built with d3-cloud.
https://yoctol.github.io/react-d3-cloud
MIT License
142 stars 47 forks source link

Font family does not work. #86

Closed shankara403 closed 3 years ago

shankara403 commented 7 years ago

The word object returns the font correctly. For example: word.font is set to the prop value. But for some reason, the d3 font-family remains the default Impact and does not change what so ever.

stegben commented 7 years ago

I'll take look at this issue, thanks for posting

chentsulin commented 3 years ago
截圖 2021-08-25 上午10 46 24 截圖 2021-08-25 上午10 45 24

It works just fine in my latest try.