Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 03:30
· 1 commit to main since this release

Changed

  • Licensing split. Code (*.py, *.R, tests, workflows) is now under the
    MIT License; documentation and skill content (SKILL.md, references/,
    READMEs) stay under CC BY 4.0, now in LICENSE-docs. Creative Commons
    advises against CC licenses for software. Releases up to and including
    0.1.0 remain available under CC BY 4.0.
  • nature_chord.R no longer uses extrafont. The PNG preview now renders through
    cairo as well, so it shows what the PDF will show.

Fixed

  • nature_chord.R: the exported PDF rendered every label as garbage in real
    viewers (PDFium, Ghostscript, MuPDF) while the PNG preview looked correct.
    pdf() with an extrafont-registered Arial embedded no font program, and the
    AFM that Rttf2pt1 generates wrote zero widths for space and hyphen. Both
    export sites now use cairo_pdf(), which embeds Arial as a TrueType subset.
    Without cairo, export falls back to pdf() with base-14 Helvetica.
    (#1, reported by
    @iMiku)

Added

  • Continuous integration (GitHub Actions): lint, the Python test suite on
    Linux, Windows and macOS (Python 3.9 and 3.13), and an R job that runs the
    chord diagram and checks every font in its PDFs is embedded.
  • Test suite in tests/: each self-test still runs and writes its files, the
    style module's PDF keeps text as embedded TrueType, profile_data.py
    detects geo / time / facet / tail structure, and the chord regression test
    for #1.
  • CONTRIBUTING.md, issue templates and a pull-request template.
  • This changelog, and a release workflow that publishes each tag's section of
    it as a GitHub release.
  • requirements.txt / requirements-dev.txt.
  • Pre-submission checklist (references/workflow.md): check that every font
    in the PDF is embedded, and read the PDF itself, not only the PNG preview.