
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
ldiconfont
Advanced tools
![]()
Build icon font with SVGs, along with a pixel-perfect line icon set in 24x24 / 16x16 resolution, along with source Ai files and SVG files. Check our Live Demo for ldiconfont in action.
include ldif.min.css file and specify font url:
<link rel="stylesheet" type="text/css" href="ldif.min.css"/>
<style type="text/css">
@font-face {
font-family: 'ldi';
font-weight: normal;
font-style: normal;
src: url('path/to/your/ldif.ttf') format('truetype');
}
</style>
Then, use icon via classes:
<i class="i-plus"></i>
You can make customized builds to tweak icon alignment, but even with the same font sometimes it doesn't align properly with different font size.
You can customize icon vertical position with following CSS:
i.ldif:before
position: relative
top: 0
replace ldif with your custom class and tweak top value to match your font.
run ./bin/makefont.js to make a custom build. available parameters:
dist if omitted.Additionally, you can add a config.json under your input directory, makefont will parse and use it to config build automatically. Check src/vector-files/line/svg/config.json as an example.
You can also use ldiconfont to build your own iconfont by installing ldiconfont then run:
npm install --save ldiconfont
npx ldif ... ( parameters ) ...
sample command for 800 x 800 SVGs:
npx ldif -u 800 -i ~/path/to/svg -a 700.5 -y -90.5 -d out
We suggest using units-per-em greater than 800 to prevent precision loss when converting to ttf.
use npx ldif-server -d <your-font-dist-folder> to start up a test server for viewing the result of your customized build.
Basic construct of SVG Font:
svg: defs: font
font-face
glyph
...
missing-glyph
ldiconfont provides different variants and favors. You can find all of them in dist/<favor>, with source counterparts under src/vector-files/<favor>, including source illustrator file ( raw paths and merged composite shape ) and generated SVG files.
Currently we only provide 3 favors:
MIT
FAQs
iconfont dedicated for loading.io
We found that ldiconfont demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.