You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
10 months ago | |
|---|---|---|
| .. | ||
| obsolete | 2 years ago | |
| CJK_symbol.kicad_sym | 1 year ago | |
| CJK_wide_U+4E00.kicad_sym | 1 year ago | |
| CJK_wide_U+5AE6.kicad_sym | 1 year ago | |
| CJK_wide_U+7D2A.kicad_sym | 1 year ago | |
| CJK_wide_U+9C60.kicad_sym | 1 year ago | |
| CJK_wide_U+66B9.kicad_sym | 1 year ago | |
| CJK_wide_U+92B4.kicad_sym | 1 year ago | |
| CJK_wide_U+7212.kicad_sym | 1 year ago | |
| CJK_wide_U+8814.kicad_sym | 1 year ago | |
| CMakeLists.txt | 11 months ago | |
| README.txt | 1 year ago | |
| charlist.txt | 2 years ago | |
| charlist_without_CJK.txt | 3 years ago | |
| coord.txt | 3 years ago | |
| font.kicad_pcb | 3 years ago | |
| font.kicad_pro | 1 year ago | |
| font.kicad_sch | 1 year ago | |
| font.kicad_sym | 1 year ago | |
| font_header.cpp | 10 months ago | |
| fontconv.py | 1 year ago | |
| gen_all_codepoints.py | 1 year ago | |
| half_full.kicad_sym | 1 year ago | |
| hiragana.kicad_sym | 1 year ago | |
| katakana.kicad_sym | 1 year ago | |
| sym-lib-table | 1 year ago | |
| symbol.kicad_sym | 1 year ago | |
| symbols.sch | 3 years ago | |
| test.h | 3 years ago | |
| testlist.txt | 3 years ago | |
README.txt
Newstroke Font Readme
=====================
Newstroke is a stroke (plotter) font originally designed for KiCAD.
Font author: Vladimir Uryvaev (vovanius@bk.ru)
Project homepage: http://vovanium.ru/sledy/newstroke
Files
-----
font.kicad_sym - main glyph library in KiCAD library format
symbol.kicad_sym - glyph library for most math, tech and other symbols
CJK_symbol.kicad_sym - CJK symbols
CJK_wide*.kicad_sym - CJK characters in ranges
katakana.kicad_sym - Japanese script
hiragana.kicad_sym - Japanese script
half_full.kicad_sym - U+FF00 half- and full-width forms
charlist.txt - unicode glyph map list
fontconv.py - 'compiling' .kicad_sym files to C source used by KiCAD
../../common/newstroke_font.cpp
- C source with the font, generated by fontconv.py
gen_all_codepoints.py - Make a string of all codepoints
font.kicad_sch - All codepoints in a schematic (can be used to check font renders)
Other Files
-----------
old/*.lib - the fonts that were originally used to generate .kicad_sym files
old/font_draft1.lib - old draft glyph library with the metrics from Hersheys Simplex
old/font.pro - KiCAD project
Requirements
------------
KiCAD 8 or newer (https://www.kicad.org/download/) - for glyph editing
Python 3.10 or newer - for font generation
Usage
-----
* Edit glyphs with KiCAD 8 or newer EESchema library editor.
* Add/modify Unicode positions to charlist.
* Run the `newstroke_generate_cpp` CMake target
* Internally, this runs:
python fontconv.py
Checking changes
----------------
You can use the font.kicad_sch file to show all codepoints.
If you export this file before and after your change, you can use the `diff-pdf`
tool to see the changes:
```
../build/kicad/kicad-cli sch export pdf ../tools/newstroke/font.kicad_sch -o old.pdf
```
Make your changes, rebuild KiCad. Remember to use your newly-built `kicad-cli`!
```
../build/kicad/kicad-cli sch export pdf ../tools/newstroke/font.kicad_sch -o new.pdf
diff-pdf old.pdf new.pdf -g --view
```
License
-------
Released under CC0 licence.