Added files to build/edit new font used in Kicad
This commit is contained in:
parent
edf64afc3b
commit
cba0693e57
|
@ -0,0 +1,4 @@
|
|||
Author:
|
||||
vladimir uryvaev (vovanius@bk.ru)
|
||||
Web site:
|
||||
http://vovanium.ru/_media/sledy/newstroke
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
font_draft1.lib - old draft glyph library with the metrics from Hersheys Simplex
|
||||
font.pro - KiCAD project
|
||||
charlist.txt - unicode glyph map list
|
||||
fontconv.awk - AWK script for 'compiling' project to c-source used by KiCAD
|
||||
newstroke_font.h - generated c header with font
|
||||
|
||||
Requirements
|
||||
------------
|
||||
KiCAD (http://kicad.sourceforge.net/) - for glyph editing
|
||||
AWK - for font generating
|
||||
|
||||
Usage
|
||||
-----
|
||||
* Edit glyps with KiCAD EESchema library editor.
|
||||
* Add Unicode positions to charlist.
|
||||
* Generate font using following command line:
|
||||
|
||||
awk -f fontconv.awk symbol.lib font.lib charlist.txt >newstroke_font.h
|
||||
|
||||
|
||||
Released under CC-BY licence.
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,31 @@
|
|||
C -0,750
|
||||
D -0,700
|
||||
E -0,650
|
||||
F -0,600
|
||||
G -0,550
|
||||
H -0,500
|
||||
I -0,450
|
||||
J -0,400
|
||||
K -0,350
|
||||
L -0,300
|
||||
M -0,250
|
||||
N -0,200
|
||||
O -0,150
|
||||
P -0,100
|
||||
Q -0,050
|
||||
R 0,000
|
||||
S 0,050
|
||||
T 0,100
|
||||
U 0,150
|
||||
V 0,200
|
||||
W 0,250
|
||||
X 0,300
|
||||
Y 0,350
|
||||
Z 0,400
|
||||
[ 0,450
|
||||
\ 0,500
|
||||
] 0,550
|
||||
^ 0,600
|
||||
_ 0,650
|
||||
` 0,700
|
||||
a 0,750
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,533 @@
|
|||
PCBNEW-BOARD Version 1 date Птн 29 Янв 2010 18:29:57
|
||||
|
||||
# Created by Pcbnew(20091221 SVN-R2173)
|
||||
|
||||
$GENERAL
|
||||
LayerCount 2
|
||||
Ly 1FFF8001
|
||||
EnabledLayers 1FFF8001
|
||||
VisibleLayers 1FFF8001
|
||||
VisibleElements 00000FFF
|
||||
Links 0
|
||||
NoConn 0
|
||||
Di 0 0 117000 82670
|
||||
Ndraw 89
|
||||
Ntrack 0
|
||||
Nzone 0
|
||||
LayerThickness 630
|
||||
Nmodule 0
|
||||
Nnets 1
|
||||
$EndGENERAL
|
||||
|
||||
$SHEETDESCR
|
||||
Sheet A4 11700 8267
|
||||
Title ""
|
||||
Date "29 jan 2010"
|
||||
Rev ""
|
||||
Comp ""
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndSHEETDESCR
|
||||
|
||||
$SETUP
|
||||
InternalUnit 0.000100 INCH
|
||||
ZoneGridSize 250
|
||||
Layers 2
|
||||
Layer[0] Задний signal
|
||||
Layer[15] Передний signal
|
||||
TrackWidth 80
|
||||
TrackClearence 100
|
||||
ZoneClearence 200
|
||||
TrackMinWidth 80
|
||||
DrawSegmWidth 150
|
||||
EdgeSegmWidth 150
|
||||
ViaSize 350
|
||||
ViaDrill 250
|
||||
ViaMinSize 350
|
||||
ViaMinDrill 200
|
||||
MicroViaSize 200
|
||||
MicroViaDrill 50
|
||||
MicroViasAllowed 0
|
||||
MicroViaMinSize 200
|
||||
MicroViaMinDrill 50
|
||||
TextPcbWidth 120
|
||||
TextPcbSize 600 800
|
||||
EdgeModWidth 150
|
||||
TextModSize 600 600
|
||||
TextModWidth 120
|
||||
PadSize 600 600
|
||||
PadDrill 320
|
||||
Pad2MaskClearance 100
|
||||
AuxiliaryAxisOrg 0 0
|
||||
$EndSETUP
|
||||
|
||||
$EQUIPOT
|
||||
Na 0 ""
|
||||
St ~
|
||||
$EndEQUIPOT
|
||||
$NCLASS
|
||||
Name "Default"
|
||||
Desc "Класс цепей по умолчанию."
|
||||
Clearance 100
|
||||
TrackWidth 80
|
||||
ViaDia 350
|
||||
ViaDrill 250
|
||||
uViaDia 200
|
||||
uViaDrill 50
|
||||
AddNet ""
|
||||
$EndNCLASS
|
||||
$TEXTPCB
|
||||
Te "ᶠᶡᶢᶣᶤᶥᶦᶧᶨᶩᶪᶫᶬᶭᶮᶯᶰᶱᶲᶳᶴᶵᶶᶷᶸᶹᶺᶻᶼᶽᶾᶿ"
|
||||
Po 39370 22047 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ᶀᶁᶂᶃᶄᶅᶆᶇᶈᶉᶊᶋᶌᶍᶎᶏᶐᶑᶒᶓᶔᶕᶖᶗᶘᶙᶚᶛᶜᶝᶞᶟ"
|
||||
Po 39370 20472 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ᵠᵡᵢᵣᵤᵥᵦᵧᵨᵩᵪᵫᵬᵭᵮᵯᵰᵱᵲᵳᵴᵵᵶᵷᵸᵹᵺᵻᵼᵽᵾᵿ"
|
||||
Po 39370 18898 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ᵀᵁᵂᵃᵄᵅᵆᵇᵈᵉᵊᵋᵌᵍᵎᵏᵐᵑᵒᵓᵔᵕᵖᵗᵘᵙᵚᵛᵜᵝᵞᵟ"
|
||||
Po 39370 17323 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ᴠᴡᴢᴣᴤᴥᴦᴧᴨᴩᴪᴫᴬᴭᴮᴯᴰᴱᴲᴳᴴᴵᴶᴷᴸᴹᴺᴻᴼᴽᴾᴿ"
|
||||
Po 39370 15748 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ᴀᴁᴂᴃᴄᴅᴆᴇᴈᴉᴊᴋᴌᴍᴎᴏᴐᴑᴒᴓᴔᴕᴖᴗᴘᴙᴚᴛᴜᴝᴞᴟ"
|
||||
Po 39370 14173 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ԀԁԂԃԄԅԆԇԈԉԊԋԌԍԎԏԐԑԒԓԔԕԖԗԘԙԚԛԜԝԞԟԠԡԢԣ"
|
||||
Po 15748 62992 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ῠῡῢΰῤῥῦῧῨῩῪΎῬ῭΅`ῲῳῴῶῷῸΌῺΏῼ´῾"
|
||||
Po 39370 48819 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "῀῁ῂῃῄῆῇῈΈῊΉῌ῍῎῏ῐῑῒΐῖῗῘῙῚΊ῝῞῟"
|
||||
Po 39370 47244 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ᾠᾡᾢᾣᾤᾥᾦᾧᾨᾩᾪᾫᾬᾭᾮᾯᾰᾱᾲᾳᾴᾶᾷᾸᾹᾺΆᾼ᾽ι᾿"
|
||||
Po 39370 45669 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ᾀᾁᾂᾃᾄᾅᾆᾇᾈᾉᾊᾋᾌᾍᾎᾏᾐᾑᾒᾓᾔᾕᾖᾗᾘᾙᾚᾛᾜᾝᾞᾟ"
|
||||
Po 39370 44094 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ὠὡὢὣὤὥὦὧὨὩὪὫὬὭὮὯὰάὲέὴήὶίὸόὺύὼώ"
|
||||
Po 39370 42520 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ὀὁὂὃὄὅὈὉὊὋὌὍὐὑὒὓὔὕὖὗὙὛὝὟ"
|
||||
Po 39370 40945 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ἠἡἢἣἤἥἦἧἨἩἪἫἬἭἮἯἰἱἲἳἴἵἶἷἸἹἺἻἼἽἾἿ"
|
||||
Po 39370 39370 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ἀἁἂἃἄἅἆἇἈἉἊἋἌἍἎἏἐἑἒἓἔἕἘἙἚἛἜἝ"
|
||||
Po 39370 37795 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ỠỡỢợỤụỦủỨứỪừỬửỮữỰựỲỳỴỵỶỷỸỹỺỻỼỽỾỿ"
|
||||
Po 39370 36220 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ỀềỂểỄễỆệỈỉỊịỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞở"
|
||||
Po 39370 34646 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặẸẹẺẻẼẽẾế"
|
||||
Po 39370 33071 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ẀẁẂẃẄẅẆẇẈẉẊẋẌẍẎẏẐẑẒẓẔẕẖẗẘẙẚẛẜẝẞẟ"
|
||||
Po 39370 31496 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ṠṡṢṣṤṥṦṧṨṩṪṫṬṭṮṯṰṱṲṳṴṵṶṷṸṹṺṻṼṽṾṿ"
|
||||
Po 39370 29921 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ṀṁṂṃṄṅṆṇṈṉṊṋṌṍṎṏṐṑṒṓṔṕṖṗṘṙṚṛṜṝṞṟ"
|
||||
Po 39370 28346 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ḠḡḢḣḤḥḦḧḨḩḪḫḬḭḮḯḰḱḲḳḴḵḶḷḸḹḺḻḼḽḾḿ"
|
||||
Po 39370 26772 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ḀḁḂḃḄḅḆḇḈḉḊḋḌḍḎḏḐḑḒḓḔḕḖḗḘḙḚḛḜḝḞḟ"
|
||||
Po 39370 25197 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯ"
|
||||
Po 15748 37796 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ʀʁʂʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟ"
|
||||
Po 15748 36221 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿ"
|
||||
Po 15748 34646 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ɀɁɂɃɄɅɆɇɈɉɊɋɌɍɎɏɐɑɒɓɔɕɖɗɘəɚɛɜɝɞɟ"
|
||||
Po 15748 33072 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿ"
|
||||
Po 15748 31497 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟ"
|
||||
Po 15748 29922 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿ"
|
||||
Po 15748 28347 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ǀǁǂǃDŽDždžLJLjljNJNjnjǍǎǏǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟ"
|
||||
Po 15748 26772 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ƠơƢƣƤƥƦƧƨƩƪƫƬƭƮƯưƱƲƳƴƵƶƷƸƹƺƻƼƽƾƿ"
|
||||
Po 15748 25198 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ƀƁƂƃƄƅƆƇƈƉƊƋƌƍƎƏƐƑƒƓƔƕƖƗƘƙƚƛƜƝƞƟ"
|
||||
Po 15748 23623 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "◠◡◢◣◤◥◦◧◨◩◪◫◬◭◮◯◰◱◲◳◴◵◶◷◸◹◺◻◼◽◾◿"
|
||||
Po 62992 51968 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "◀◁◂◃◄◅◆◇◈◉◊○◌◍◎●◐◑◒◓◔◕◖◗◘◙◚◛◜◝◞◟"
|
||||
Po 62992 50393 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "■□▢▣▤▥▦▧▨▩▪▫▬▭▮▯▰▱▲△▴▵▶▷▸▹►▻▼▽▾▿"
|
||||
Po 62992 48819 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "∛~27~=3"
|
||||
Po 40551 74803 1575 2067 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⏠⏡⏢⏣⏤⏥⏦⏧"
|
||||
Po 62992 47244 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⏀⏁⏂⏃⏄⏅⏆⏇⏈⏉⏊⏋⏌⏍⏎⏏⏐⏑⏒⏓⏔⏕⏖⏗⏘⏙⏚⏛⏜⏝⏞⏟"
|
||||
Po 62992 45669 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⎠⎡⎢⎣⎤⎥⎦⎧⎨⎩⎪⎫⎬⎭⎮⎯⎰⎱⎲⎳⎴⎵⎶⎷⎸⎹⎺⎻⎼⎽⎾⎿"
|
||||
Po 62992 44094 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⎀⎁⎂⎃⎄⎅⎆⎇⎈⎉⎊⎋⎌⎍⎎⎏⎐⎑⎒⎓⎔⎕⎖⎗⎘⎙⎚⎛⎜⎝⎞⎟"
|
||||
Po 62992 42519 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⍠⍡⍢⍣⍤⍥⍦⍧⍨⍩⍪⍫⍬⍭⍮⍯⍰⍱⍲⍳⍴⍵⍶⍷⍸⍹⍺⍻⍼⍽⍾⍿"
|
||||
Po 62992 40945 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⍀⍁⍂⍃⍄⍅⍆⍇⍈⍉⍊⍋⍌⍍⍎⍏⍐⍑⍒⍓⍔⍕⍖⍗⍘⍙⍚⍛⍜⍝⍞⍟"
|
||||
Po 62992 39370 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⌠⌡⌢⌣⌤⌥⌦⌧⌨〈〉⌫⌬⌭⌮⌯⌰⌱⌲⌳⌴⌵⌶⌷⌸⌹⌺⌻⌼⌽⌾⌿"
|
||||
Po 62992 37795 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⌀⌁⌂⌃⌄⌅⌆⌇⌈⌉⌊⌋⌌⌍⌎⌏⌐⌑⌒⌓⌔⌕⌖⌗⌘⌙⌚⌛⌜⌝⌞⌟"
|
||||
Po 62992 36220 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⋠⋡⋢⋣⋤⋥⋦⋧⋨⋩⋪⋫⋬⋭⋮⋯⋰⋱⋲⋳⋴⋵⋶⋷⋸⋹⋺⋻⋼⋽⋾⋿"
|
||||
Po 62992 34645 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⋀⋁⋂⋃⋄⋅⋆⋇⋈⋉⋊⋋⋌⋍⋎⋏⋐⋑⋒⋓⋔⋕⋖⋗⋘⋙⋚⋛⋜⋝⋞⋟"
|
||||
Po 62992 33071 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⊠⊡⊢⊣⊤⊥⊦⊧⊨⊩⊪⊫⊬⊭⊮⊯⊰⊱⊲⊳⊴⊵⊶⊷⊸⊹⊺⊻⊼⊽⊾⊿"
|
||||
Po 62992 31496 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⊀⊁⊂⊃⊄⊅⊆⊇⊈⊉⊊⊋⊌⊍⊎⊏⊐⊑⊒⊓⊔⊕⊖⊗⊘⊙⊚⊛⊜⊝⊞⊟"
|
||||
Po 62992 29921 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "≠≡≢≣≤≥≦≧≨≩≪≫≬≭≮≯≰≱≲≳≴≵≶≷≸≹≺≻≼≽≾≿"
|
||||
Po 62992 28346 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "≀≁≂≃≄≅≆≇≈≉≊≋≌≍≎≏≐≑≒≓≔≕≖≗≘≙≚≛≜≝≞≟"
|
||||
Po 62992 26771 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "∠∡∢∣∤∥∦∧∨∩∪∫∬∭∮∯∰∱∲∳∴∵∶∷∸∹∺∻∼∽∾∿"
|
||||
Po 62992 25197 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "∀∁∂∃∄∅∆∇∈∉∊∋∌∍∎∏∐∑−∓∔∕∖∗∘∙√∛∜∝∞∟"
|
||||
Po 62992 23622 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⇠⇡⇢⇣⇤⇥⇦⇧⇨⇩⇪⇫⇬⇭⇮⇯⇰⇱⇲⇳⇴⇵⇶⇷⇸⇹⇺⇻⇼⇽⇾⇿"
|
||||
Po 62992 22047 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⇀⇁⇂⇃⇄⇅⇆⇇⇈⇉⇊⇋⇌⇍⇎⇏⇐⇑⇒⇓⇔⇕⇖⇗⇘⇙⇚⇛⇜⇝⇞⇟"
|
||||
Po 62992 20472 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "↠↡↢↣↤↥↦↧↨↩↪↫↬↭↮↯↰↱↲↳↴↵↶↷↸↹↺↻↼↽↾↿"
|
||||
Po 62992 18897 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "←↑→↓↔↕↖↗↘↙↚↛↜↝↞↟"
|
||||
Po 62992 17323 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "₠₡₢₣₤₥₦₧₨₩₪₫€₭₮₯₰₱₲₳₴₵"
|
||||
Po 62992 14173 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "⁰ⁱ⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽⁾ⁿ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎ₐₑₒₓₔ"
|
||||
Po 62992 12598 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "‰‱′″‴‵‶‷‸‹›※‼‽‾‿⁀⁁⁂⁃⁄⁅⁆⁇⁈⁉⁊⁋⁌⁍⁎⁏⁐⁑⁒⁓⁔⁕⁖⁗⁘⁙⁚⁛⁜⁝⁞"
|
||||
Po 62992 11023 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "‐‑‒–—―‖‗‘’‚‛“”„‟†‡•‣․‥…‧"
|
||||
Po 62992 9449 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ӠӡӢӣӤӥӦӧӨөӪӫӬӭӮӯӰӱӲӳӴӵӶӷӸӹӺӻӼӽӾӿ"
|
||||
Po 15748 61418 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ӀӁӂӃӄӅӆӇӈӉӊӋӌӍӎӏӐӑӒӓӔӕӖӗӘәӚӛӜӝӞӟ"
|
||||
Po 15748 59843 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ҠҡҢңҤҥҦҧҨҩҪҫҬҭҮүҰұҲҳҴҵҶҷҸҹҺһҼҽҾҿ"
|
||||
Po 15748 58268 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "Ҁҁ҂҃҄҅҆҇҈҉ҊҋҌҍҎҏҐґҒғҔҕҖҗҘҙҚқҜҝҞҟ"
|
||||
Po 15748 56694 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ѠѡѢѣѤѥѦѧѨѩѪѫѬѭѮѯѰѱѲѳѴѵѶѷѸѹѺѻѼѽѾѿ"
|
||||
Po 15748 55119 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "абвгдежзийклмнопрстуфхцчшщъыьэюя"
|
||||
Po 15748 53544 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ"
|
||||
Po 15748 51969 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ЀЁЂЃЄЅІЇЈЉЊЋЌЍЎЏѐёђѓєѕіїјљњћќѝўџ"
|
||||
Po 15748 50394 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ϠϡϢϣϤϥϦϧϨϩϪϫϬϭϮϯϰϱϲϳϴϵ϶ϷϸϹϺϻϼϽϾϿ"
|
||||
Po 15748 48820 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟ"
|
||||
Po 15748 47245 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϏ"
|
||||
Po 15748 45669 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήί"
|
||||
Po 15748 44095 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ͰͱͲͳʹ͵Ͷͷͺͻͼͽ;΄΅Ά·ΈΉΊΌΎΏ"
|
||||
Po 15748 42520 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "Сколько 2+2"
|
||||
Po 18898 72835 600 800 120 0
|
||||
De 0 0 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſ"
|
||||
Po 15748 22048 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞş"
|
||||
Po 15748 20473 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿ"
|
||||
Po 15748 18898 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğ"
|
||||
Po 15748 17323 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
|
||||
Po 16142 15748 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß"
|
||||
Po 15748 14174 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te " ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿"
|
||||
Po 15748 12599 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "`abcdefghijklmnopqrstuvwxyz{|}"
|
||||
Po 15748 11025 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_"
|
||||
Po 15748 9450 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te " !@#$%'()*+,-./0123456789:;<=>?"
|
||||
Po 15748 7875 600 800 120 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "LPC2144"
|
||||
nl "2+2=x"
|
||||
Po 28346 72441 600 800 120 0
|
||||
De 15 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "R18"
|
||||
Po 24016 74803 600 800 120 0
|
||||
De 15 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "R18"
|
||||
Po 24016 73228 600 800 120 0
|
||||
De 0 0 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TEXTPCB
|
||||
Te "TEXT EXAMPLE"
|
||||
nl "Qu? 2+2=4"
|
||||
nl "àáâãäåæ"
|
||||
Po 10630 72835 787 591 79 0
|
||||
De 21 1 0 Normal
|
||||
$EndTEXTPCB
|
||||
$TRACK
|
||||
$EndTRACK
|
||||
$ZONE
|
||||
$EndZONE
|
||||
$EndBOARD
|
|
@ -0,0 +1,3 @@
|
|||
EESchema-DOCLIB Version 2.0 Date: Вск 31 Янв 2010 21:30:44
|
||||
#
|
||||
#End Doc Library
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,41 @@
|
|||
update=Срд 13 Янв 2010 11:45:35
|
||||
last_client=eeschema
|
||||
[general]
|
||||
version=1
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=/home/vovanium/projects/kicad-library
|
||||
NetFmt=1
|
||||
HPGLSpd=20
|
||||
HPGLDm=15
|
||||
HPGLNum=1
|
||||
offX_A4=0
|
||||
offY_A4=0
|
||||
offX_A3=0
|
||||
offY_A3=0
|
||||
offX_A2=0
|
||||
offY_A2=0
|
||||
offX_A1=0
|
||||
offY_A1=0
|
||||
offX_A0=0
|
||||
offY_A0=0
|
||||
offX_A=0
|
||||
offY_A=0
|
||||
offX_B=0
|
||||
offY_B=0
|
||||
offX_C=0
|
||||
offY_C=0
|
||||
offX_D=0
|
||||
offY_D=0
|
||||
offX_E=0
|
||||
offY_E=0
|
||||
RptD_X=0
|
||||
RptD_Y=100
|
||||
RptLab=1
|
||||
SimCmd=
|
||||
UseNetN=0
|
||||
LabSize=60
|
||||
[eeschema/libraries]
|
||||
LibName1=font
|
||||
LibName2=power
|
||||
LibName3=symbol
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,334 @@
|
|||
#! /usr/bin/awk -f
|
||||
#
|
||||
# awk script to convert KiCAD font.
|
||||
|
||||
BEGIN {
|
||||
print "/* Automatically converted font */"
|
||||
missed = 0
|
||||
printstats = 1
|
||||
|
||||
code0 = 82 # ascii code for R
|
||||
scale = 50
|
||||
base = 9
|
||||
fontend = ""
|
||||
symdef = "DEL"
|
||||
cap_height = -21
|
||||
x_height = -14
|
||||
sym_height = -16
|
||||
sup_offset = -13
|
||||
sub_offset = 6
|
||||
# transformations props
|
||||
# SX SY OY
|
||||
transf["!"] = "-1 +1 0" # revert
|
||||
transf["-"] = "+1 -1 "x_height # invert small
|
||||
transf["="] = "+1 -1 "cap_height # invert cap
|
||||
transf["~"] = "+1 -1 "sym_height # invert symbol
|
||||
transf["+"] = "-1 -1 "x_height # turn small
|
||||
transf["%"] = "-1 -1 "cap_height # turn cap
|
||||
transf["*"] = "-1 -1 "sym_height # turn symbol
|
||||
transf["^"] = "+1 +1 "sup_offset # superscript
|
||||
transf["`"] = "-1 +1 "sup_offset # superscript reversed
|
||||
transf["."] = "+1 +1 "sub_offset # subscript
|
||||
transf[","] = "-1 +1 "sub_offset # subscript reversed
|
||||
}
|
||||
|
||||
function ntochar(x) {
|
||||
return sprintf("%c",x+code0)
|
||||
}
|
||||
|
||||
function cname(glyph) {
|
||||
if(substr(glyph,1,1) in transf) {
|
||||
return substr(glyph,2)
|
||||
} else {
|
||||
return glyph
|
||||
}
|
||||
}
|
||||
|
||||
function gsx(glyph, tr) {
|
||||
if(substr(glyph,1,1) in transf) {
|
||||
tr = transf[substr(glyph,1,1)]
|
||||
return 0+substr(tr,1,2)
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
function gsy(glyph, tr) {
|
||||
if(substr(glyph,1,1) in transf) {
|
||||
tr = transf[substr(glyph,1,1)]
|
||||
return 0+substr(tr,4,2)
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
function goy(glyph, tr) {
|
||||
#print "// "substr(glyph,1,1)
|
||||
if(substr(glyph,1,1) in transf) {
|
||||
tr = transf[substr(glyph,1,1)]
|
||||
return 0+substr(tr,7)
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
function graph(glyph, subst, ofx, ofy, sx, sy, cn, data, i, j, o, c) {
|
||||
if(subst=="")subst=symdef
|
||||
if(ofx=="") ofx = 0
|
||||
if(ofy=="") ofy = 0
|
||||
if(!(cname(glyph) in fontnst)) {
|
||||
print " /* glyph "glyph" not found!!! */"
|
||||
glyph = subst
|
||||
}
|
||||
sx = gsx(glyph)
|
||||
sy = gsy(glyph)
|
||||
ofy += goy(glyph) + base
|
||||
#print "/* g ofx="ofx" ofy="ofy" */"
|
||||
cn = cname(glyph)
|
||||
data = ""
|
||||
for(i = 0; i<fontnst[cn]; i++) {
|
||||
if(i>0) data = data " R"
|
||||
for(j = 0; j<fontsl[cn" "i]; j++) {
|
||||
c = ntochar(fontx[cn" "i" "j]*sx+ofx) ntochar(fonty[cn" "i" "j]*sy+ofy)
|
||||
if(c!=o) {
|
||||
data = data c
|
||||
o = c
|
||||
}
|
||||
}
|
||||
}
|
||||
fontuse[cn] += 1
|
||||
return data
|
||||
}
|
||||
function metric(glyph, subst, sx, cn, ml, mr) {
|
||||
if(subst=="")subst=symdef
|
||||
if(!(cname(glyph) in fontnst)) glyph = subst
|
||||
sx = gsx(glyph)
|
||||
cn = cname(glyph)
|
||||
ml = sx<0?fontmr[cn]:fontml[cn]
|
||||
mr = sx<0?fontml[cn]:fontmr[cn]
|
||||
return ntochar(sx*ml) ntochar(sx*mr)
|
||||
}
|
||||
function metric2(glyph1, glyph2, ofx1, ofx2, subst, sx, cn, ml, mr) {
|
||||
if(subst=="")subst=symdef
|
||||
if(!(cname(glyph1) in fontnst)) glyph1 = subst
|
||||
sx1 = gsx(glyph1)
|
||||
cn1 = cname(glyph1)
|
||||
if(!(cname(glyph2) in fontnst)) glyph2 = subst
|
||||
sx2 = gsx(glyph2)
|
||||
cn2 = cname(glyph2)
|
||||
ml = sx1<0?fontmr[cn1]:fontml[cn1]
|
||||
mr = sx2<0?fontml[cn2]:fontmr[cn2]
|
||||
return ntochar(sx1*ml+ofx1) ntochar(sx2*mr+ofx2)
|
||||
}
|
||||
function dist(glyph1, glyph2, subst, sx, cn, ml, mr) {
|
||||
if(subst=="")subst=symdef
|
||||
if(!(cname(glyph1) in fontnst)) glyph1 = subst
|
||||
sx1 = gsx(glyph1)
|
||||
cn1 = cname(glyph1)
|
||||
if(!(cname(glyph2) in fontnst)) glyph2 = subst
|
||||
sx2 = gsx(glyph2)
|
||||
cn2 = cname(glyph2)
|
||||
return sx1*fontmr[cn1] - sx2*fontml[cn2]
|
||||
}
|
||||
function offsetx(char, accent, anchor, del, cc, ca, asx, csx) {
|
||||
if("" == anchor || "#" == anchor) return 0;
|
||||
del = index(anchor, "=")
|
||||
if(del) {
|
||||
cc = cname(char)" "substr(anchor,1,del-1)
|
||||
ca = cname(accent)" "substr(anchor,del+1)
|
||||
} else {
|
||||
cc = cname(char)" "anchor
|
||||
ca = cname(accent)" "anchor
|
||||
}
|
||||
if((cc in fontancx) && (ca in fontancx)) {
|
||||
asx = gsx(accent)
|
||||
csx = gsx(char)
|
||||
#print " /* ox="csx*fontancx[cc]-asx*fontancx[ca]" */"
|
||||
return csx*fontancx[cc]-asx*fontancx[ca]
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
function offsety(char, accent, anchor, del, cc, ca, asy, csy, aoy, coy) {
|
||||
if("" == anchor || "#" == anchor) return 0;
|
||||
del = index(anchor, "=")
|
||||
#print " /* del="del" */"
|
||||
if(del) {
|
||||
cc = cname(char)" "substr(anchor,1,del-1)
|
||||
ca = cname(accent)" "substr(anchor,del+1)
|
||||
} else {
|
||||
cc = cname(char)" "anchor
|
||||
ca = cname(accent)" "anchor
|
||||
}
|
||||
if((cc in fontancy) && (ca in fontancy)) {
|
||||
asy = gsy(accent)
|
||||
csy = gsy(char)
|
||||
aoy = goy(accent)
|
||||
coy = goy(char)
|
||||
#print " /* oy="csy*fontancy[cc]+coy-asy*fontancy[ca]-aoy" */"
|
||||
return csy*fontancy[cc]+coy-asy*fontancy[ca]-aoy
|
||||
} else {
|
||||
print " /* anchor "(cc in fontancy?"":cc) (cc in fontancy||ca in fontancy?"":" and ") (ca in fontancy?"":ca)" not found! */"
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
function cesc(s) {
|
||||
gsub(/[\\"']/,"\\\\&",s)
|
||||
return s
|
||||
}
|
||||
|
||||
function gaccent(b,g,anc,cx) {
|
||||
if(!(cname(g) in fontnst)) {
|
||||
missed += 1
|
||||
}
|
||||
|
||||
if(anc=="" || anc=="#") anc=""
|
||||
ofx = offsetx(b,g,anc)
|
||||
ofy = offsety(b,g,anc)
|
||||
return " R"graph(g,accdef,cx+ofx,ofy)
|
||||
}
|
||||
function compose(cx, st) {
|
||||
if(!(cname($2) in fontnst)) {
|
||||
missed += 1
|
||||
}
|
||||
st = graph($2,symdef,cx,0)
|
||||
if($3!="" && $3!="#") {
|
||||
st = st gaccent($2,$3,$4,cx)
|
||||
ofx2 = ofx
|
||||
if($4!="#" && $5!="" && $5!="#") {
|
||||
st = st gaccent($2,$5,$6,cx)
|
||||
if($6!="#" && $7!="" && $7!="#") {
|
||||
st = st gaccent($2,$7,$8,cx)
|
||||
}
|
||||
}
|
||||
}
|
||||
return st
|
||||
}
|
||||
|
||||
# parsing glyph library
|
||||
$1 == "DEF" {
|
||||
name = $2
|
||||
data = ""
|
||||
prepend = ""
|
||||
nst = 0
|
||||
xleft = 0
|
||||
xright = 0
|
||||
fontancx[name" -"] = 0
|
||||
fontancy[name" -"] = 0
|
||||
}
|
||||
|
||||
$1 == "P" { # drawings
|
||||
n = $2*2+6
|
||||
# print "Poly of "$2
|
||||
data = data prepend
|
||||
data_rev = data_rev prepend
|
||||
ox = -100
|
||||
oy = -100
|
||||
j = 0
|
||||
for(i = 6; i<n; i+=2) {
|
||||
x = ($i)/scale
|
||||
y = -($(i+1))/scale
|
||||
#print "X: "x" Y: "y
|
||||
if(x!=ox || y!=oy) {
|
||||
data = data ntochar(x) ntochar(y+base)
|
||||
fontx[name" "nst" "j] = x
|
||||
fonty[name" "nst" "j] = y
|
||||
j++
|
||||
ox = x
|
||||
oy = y
|
||||
}
|
||||
}
|
||||
fontsl[name" "nst] = j
|
||||
nst++
|
||||
prepend = " R"
|
||||
}
|
||||
|
||||
$1 == "X" { # i use pins as metric and anchors
|
||||
fontancx[name" "$2] = $4/scale
|
||||
fontancy[name" "$2] = -$5/scale
|
||||
if($4>0 && $2=="~" || $2=="S") {
|
||||
xright = $4/scale
|
||||
fontmr[name] = $4/scale
|
||||
# print "//Right:" xright
|
||||
} else if($4<=0 && $2=="~" || $2=="P") {
|
||||
xleft = $4/scale
|
||||
fontml[name] = $4/scale
|
||||
# print "//Left:" xleft
|
||||
}
|
||||
}
|
||||
|
||||
$1 == "ENDDEF" {
|
||||
metr = ntochar(xleft) ntochar(xright)
|
||||
fontnst[name] = nst
|
||||
fontuse[name] = 0
|
||||
fi[name] = name
|
||||
}
|
||||
|
||||
# parsing font index
|
||||
$1 == "font" {
|
||||
print fontend
|
||||
print "const static char* "$2"[] ="
|
||||
print "{"
|
||||
fontend = "};"
|
||||
}
|
||||
$1 == "startchar" {
|
||||
codeno = $2
|
||||
}
|
||||
$1 == "+" || $1 == "+w" || $1 == "+p" {
|
||||
comx = 0
|
||||
rem = (codeno%16)?"":sprintf(" /* U+%X %s %s */", codeno, $2, $3)
|
||||
#print "// c "codeno
|
||||
codeno+=1
|
||||
str = compose()
|
||||
met = ("+w"==$1) ? metric2($2, $3, 0, ofx2) : ("+p"==$1) ? metric2($3, $2, ofx2, 0) : metric($2)
|
||||
print " \""cesc(met str) "\","rem
|
||||
}
|
||||
$1 == "+(" {
|
||||
comx = 0
|
||||
rem = (codeno%16)?"":sprintf(" /* U+%X %s %s */", codeno, $2, $3)
|
||||
#print "// c "codeno
|
||||
codeno+=1
|
||||
str = compose(comx)
|
||||
gf = $2
|
||||
gp = $2
|
||||
}
|
||||
$1 == "+|" {
|
||||
comx = comx + dist(gp, $2)
|
||||
#print "// "comx
|
||||
str = str " R" compose(comx)
|
||||
gp = $2
|
||||
}
|
||||
$1 == "+)" {
|
||||
comx = comx + dist(gp, $2)
|
||||
#print "// "comx
|
||||
str = str " R" compose(comx)
|
||||
met = metric2(gf, $2, 0, comx)
|
||||
print " \"" cesc(met str) "\","rem
|
||||
}
|
||||
|
||||
$1 == "skipcodes" {
|
||||
#print " // skip "$2
|
||||
for(i = 0; i<$2; i++) {
|
||||
print " \""cesc(metric(symdef) graph(symdef))"\"," ((codeno%16)?"":sprintf(" /* U+%X */", codeno))
|
||||
codeno += 1
|
||||
}
|
||||
}
|
||||
$1 == "//" {
|
||||
print " /* "$0" */"
|
||||
}
|
||||
$1 == "stats" {
|
||||
printstats = $2
|
||||
}
|
||||
|
||||
END {
|
||||
print fontend
|
||||
if(printstats) {
|
||||
if(missed>0) print "/* Missed glyphs: " missed " */"
|
||||
print "/* --- unused glyphs --- */"
|
||||
for(f in fi) {
|
||||
if(0==fontuse[f]) print "/* "f" */"
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,3 @@
|
|||
EESchema-DOCLIB Version 2.0 Date: Чтв 28 Янв 2010 20:43:31
|
||||
#
|
||||
#End Doc Library
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
|||
/* Automatically converted font */
|
||||
"MWRYSZR[QZRYR[ RRSQGRFSGRSRF", /* U+0 */
|
||||
"MaRYSZR[QZRYR[ RRSQGRFSGRSRF R\\Y]Z\\[[Z\\Y\\[ R\\S[G\\F]G\\S\\F",
|
||||
"MaRYSZR[QZRYR[ RRSQGRFSGRSRF RRYSZR[QZRYR[ RRSQGRFSGRSRF",
|
||||
"CaRFR[ RHFH[\\[\\F R\\[^[^`",
|
||||
"G]PFTFVGXIYMYTXXVZT[P[NZLXKTKMLINGPF RRATATF",
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
+ EXCLAM
|
||||
+w EXCLAM EXCLAM S=P
|
||||
+( EXCLAM
|
||||
+) EXCLAM
|
||||
+( EXCLAM
|
||||
+| EXCLAM
|
||||
+) EXCLAM
|
||||
+ SHA_CAP DESCENDER BOTTOM3=X
|
||||
+ O_CAP DESCENDER ABOVE=X
|
||||
|
||||
stats 0
|
Loading…
Reference in New Issue