summaryrefslogtreecommitdiff
path: root/language/chinese/CJK/cjk-4.8.5/utils/thaifont/tools/norasi-c90.fontinst
diff options
context:
space:
mode:
Diffstat (limited to 'language/chinese/CJK/cjk-4.8.5/utils/thaifont/tools/norasi-c90.fontinst')
-rw-r--r--language/chinese/CJK/cjk-4.8.5/utils/thaifont/tools/norasi-c90.fontinst85
1 files changed, 85 insertions, 0 deletions
diff --git a/language/chinese/CJK/cjk-4.8.5/utils/thaifont/tools/norasi-c90.fontinst b/language/chinese/CJK/cjk-4.8.5/utils/thaifont/tools/norasi-c90.fontinst
new file mode 100644
index 0000000000..417f697194
--- /dev/null
+++ b/language/chinese/CJK/cjk-4.8.5/utils/thaifont/tools/norasi-c90.fontinst
@@ -0,0 +1,85 @@
+% norasi-c90.fontinst
+
+% Copyright (C) 1994-2021 Werner Lemberg <wl@gnu.org>
+%
+% 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; either version 2 of the License, or
+% (at your option) any later 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 in doc/COPYING; if not, write to the Free
+% Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+% MA 02110-1301 USA
+
+\input fontinst.sty
+
+\needsfontinstversion{1.918}
+
+
+% we explicitly set all slots in the encoding, so provide all glyph names
+% in AFM files equally (this is, don't create `<glyph>-not' names)
+\let\setnotglyph \setrawglyph
+
+% we want warnings for missing glyphs
+\fontinstcc
+\add_to\pre_fourth_etx_pass_hook{
+ \def\do_slot{
+ \if_undefined{g-\slot_name}\then
+ \fontinstwarningnoline{fontinst}
+ {missing~glyph~`\slot_name'\space
+ for~slot~\the\slot_number\space
+ in~font~`\out_filename'}
+ \fi
+ \do_character
+ }
+}
+\normalcc
+
+
+% create PL files and an FD file
+\installfonts
+ \setint{fontdimen(2)}{500} % SPACE
+ \setint{fontdimen(3)}{300} % STRETCH
+ \setint{fontdimen(4)}{100} % SHRINK
+ \setint{fontdimen(6)}{1000} % QUAD
+ \setint{fontdimen(7)}{0} % EXTRASPACE
+
+ \installrawfont{ftnr8z}{norasi,c90}{c90}
+ {C90}{nrsr}{m}{n}{}
+ \installrawfont{ftnb8z}{norasi_b,c90}{c90}
+ {C90}{nrsr}{bx}{n}{}
+ \installrawfont{ftnbi8z}{norasi_bi,c90}{c90}
+ {C90}{nrsr}{bx}{it}{}
+ \installrawfont{ftni8z}{norasi_i,c90}{c90}
+ {C90}{nrsr}{m}{it}{}
+
+% Thai glyphs in norasi_o and norasi_bo are identical to the shapes
+% in norasi_i and norasi_bi, respectively.
+%
+% \installrawfont{ftno8z}{norasi_o,c90}{c90}
+% {C90}{nrsr}{m}{sl}{}
+% \installrawfont{ftnbo8z}{norasi_bo,c90}{c90}
+% {C90}{nrsr}{bx}{sl}{}
+\endinstallfonts
+
+
+\input finstmsc.sty
+
+
+% create the c90.enc file
+\installfonts
+ % the `makeenc' flag is used in c90.etx
+ \setint{makeenc}{1}
+ \setstr{encodingname}{C90Encoding}
+ \etxtoenc{c90}{c90}
+\endinstallfonts
+
+\end
+
+% end of norasi-c90.fontinst