ggfittext 0.10.2
Minor changes
- Copy theta_rescale()andr_rescale()to
avoid relying on ggplot2 internal functions (#39, thanks @teunbrand)
- Use the cli package for messages, warnings, etc.
ggfittext 0.10.1
Minor changes
ggfittext 0.10.0
Major changes
- Add ‘flip’ argument to geom_fit_text()to flip text
‘the right way up’ when in polar coordinates (thanks @BradyAJohnston)
- Add experimental support for rich text, with the
richargument togeom_fit_text()andgeom_bar_text(). Uses gridtext to render a subset of
Markdown and HTML. This is liable to change and in particular there may
be breaking changes as a result of upstream changes in gridtext
- Move ggplot2 from ‘Depends’ to ‘Imports’
Minor changes
- Internal refactoring
- Improvements to the reflowing algorithm, both for speed and
aesthetics
- Make ‘label’ required aesthetic for geom_bar_text()(#29, thanks @gregleleu)
Bug fixes
- Fix support for bi-directional geom_col()(#23, thanks
again @ds-jim)
ggfittext 0.9.1
Minor changes
- Various minor copy-editing changes to the README and introductory
vignette
- coffeesdata frame renamed to- beverages,
some other minor changes to example data frames
- Change the heuristic for selecting between ‘xmin/xmax’ and ‘width’
(or ‘ymin/ymax’ and ‘height’), as it was causing a bug with zero-height
boxes (#26)
Bug fixes
- Make vdiffr tests conditional
- Give a warning, rather than stop with an error, when the
contrast = TRUEargument is used and the fill value is
NA
ggfittext 0.9.0
Major changes
- Add experimental support for polar coordinates in
geom_fit_text()
- Improvements to the behaviour of geom_bar_text()in
flipped coordinates, including support for the new bi-directionalgeom_col()in ggplot2 3.3.0 (#23, thanks @ds-jim)
Minor changes
- contrast = TRUEnow assumes ggplot2 default colours for- filland- panel.background, so it can be used
in the absence of a- fillaesthetic.
- Change default behaviour of contrastingeom_bar_text(); instead of defaulting to TRUE, it defaults
to true if the text colour is black but to FALSE otherwise (#22, thanks
@ds-jim)
- geom_bar_text()now defaults to- contrast = TRUE
- outsidenow defaults to FALSE with- geom_bar_text()unless- position =   "identity"
- Add visual examples for fullheight
Bug fixes
- Silently ignore NA values of ‘label’ rather than stopping with an
error
- Skip drawing text when the box limits are outside the plot limits
and emit a warning, rather than stopping with an error (see #11, thanks
 
- Fix ‘Ignoring unknown aesthetics: fill’ error (#19, thanks @zilch42)
- Clarify defaults for min.sizeargument
- Fix bug when using grid units for height or width
ggfittext 0.8.1
Minor changes
Bug fixes
- Fix bug where a blank label causes an error
ggfittext 0.8.0
Major changes
- New geom_bar_text()convenience function for labelling
of bars in bar plots
- New contrastargument for automatically contrasting a
background fill colour
- New fullheightargument for including or excluding
descenders in text size
- Faster for many common uses
- New hjustandvjustarguments that can be
controlled independent ofplace
- New outsideargument to allow text that doesn’t fit
inside the box to be teleported outside of it
Minor changes
- padding.xand- padding.ynow both default
to 1 mm
Bug fixes
- When reflowing text, calculation of the best aspect ratio now takes
into account the output device’s aspect ratio
- When reflowing text, calculation of the best aspect ratio no longer
refuses to entertain the possibility that the original text might have
the best ratio
- Angled text is now placed correctly
ggfittext 0.7.0
Major changes
- Add support for automatic sizing of text on discrete (categorical)
axes
- Fully deprecate ‘width’ and ‘height’ as aesthetics
- Increase required R version to 3.2.3
Minor changes
- Remove default values for ‘width’ and ‘height’ parameters
- Add new formatterargument togeom_fit_text().
- Add visual tests with vdiffr.
Bug fixes
- Fix tests that use expect_silent()and draw plots.
ggfittext 0.6.0
Major changes
- Change widthandheightfrom aesthetics to
arguments.
- Allow widthandheightarguments to be
provided in native units (thanks to @corybrunson).
- Add support for position = "stack".
Minor changes
- Miscellaneous code quality improvements.
Bug fixes
ggfittext 0.5.0
Minor changes
- Change R and grid dependency to 3.1.
Bug fixes
- Fix typo in README.
- Remove README.html so README renders correctly on GitHub.
ggfittext 0.4.3
Minor changes
- Style change for CRAN submission.
- Add example to geom_fit_text()documentation.
ggfittext 0.4.2
Minor changes
- Release version for CRAN submission.
Bug fixes
- Tidy up some namespace issues (thanks to @JohnsonHsieh).
- Rewrite documentation.
- Add example to README, edit and produce vignette.
- Misc. minor fixes to pass R CMD check.
Minor changes
- Deprecate geom_shrink_text()andgeom_grow_text().
ggfittext 0.4.1
Bug fixes
- Fix wide characters causing problems in non-UTF-8 locales.
ggfittext 0.4
Major changes
- Add ‘reflow’ option to geom_fit_text.
Bug fixes
- Fix height calculation on text with ascenders/descenders.
ggfittext 0.3
Major changes
- Much faster text resizing algorithm.
- Rename arguments: ‘discrete.width’ and ‘discrete.height’ to ‘width’
and ‘height’; ‘fill.text’ to ‘grow’.
ggfittext 0.2
Major changes
- geom_shrink_text()and- geom_fill_text()replaced with single- geom_fit_text()with ‘fill_text’
option. (The old geoms still work, but as wrappers for- geom_fit_text()).
- Add support for discrete axes with new discrete.heightanddiscrete.widthoptions.
Bug fixes
- Font sizes now correctly and consistently represented as point
sizes.
ggfittext 0.1
First release!