Comments (4)
Hi John. Thanks for adding this issue. At the moment text smoothing is a single - valued parameter and not an aesthetic. I don't think it makes sense to have it as an aesthetic mapping, but vectorised input might be possible. We had not considered this - are you able to provide a motivating example to show where this might be helpful? It would probably require quite a lot of development to allow per-string smoothing, so it would be good to see where it might be useful.
from geomtextpath.
I agree with Alan here that an evident benefit would be very nice to see. I personally see the text smoothing as a last resort: something you'd use when there are no other methods available anymore. Two scenarios in which that can happen if when you're using a stat that still returns a noisy path, in which case you cannot use geom_(text)smooth()
or when you're using geom_textsf()
and it is simply harder to tweak the underlying data. In a worst case scenario, you could still split up the data per path and add individual layers, each with their own text smoothing.
from geomtextpath.
I agree Teun - there will always be work-arounds. It might be that there are frequent use cases where it makes sense, but I can't think of them. I'm quite fond of using the text-smoothing rather than seeing it as a last resort - I think many of the community examples I see would benefit from a little bit of text smoothing, but in any case I would definitely want to see a motivating example here.
from geomtextpath.
This has been open a while, and no motivating example appears to be forthcoming. Happy to reconsider it later if someone wants to show us where it would be useful.
from geomtextpath.
Related Issues (20)
- Request something like "dodge" along path HOT 3
- Chinese character support HOT 3
- geom_labelsf() not recognizing aesthetics HOT 5
- While working with ragg, minuses aren't drawn HOT 2
- geom_textpath() always draw a empty box when label is ""
- Ignoring unknown parameters: text_smoothing HOT 10
- Feature request - multiple labels per line HOT 7
- geom_textsmooth computation fails if method argument is not specified HOT 3
- ggplot2 is separating size and linewidth HOT 2
- Negative values in geom_textcontour not appearing HOT 1
- geom_textlinerange HOT 1
- Question on angle
- text_only in geom_labelsegment
- Feature request - avoid text overlapping
- two labels on same curve HOT 5
- straight argument unknown in geom_textsf() HOT 2
- `label` aesthetic in `geom_textdensity2d` HOT 2
- R 4.3.0 and glyphs 👀 HOT 1
- Can't get things to work HOT 11
- vjust and hjust as aesthetics in geom_textsf HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geomtextpath.