xgridfit


Namexgridfit JSON
Version 3.3.0 PyPI version JSON
download
home_page
SummaryAn XML-based hinting language for TrueType fonts
upload_time2023-05-11 21:58:40
maintainer
docs_urlNone
author
requires_python>=3.10.4
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # xgridfit-3
A TrueType hinting language

---

Xgridfit is an language for hinting TrueType fonts. It is an XML-based language, similar to (and in fact inspired by) XSLT. It has been around since before 2006, but version 3 was reborn as a (largely) Python program with Python dependencies. Xgridfit through version 2 was verbose and awkward to use. Version 3 featured a new compact syntax, and version 3.2.10 added a YAML-based language focused on describing the positions of points relative to the origin of a glyph's grid or to other points rather than issuing commands for positioning them. This language (call it Ygridfit) is simple and easy to write, but its main purpose is to support **ygt**, a graphical hinting tool.

Documentation of the XML-based language (both full and compact syntax), is available at the [GitHub development site](https://github.com/psb1558/xgridfit-3).

There is no release for the current version (3.2.18) at GitHub. Instead, install by downloading from PyPi:
```
pip install xgridfit
```
Alternatively, download the code from GitHub, change to the project's root directory (the one with the file `pyproject.toml` in it), and type:
```
pip install .
```
Version 3.3.0  merges most of main() (command line) and the former compile_all (called from Ygt) into one routine (run()). This enables 
merge-mode for Ygt.

Version 3.2.18 logs certain errors rather than exiting (an improvement when a backend for Ygt).

Version 3.2.17 has its own code for exporting to UFO rather than relying on ufoLib2.

Version 3.2.16 adds support for deltas in the YAML notation.

Version 3.2.15 fixes a bug that made a muddle of the cvar table, and removes an obnoxious message.

Version 3.2.14 is revised to accommmodate the new organization of cvar data in ygt.

Version 3.2.13 has small changes to maintain compatibility with ygt

Version 3.2.12 changes from fontTools.ufoLib to ufoLib2 for editing UFOs.

Version 3.2.11 adds the ability to save instructions and associated data to a UFO (version 3)

Version 3.2.10 supports "min" (minimum distance) attribute for hints and emits fewer messages when run from ygt.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "xgridfit",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10.4",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "\"Peter S. Baker\" <b.tarde@mail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ce/f7/f57e3ac88f0e7d56c728c02939cd98ea94ae7d8c76c0b7749400363773e8/xgridfit-3.3.0.tar.gz",
    "platform": null,
    "description": "# xgridfit-3\nA TrueType hinting language\n\n---\n\nXgridfit is an language for hinting TrueType fonts. It is an XML-based language, similar to (and in fact inspired by) XSLT. It has been around since before 2006, but version 3 was reborn as a (largely) Python program with Python dependencies. Xgridfit through version 2 was verbose and awkward to use. Version 3 featured a new compact syntax, and version 3.2.10 added a YAML-based language focused on describing the positions of points relative to the origin of a glyph's grid or to other points rather than issuing commands for positioning them. This language (call it Ygridfit) is simple and easy to write, but its main purpose is to support **ygt**, a graphical hinting tool.\n\nDocumentation of the XML-based language (both full and compact syntax), is available at the [GitHub development site](https://github.com/psb1558/xgridfit-3).\n\nThere is no release for the current version (3.2.18) at GitHub. Instead, install by downloading from PyPi:\n```\npip install xgridfit\n```\nAlternatively, download the code from GitHub, change to the project's root directory (the one with the file `pyproject.toml` in it), and type:\n```\npip install .\n```\nVersion 3.3.0  merges most of main() (command line) and the former compile_all (called from Ygt) into one routine (run()). This enables \nmerge-mode for Ygt.\n\nVersion 3.2.18 logs certain errors rather than exiting (an improvement when a backend for Ygt).\n\nVersion 3.2.17 has its own code for exporting to UFO rather than relying on ufoLib2.\n\nVersion 3.2.16 adds support for deltas in the YAML notation.\n\nVersion 3.2.15 fixes a bug that made a muddle of the cvar table, and removes an obnoxious message.\n\nVersion 3.2.14 is revised to accommmodate the new organization of cvar data in ygt.\n\nVersion 3.2.13 has small changes to maintain compatibility with ygt\n\nVersion 3.2.12 changes from fontTools.ufoLib to ufoLib2 for editing UFOs.\n\nVersion 3.2.11 adds the ability to save instructions and associated data to a UFO (version 3)\n\nVersion 3.2.10 supports \"min\" (minimum distance) attribute for hints and emits fewer messages when run from ygt.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "An XML-based hinting language for TrueType fonts",
    "version": "3.3.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ebd1c17bf6ce809fce9a670de2f66f4254abbc792a5ca00bcbd3d22a52113b40",
                "md5": "6996fe1b4e51403ed89eb58296a60408",
                "sha256": "0fa99dc9561d8fad1206ac8cead7dcc03f1defa5d5ce17c0b848cc69755a9ba8"
            },
            "downloads": -1,
            "filename": "xgridfit-3.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6996fe1b4e51403ed89eb58296a60408",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.4",
            "size": 137907,
            "upload_time": "2023-05-11T21:58:12",
            "upload_time_iso_8601": "2023-05-11T21:58:12.224922Z",
            "url": "https://files.pythonhosted.org/packages/eb/d1/c17bf6ce809fce9a670de2f66f4254abbc792a5ca00bcbd3d22a52113b40/xgridfit-3.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cef7f57e3ac88f0e7d56c728c02939cd98ea94ae7d8c76c0b7749400363773e8",
                "md5": "6bd409c5cb592ab6eb39d1a1248f27a8",
                "sha256": "0e86f314b3780ba1aeaabf290feba9b2ea61078617a733a47e7d8ecd3e89516b"
            },
            "downloads": -1,
            "filename": "xgridfit-3.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6bd409c5cb592ab6eb39d1a1248f27a8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.4",
            "size": 122062,
            "upload_time": "2023-05-11T21:58:40",
            "upload_time_iso_8601": "2023-05-11T21:58:40.169978Z",
            "url": "https://files.pythonhosted.org/packages/ce/f7/f57e3ac88f0e7d56c728c02939cd98ea94ae7d8c76c0b7749400363773e8/xgridfit-3.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-11 21:58:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "xgridfit"
}
        
Elapsed time: 0.08356s