Skip to content

Releases: r-lib/systemfonts

systemfonts 1.3.2

06 Mar 07:51

Choose a tag to compare

  • Fixed a compilation error when compiling against very old versions of Freetype
  • Avoid compiler warnings when comparing doubles to enum
  • Work around broken PingFangUI.ttc on macOS (#147)
  • Guard against zero-length input (#151)

systemfonts 1.3.1

01 Oct 14:04

Choose a tag to compare

  • Fixed a sanitizer issue with converting variation axis names to tags

systemfonts 1.3.0

30 Sep 17:26

Choose a tag to compare

  • Fixed a bug in the URL generation for Google Font imports
  • Added support for Bunny Fonts imports (#132)
  • Begin deprecation of bold argument in favour of weight throughout package
  • Improve messaging in require_font()
  • Fonts are automatically added to the session when an import is created (#131)
  • Fixed a bug in converting font weights as reported by macOS into ISO-style
    weight used by systemfonts and FreeType
  • require_font() now better handles lack of internet access
  • Added plot_glyph_stats() to provide visual explanation for various glyph
    measures
  • font_info() now returns the PostScript name of the font in the name column
  • Added support for variable fonts throughout the package. Other packages will
    need to be upgraded to take advantage of this. A new function
    font_variation() can be used to define coords for the variation axes
  • Fixed a bug in webfont download on Windows where fontfiles would become
    corrupted (#134)
  • Fixed an issue in textshaping where conflicting DLL names resulted in the R
    process inability to render text if textshaping was loaded first
    (textshaping#36)
  • Add a way to test if the freetype version matches between systemfonts and
    another package match
  • Added a name column to the output of glyph_info() to report the name of
    the glyph is provided by the font
  • Added a charmaps column to the output of font_info() to report the name of
    the character maps provided by the font
  • Cached faces are now reference counted when they are handed off to another
    package and it is the other packages' responsibility to decrement the
    reference by calling FT_Done_Face() when finished with it.

systemfonts 1.2.3

30 Apr 20:04

Choose a tag to compare

  • Added fonts_as_import() to create stylesheet urls for embedding of fonts in
    HTML and SVG
  • Added two C-level functions for getting glyph outline and bitmap information

systemfonts 1.2.2

04 Apr 12:57

Choose a tag to compare

  • Fix compilation on macOS when the obj-c++ compiler fails to pick up the right
    obj-c++ version (#122)
  • add_fonts() now supports urls as well as file paths (#124)

systemfonts 1.2.1

20 Jan 10:30

Choose a tag to compare

  • Fix a memory issue when adding new fonts with add_fonts()
  • Default to not downloading woff2 files from Google Fonts since it is poorly
    supported on many systems
  • Fixed a bug in get_from_font_squirrel() where the font wasn't placed in the
    user specified location

systemfonts 1.2.0

17 Jan 07:16

Choose a tag to compare

  • Providing the font name as the family should now result in better matching
  • Improved the fallback options for Windows so that as many scripts are now
    covered
  • Add infrastructure to add uninstalled font files to the search path used for
    font matching
  • Add facilities to download and register fonts from web repositories such as
    Google Fonts and Font Squirrel
  • Add require_font() that does it's best to ensure that a given font is
    available after being called.
  • Added functions for extracting outline and raster representation of glyphs

systemfonts 1.1.0

15 May 12:05

Choose a tag to compare

  • match_fonts() have been added as a vectorized and generalized version of
    match_font(). In the process match_font() has been deprecated in favour of
    match_fonts()
  • Two internal functions for converting weight and width names to integers have
    been exported
  • Fix a segfault on macOS when the system encounters a corrupted font collection
    (#113)

systemfonts 1.0.6

07 Mar 13:50
a0e0b79

Choose a tag to compare

  • Fix a bug in shape_string() using vjust = 1 (#85)

systemfonts 1.0.5

10 Oct 07:38
2253b67

Choose a tag to compare

  • Use Courier New as default mono font on macOS instead of Courier to avoid
    issues between FreeType and Courier (#105)