gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Svg-Lib version 0.3


From: ELPA update
Subject: [GNU ELPA] Svg-Lib version 0.3
Date: Sun, 31 Mar 2024 05:58:16 -0400

Version 0.3 of package Svg-Lib has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Svg-Lib describes itself as:

  ===============================
  SVG tags, progress bars & icons
  ===============================

More at https://elpa.gnu.org/packages/svg-lib.html

## Summary:

  1 SVG Library
  ═════════════

    svg-lib is an Emacs library that allows to create and display various
    SVG objects, namely tags, icons, buttons, progress bars, progress pies
    and dates. Each object is guaranteed to fit nicely in a text buffer
    ensuring width is a multiple of character width and height a multiple
    of character height.


  2 Installation
  ══════════════

    ┌────
    │ M-x package-install RET svg-lib RET
    └────


  3 Quick start
  ═════════════

    For the impatient, evaluate the following expression:

    ┌────
    │ M-: (insert-image (svg-lib-tag "TODO"))
    └────

    This should insert a SVG tag displaying "TODO" in a rounded box whose
    size is exactly 5 characters wide (because of padding).


  4 Usage
  ═══════

  4.1 Objects
  ───────────

    • `svg-lib-tag LABEL'
    • `svg-lib-icon ICON'

## Recent NEWS:

Version 0.3.1
- Added icon only button
- Added face-or-style option to creation functions
- Make svg-lib-tag more generic (can now create tag, icon or icon+tag)
- Various bug fixes

Version 0.3
- Renamed 'svg-lib-button' to 'svg-lib-icon+tag'
- Added interactive 'svg-lib-button' with associtated 'svg-lib-button-mode'
- Added proper documentation in the README

Version 0.2.8
- No background for icon when background color is nil
- Refactored date icons

Version 0.2.7
- Added a dynamic date icon

Version 0.2.6
- Bug fix with bootstrap icon directory

Version 0.2.5
- Bug fix in text size computation

Version 0.2.4
- Better error handling if SVG support is missing

Version 0.2.2
- Added a left/right crop style argument to allow for tags collage.

Version 0.2.1
- Added an alignment parameter for moving tags inside margins.

Version 0.2
- Fix most of the warnings.

Version 0.1:
- Submission to ELPA



reply via email to

[Prev in Thread] Current Thread [Next in Thread]