Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0367d673db
Fetching contributors…

Cannot retrieve contributors at this time

103 lines (86 sloc) 2.996 kb
%
% Unicode page 8D (Kanji) for Tsukurimashou
% Copyright (C) 2011, 2012 Matthew Skala
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, version 3.
%
% As a special exception, if you create a document which uses this font, and
% embed this font or unaltered portions of this font into the document, this
% font does not by itself cause the resulting document to be covered by the
% GNU General Public License. This exception does not however invalidate any
% other reasons why the document might be covered by the GNU General Public
% License. If you modify this font, you may extend this exception to your
% version of the font, but you are not obligated to do so. If you do not
% wish to do so, delete this exception statement from your version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% Matthew Skala
% http://ansuz.sooke.bc.ca/
% mskala@ansuz.sooke.bc.ca
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
beginfont
% AUTODEPS
input buildkanji.mp;
input gradefour.mp;
input gradeone.mp;
input gradesix.mp;
input gradetwo.mp;
input leftrad.mp;
input radical.mp;
do_late_includes;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
vardef kanji.grthree.arouse =
push_pbox_toexpand("kanji.grthree.arouse");
build_kanji.level(build_kanji.lr(540,-20)
(kanji.grtwo.run)
(build_kanji.sscale(yscaled 0.8 shifted (0,70))(kanji.grsix.self)));
replace_strokep(-3)((subpath (0,1) of oldp)..(610,-20)..(890,-10));
replace_strokeq(-3)(insert_nodes(oldq)(1.5));
expand_pbox;
enddef;
vardef kanji.grthree.road =
push_pbox_toexpand("kanji.grthree.road");
build_kanji.level(build_kanji.lr(440,0)
(kanji.leftrad.foot)
(build_kanji.sscale(yscaled 0.94 shifted (0,-20))(kanji.grfour.every)));
expand_pbox;
enddef;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% aka/seki "red"
begintsuglyph("uni8D64",100);
kanji.grone.red;
tsu_render;
endtsuglyph;
% sou/hashi "run"
begintsuglyph("uni8D70",112);
kanji.grtwo.run;
tsu_render;
endtsuglyph;
% ki/o "arouse"
begintsuglyph("uni8D77",119);
kanji.grthree.arouse;
tsu_render;
endtsuglyph;
% ashi/soku "foot"
begintsuglyph("uni8DB3",179);
kanji.grone.foot;
tsu_render;
endtsuglyph;
% ro/michi "road"
begintsuglyph("uni8DEF",239);
kanji.grthree.road;
tsu_render;
endtsuglyph;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
endfont;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Jump to Line
Something went wrong with that request. Please try again.