Skip to content

Releases: mm21/glyphsynth

0.8.1

18 Aug 00:37

Choose a tag to compare

Dependencies

  • Bumped typer to 0.15.0
    • Not the latest, but 0.16.0 fails with no_args_is_help=True

0.8.0

24 May 23:46

Choose a tag to compare

Package structure changes

  • Moved generic graphics capability to drawing subpackage, BaseDrawing base class
  • Added glyph-specific capability in glyph subpackage, BaseGlyph base class
    • Predefined anchor points with which to draw glyphs
    • API to insert nested glyphs with scaling, automatically rescaling stroke size to match parent glyph by default

Glyph library

  • Added runic alphabet: glyphsynth.lib.alphabets.latin.runic

0.7.0

27 Apr 02:34

Choose a tag to compare

Breaking changes

  • Renamed size_canon to canonical_size
  • Removed BaseGlyph.__init__() params parent, insert
  • Return input glyph in insert_glyph()

0.6.1

29 Nov 07:21

Choose a tag to compare

Glyph variant exporting

  • Automatically set glyph class in subclassed BaseVariantFactory from type parameter
    • Avoids redundancy of user setting glyph_cls

0.6.0

29 Nov 01:24

Choose a tag to compare

Glyph API

  • Aggregate glyph params and SVG properties based on whether field is non-None or explicitly set
    • Preserves param defaults while allowing to "unset" fields by explicitly setting to None

0.5.1

29 Nov 00:48

Choose a tag to compare

Drawing API

  • Enable insert_glyph() on Group in addition to BaseGlyph

0.5.0

29 Nov 00:18

Choose a tag to compare

Glyph API

  • Added more specific type hints for SVG property values
  • Use default_params or default_properties to instantiate default params or properties respectively on BaseGlyph subclass
  • Improved gradient creation via create_linear_gradient() and create_radial_gradient(), defined on BaseGlyph and Group

0.3.0

25 Nov 07:41

Choose a tag to compare

Interface changes

  • Added proxy objects for svgwrite elements: Rect, Circle, etc
    • Provide type-safe APIs and conveniences for working with gradients, groups, etc
  • Enable creating elements on a Group instance, nesting created elements under the group

0.2.0

23 Nov 09:11

Choose a tag to compare

API changes

  • draw_*() APIs now take PaintingProperties instance instead of kwargs
    • Enables better type checking and autocompletion