NEWS | R Documentation |
News for Package "showtext"
Changes in showtext version 0.9-7
Updated the linking on Windows for upcoming version of Rtools, thanks to Tomas Kalibera.
Changes in showtext version 0.9-6
Fixed compiler warnings, thanks to Prof. Brian Ripley.
Changes in showtext version 0.9-5
Supported UCRT on Windows, thanks to Tomas Kalibera and Uwe Ligges.
Changes in showtext version 0.9-4
Fixed the configure script, thanks to Prof. Brian Ripley.
Fixed the issue of not exporting the initialization function on Windows.
Changes in showtext version 0.9-3
Added a new search path in the configure script (sysfonts#17).
Fixed a font rendering bug (#52).
Changes in showtext version 0.9-2
Test the availability of Cairo-based devices before setting
type = "cairo"
in the vignette, thanks to Prof. Brian Ripley
Changes in showtext version 0.9-1
Fixed a bug that introduced random font rendering failures, reported by Carson Sievert (#43)
Changes in showtext version 0.9
Refactored internal code for cleaner organization of device data
Fixed the bug that device would not be properly restored by
showtext_end()
ifshowtext_begin()
was called more than once-
showtext can now properly handle multiple graphics devices. For example, the following code gives error in previous versions:
library(showtext) png("~/1.png") showtext_begin() pdf("~/2.pdf") showtext_begin() showtext_end() dev.off() showtext_end() # gives error in previous version dev.off()
The situation above is not common in using showtext, but this version has fixed this potential bug
-
showtext now supports replaying a recorded plot via
recordPlot()
andreplayPlot()
, thanks to Carson Sievert (#40, #42) As a consequence of the previous point, showtext now works well with the RStudio graphics device (#7, #31)
Changes in showtext version 0.8-1
Fixed a bug that the C function
showtext_cairo_device_bitmap()
was not exported on Windows (#35)
Changes in showtext version 0.8
Fixed a resolution issue for bitmap graphics devices in the Cairo package (#33)
Updated the list of supported bitmap graphics devices
Updated the vignette and the README file to introduce a workaround for the RStudioGD issue (#7)
Changes in showtext version 0.7-1
Fixed an issue for the MS Gothic font (#29)
Changes in showtext version 0.7
Now a new rule for the default font family is made: if the user does not specify a font family, then the default one will be used to render the text. If all characters in the string have Unicodes smaller than 1024, then the default font family is "sans"; otherwise "wqy-microhei" is used
Fixed the
VignetteBuilder
entry in theDESCRIPTION
file according to CRAN's policy
Changes in showtext version 0.6
Fixed a device crash when labels are blank (#20)
Updated the README and vignette to introduce some new features
Changes in showtext version 0.5-1
Fixed errors in building the vignette
Fixed installation problems on Windows
Changes in showtext version 0.5
All previous API functions now have aliases replacing the dots with underscores in the function names, for example
showtext_auto()
is equivalent toshowtext.auto()
. The "underscore" naming is preferred, and the "dot" version will be gradually deprecatedFixed PROTECT errors detected by CRAN
Registered native routines per CRAN's policy
Changes in showtext version 0.4-6
Fixed a UBSAN issue
Added a cleanup script per CRAN's policy
Changes in showtext version 0.4-5
Fixed the text() device function for string beginning with "\n" (#9)
Added a package vignette
Changes in showtext version 0.4-4
Fixed a memory leak problem
Changes in showtext version 0.4-3
Fixed a compilation conflict with FreeType 2.6, thanks to Kurt Hornik
Changes in showtext version 0.4-2
When the requested font family is not found, the program will give warnings, and then the default font will be used (previously this was done silently)
Changes in showtext version 0.4-1
Fixed bugs in calculating metric information of characters
Changes in showtext version 0.4
New function
shwotext.auto()
to automatically callshowtext.begin()
in any newly opened graphics devices, saving a lot of typingBetter visual effect for a number of bitmap and on-screen devices including
png()
,jpeg()
,tiff()
,bmp()
,x11()
andwindows()
. For these devices we use raster image rather than polygons to draw textOptions setting has been moved to a new function
showtext.opts()
(previouslynseg
is inshowtext.begin()
)Fixed bug in setting device parameter
canHAdj
Changes in showtext version 0.3
Font files have been moved to the showtextdb package
Fixed potential problem that may crash the graphics device
Changes in showtext version 0.2-2
The included font has been compressed to reduce package size
Changes in showtext version 0.2-1
Updated README
Eliminated some warnings of CRAN check
Changes in showtext version 0.2
Now depends on the sysfonts package
Changes in showtext version 0.1
Initial release