A collection of SVGs with paths of their respective alphabets in various fonts.
Adobe XD files for uppercase and lowercase letters are present separately. The reason being that when all letters are changed to paths, their names are set from Path 2 to Path 27. If they are all put in the same file, their remains no order between the letters and their path names.
With the order that we have with names from Path 2 to Path 27, we can use out script process.js
to automate the inlining of SVG styles, and moving them to respective directory.
- Open CharSet_Lowercase.xd or CharSet_Uppercase.xd depending on the case.
- Select all letters (Ctrl/Cmd + A) and change the font.
- Right click any letter -> Path -> Convert to Path.
- All letters should have turned into respective paths. From A being
Path 2
to Z beingPath 27
. - Select all paths in the Layers sidebar.
- Right click any path there -> Mark for batch export.
- Right click any path there -> Export batch.
- In Export Assets window: Format: SVG; Optimized: true; Export to:
/path/to/project_root
. - Click
Export
! - In project root, you could have 26 SVGs, named from
Path 2.svg
toPath 27.svg
. - Run
node process.js "My Font Name" ...
(seeprocess.js
instructions below) - Done!
node process.js "Font Family" upper(default)|lower
# Examples:
node process.js "San Francisco" lower
node process.js "Roboto"