summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fonts-tlwg/lthnorx.fd
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-20 21:44:12 +0000
committerKarl Berry <karl@freefriends.org>2021-10-20 21:44:12 +0000
commit31b32838ef38ec3587509fcb5a2a569e6fe5bce5 (patch)
tree7e054efec44d2667eb1e0d72b6455b90cf280223 /Master/texmf-dist/tex/latex/fonts-tlwg/lthnorx.fd
parentc853ff9c658499b16db581bcdbb2c5fa5ce9d0f4 (diff)
fonts-tlwg (19oct21)
git-svn-id: svn://tug.org/texlive/trunk@60817 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fonts-tlwg/lthnorx.fd')
-rw-r--r--Master/texmf-dist/tex/latex/fonts-tlwg/lthnorx.fd68
1 files changed, 68 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/fonts-tlwg/lthnorx.fd b/Master/texmf-dist/tex/latex/fonts-tlwg/lthnorx.fd
new file mode 100644
index 00000000000..527cc2e60a7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/fonts-tlwg/lthnorx.fd
@@ -0,0 +1,68 @@
+% LTHnorx.fd
+%
+% This file is part of the fonts-tlwg package
+%
+% Copyright (C) 1999 National Electronics and Computer Technology Center
+% (NECTEC), Thailand. All rights reserved.
+%
+% It may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work is Theppitak Karoonboonyanan.
+%
+% Created by Surapant Meknavin: surapan@nectec.or.th
+% 2021/06/12 Theppitak Karoonboonyanan <theppitak@gmail.com>
+% - create normal version under Karl Berry's font naming,
+% targeting nfssext-cfr package
+% 2017/09/11 Abhabongse Janthong <abhabongse@gmail.com>
+% - add font scaling
+% 2003/06/02 Chanop Silpa-Anan <chanop@debian.org>
+% - update using basic slant font
+% 2000/05/09 Theppitak Karoonboonyanan <thep@links.nectec.or.th>
+% - font name changed from "nf3x" to "norasi", with bold series added
+% - encoding changed from TIS to LTH, according TeX convention
+
+\ProvidesFile{lthnorx.fd}[2021/06/12 v2.0 Thai font definitions]
+
+% Check if the scale factor has been defined
+\ifcsname fontstlwg@scale\endcsname
+ \edef\fontstlwg@@scale{s * [\csname fontstlwg@scale\endcsname] }%
+\else
+ \def\fontstlwg@@scale{s * }%
+\fi
+
+% Primary declarations
+\DeclareFontFamily{LTH}{norx}{}
+\DeclareFontShape{LTH}{norx}{m}{n}{<-> \fontstlwg@@scale norasi}{}
+\DeclareFontShape{LTH}{norx}{m}{it}{<-> \fontstlwg@@scale norasi_i}{}
+\DeclareFontShape{LTH}{norx}{m}{sl}{<-> \fontstlwg@@scale norasi_o}{}
+\DeclareFontShape{LTH}{norx}{m}{sc}{<-> \fontstlwg@@scale norasi-sc}{}
+\DeclareFontShape{LTH}{norx}{m}{scit}{<-> \fontstlwg@@scale norasi_i-sc}{}
+\DeclareFontShape{LTH}{norx}{m}{scsl}{<-> \fontstlwg@@scale norasi_o-sc}{}
+%%%%%%% bold series
+\DeclareFontShape{LTH}{norx}{b}{n}{<-> \fontstlwg@@scale norasi_b}{}
+\DeclareFontShape{LTH}{norx}{b}{it}{<-> \fontstlwg@@scale norasi_bi}{}
+\DeclareFontShape{LTH}{norx}{b}{sl}{<-> \fontstlwg@@scale norasi_bo}{}
+\DeclareFontShape{LTH}{norx}{b}{sc}{<-> \fontstlwg@@scale norasi_b-sc}{}
+\DeclareFontShape{LTH}{norx}{b}{scit}{<-> \fontstlwg@@scale norasi_bi-sc}{}
+\DeclareFontShape{LTH}{norx}{b}{scsl}{<-> \fontstlwg@@scale norasi_bo-sc}{}
+
+% Substitutions
+\DeclareFontShape{LTH}{norx}{bx}{n}{<->ssub * norasi/b/n}{}
+\DeclareFontShape{LTH}{norx}{bx}{sl}{<->ssub * norasi/b/sl}{}
+\DeclareFontShape{LTH}{norx}{bx}{it}{<->ssub * norasi/b/it}{}
+\DeclareFontShape{LTH}{norx}{bx}{sc}{<->ssub * norasi/b/sc}{}
+\DeclareFontShape{LTH}{norx}{bx}{scsl}{<->ssub * norasi/b/scsl}{}
+\DeclareFontShape{LTH}{norx}{bx}{scit}{<->ssub * norasi/b/scit}{}
+\endinput
+
+%
+% EOF
+%