kicad/tools/newstroke/README.txt

53 lines
1.6 KiB
Plaintext

Newstroke Font Readme
=====================
Newstroke is a stroke (plotter) font originally designed for KiCAD.
Project homepage: http://vovanium.ru/sledy/newstroke
Files
-----
font.lib - main glyph library in KiCAD library format
symbol.lib - glyph library for most math, tech and other symbols
CJK_symbol.lib - CJK symbols
CKJ_wide.lib - CJK characters, widened by a factor of 1.5
katakana.lib - Japanese script
hiragana.lib - Japanese script
half_full.lib - U+FF00 half- and full-width forms
charlist.txt - unicode glyph map list
fontconv.awk - AWK script for 'compiling' project to c-source used by KiCAD
../../common/newstroke_font.cpp
- C source with the font, generated by fontconv.awk
Other Files
-----------
font_draft1.lib - old draft glyph library with the metrics from Hersheys Simplex
font.pro - KiCAD project
Requirements
------------
KiCAD (http://kicad.sourceforge.net/) - for glyph editing
AWK - for font generating
Usage
-----
* Edit glyps with KiCAD 5.1 EESchema library editor.
See the note below for special handling of CJK_wide.lib
* Add Unicode positions to charlist.
* Generate font using following command line:
awk -f fontconv.awk symbol.lib font.lib CJK_symbol.lib CKJ_wide.lib \
hiragana.lib katakana.lib half_full.lib charlist.txt \
>../../common/newstroke_font.cpp
Note
----
The CKJ_wide.lib file is not editable using EESchema editor directly.
To edit:
* Unscale the file back to CKJ_lib.lib using unscale.py
* Edit glyphs using KiCAD 5.1 EESchema library editor.
* Rescale the file from CKJ_lib.lib to CKJ_wide.lib using scale.py
Released under CC0 licence.