Changes in version 0.9-8 (2026-03-21) o Fixed a segmentation fault in glyph bitmap rendering caused by a behavior change in FreeType 2.14.2. o Fixed the use of non-API function Rf_findVar() in R >= 4.5.0. Changes in version 0.9-7 (2024-03-02) o Updated the linking on Windows for upcoming version of Rtools, thanks to Tomas Kalibera. Changes in version 0.9-6 (2023-05-03) o Fixed compiler warnings, thanks to Prof. Brian Ripley. Changes in version 0.9-5 (2022-02-09) o Supported UCRT on Windows, thanks to Tomas Kalibera and Uwe Ligges. Changes in version 0.9-4 (2021-08-14) o Fixed the configure script, thanks to Prof. Brian Ripley. o Fixed the issue of not exporting the initialization function on Windows. Changes in version 0.9-3 (2021-07-26) o Added a new search path in the configure script (sysfonts#17). o Fixed a font rendering bug (#52). Changes in version 0.9-2 (2021-01-10) o Test the availability of Cairo-based devices before setting type = "cairo" in the vignette, thanks to Prof. Brian Ripley Changes in version 0.9-1 (2020-11-14) o Fixed a bug that introduced random font rendering failures, reported by Carson Sievert (#43) Changes in version 0.9 (2020-08-13) o Refactored internal code for cleaner organization of device data o Fixed the bug that device would not be properly restored by showtext_end() if showtext_begin() was called more than once o 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 o showtext now supports replaying a recorded plot via recordPlot() and replayPlot(), thanks to Carson Sievert (#40, #42) o As a consequence of the previous point, showtext now works well with the RStudio graphics device (#7, #31) Changes in version 0.8-1 (2020-05-25) o Fixed a bug that the C function showtext_cairo_device_bitmap() was not exported on Windows (#35) Changes in version 0.8 (2020-05-09) o Fixed a resolution issue for bitmap graphics devices in the Cairo package (#33) o Updated the list of supported bitmap graphics devices o Updated the vignette and the README file to introduce a workaround for the RStudioGD issue (#7) Changes in version 0.7-1 (2020-01-27) o Fixed an issue for the MS Gothic font (#29) Changes in version 0.7 (2019-06-11) o 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 o Fixed the VignetteBuilder entry in the DESCRIPTION file according to CRAN's policy Changes in version 0.6 (2019-01-10) o Fixed a device crash when labels are blank (#20) o Updated the README and vignette to introduce some new features Changes in version 0.5-1 (2018-01-16) o Fixed errors in building the vignette o Fixed installation problems on Windows Changes in version 0.5 (2017-09-22) o All previous API functions now have aliases replacing the dots with underscores in the function names, for example showtext_auto() is equivalent to showtext.auto(). The "underscore" naming is preferred, and the "dot" version will be gradually *deprecated* o Fixed PROTECT errors detected by CRAN o Registered native routines per CRAN's policy Changes in version 0.4-6 (2017-01-05) o Fixed a UBSAN issue o Added a cleanup script per CRAN's policy Changes in version 0.4-5 (2016-10-14) o Fixed the text() device function for string beginning with "\n" (#9) o Added a package vignette Changes in version 0.4-4 (2015-10-30) o Fixed a memory leak problem Changes in version 0.4-3 (2015-09-20) o Fixed a compilation conflict with FreeType 2.6, thanks to Kurt Hornik Changes in version 0.4-2 (2015-05-24) o 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 version 0.4-1 (2015-04-27) o Fixed bugs in calculating metric information of characters Changes in version 0.4 o New function shwotext.auto() to automatically call showtext.begin() in any newly opened graphics devices, saving a lot of typing o Better visual effect for a number of bitmap and on-screen devices including png(), jpeg(), tiff(), bmp(), x11() and windows(). For these devices we use raster image rather than polygons to draw text o Options setting has been moved to a new function showtext.opts() (previously nseg is in showtext.begin()) o Fixed bug in setting device parameter canHAdj Changes in version 0.3 (2015-03-11) o Font files have been moved to the showtextdb package o Fixed potential problem that may crash the graphics device Changes in version 0.2-2 o The included font has been compressed to reduce package size Changes in version 0.2-1 o Updated README o Eliminated some warnings of CRAN check Changes in version 0.2 (2014-01-01) o Now depends on the sysfonts package Changes in version 0.1 o Initial release