CTAN Comprehensive TeX Archive Network

Directory graphics/pgf/contrib/char2path

README.md

CTAN Version GitHub Release GitHub Last Commit Actions Status GitHub Repo stars

The char2path Package

The char2path package provides a package for converting characters into TikZ paths.

Overview

The package provides the \chartopath and \chartoclip macro

\chartopath [<keys>] {<string>}
\chartoclip [<keys>] {<string>}

to print TikZ paths for characters in a string.

See char2path.pdf for more. Happy ing!

Generate tikz path from font

First, install the dependencies:

cd resources/SVG/font2svg
pip install -r requirements.txt

Next, define the following constants:

FONT_FOLDER = "../../Fonts/"
FONT_NAME = "lmmono10-regular.otf"
FONT_ALIAS = 'lmm'

Finally, run the Python script below:

python font2path.py

Issues

The issue tracker for char2path is currently located on GitHub.

Build status

This project uses GitHub Actions as a hosted continuous integration service. For each commit, the build status is tested using the current release of Live.

Current build status:build status

References

[1] https://www.gust.org.pl/projects/e-foundry/latin-modern/download

[2] https://www.unicode.org/standard/standard.html

Copyright and License

Copyright (C) 2023-2025 by zongpingding <zongpingding5@outlook.com> and Mingyu Xia <myhsia@outlook.com>

This package's data is converted from Latin Modern family, which is based on the Computer Modern fonts released into public domain by AMS (1997). It's under the license of The GUS Font License (GFL).

This work may be distributed and/or modified under the conditions of the Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in

http://www.latex-project.org/lppl.txt

and version 1.3c or later is part of all distributions of version 2008 or later.

This work has the LPPL maintenance status maintained'. The Current Maintainer of this work is zongpingding and Mingyu Xia.

Download the contents of this package in one zip archive (700.4k).

char2path – A package that converts characters into TikZ paths

This TikZ-based package provides an easy way to convert characters to TikZ-paths representing these characters.

Packagechar2path
Supporthttps://github.com/zongpingding/char2path/issues
Repositoryhttps://github.com/zongpingding/char2path
Developershttps://github.com/zongpingding
Version1.0.0 2025-07-28
LicensesThe Project Public License 1.3c
Copyright2025 Zongpingding and Mingyu Xia
MaintainerZongping Ding
Mingyu Xia
Contained inTeX Live as char2path
TopicsExperimental 3
PGF TikZ
...
Guest Book Sitemap Contact Contact Author