kicad/tools/newstroke
Kuba Sunderland-Ober 95b9196703 Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00
..
AUTHOR.txt
CJK_symbol.lib
CKJ_wide.lib
README.txt Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00
charlist.txt Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00
charlist_without_CJK.txt
coord.txt
font-cache.lib
font.dcm
font.kicad_pcb
font.lib Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00
font.pro
font.sch
font_draft.sch
font_draft1.lib
font_header.cpp Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00
fontconv.awk Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00
half_full.lib
hiragana.lib
katakana.lib
scale.py Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00
sym-lib-table
symbol.dcm
symbol.lib
symbols.sch
test.h
testlist.txt
unscale.py Update the scripts to make the font source file fully reproducible. 2023-06-27 20:23:22 +00:00

README.txt

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.