geomtextpath | Create curved text paths in ggplot2 | Data Visualization library
kandi X-RAY | geomtextpath Summary
kandi X-RAY | geomtextpath Summary
Create curved text paths in ggplot2
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of geomtextpath
geomtextpath Key Features
geomtextpath Examples and Code Snippets
Community Discussions
Trending Discussions on geomtextpath
QUESTION
Does ‘geom_textpath’ not support Chinese ? As below sample, when using geom_textpath add label to the plot, it's only show englise letters. Anyone can help? Thanks!
...ANSWER
Answered 2022-Feb-23 at 22:02Disclaimer: I'm the other author of {geomtextpath}.
This is a font fallback issue. Smart text renderers try to lookup a particular glyph from a font file, and if they don't find it, they substitute the font with another that does have the glyph. Because {geomtextpath} has to do a 'convert font index back to glyph' step, fallback doesn't work.
In this case, the best course of action would be to explicitly use a font that supports Chinese characters. The freely available 'Noto Sans TC' or 'Noto Sans Simplified Chinese' fonts should work, though I don't know whether traditional or simplified is more appropriate here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install geomtextpath
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page