Skip to content

Releases: r-lib/systemfonts

systemfonts 0.3.0

01 Sep 20:00
0e8880e
Compare
Choose a tag to compare
  • Added get_cached_face() so that other packages might retrieve FT_Face
    objects from the cache.
  • Adapted cpp11
  • Add infrastructe for setting OpenType font features on a registered font with
    either register_font() or the new register_variant(), along with the
    font_feature() function.

systemfonts 0.2.3

09 Jun 08:56
Compare
Choose a tag to compare
  • Replace the buggy Freetype cache subsystem with own implementation
  • Fix indexing bug in glyph_metrics()

systemfonts v0.2.2

19 May 10:52
Compare
Choose a tag to compare
  • Fix remaining valgrind issues by fixing the included font-manager code
  • Rewrite the text shaping algorithm to make it more future proof
  • Work around a nasty freetype bug in their cache subsystem

systemfonts v0.2.1

29 Apr 18:10
a6fdf5b
Compare
Choose a tag to compare
  • Various fixes to the correctness of compiled code

systemfonts 0.2.0

  • Add string_widths_dev() and string_metrics_dev() to request the current
    graphic device for string widths and metrics.
  • Add system for registering non-system fonts for look-up.
  • systemfonts will now detect user-installed fonts on Windows
    (possible after the 1806 update)
  • Font lookup is now cached for faster performance. The caching will get flushed
    when new fonts are added to the registry, or manually with reset_font_cache()
  • Systemfonts now provide querying of font information with font_info() and
    glyph_info()
  • Basic string shaping is now provided with shape_string()
  • Line width calculation is now available with string_width() (ignores
    presence of newlines, use shape_string() for more complicated strings)
  • Added str_split_emoji() for splitting of strings into substrings of emoji
    and non-emoji glyphs
  • Provide a header file for easy use from within C in other packages
  • Fix memory management issues on Mac
  • Fix handling of erroneous font files on windows

systemfonts v0.1.1

01 Jul 18:45
e9e3ed0
Compare
Choose a tag to compare
  • Fix compilation on systems with a very old fontconfig version (Solaris)

systemfonts v0.1.0

01 Jul 07:17
cdc6a36
Compare
Choose a tag to compare
  • First version with match_font() and system_fonts() capabilities. More to
    come.
  • Added a NEWS.md file to track changes to the package.