summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fonts-tlwg/lthnorj.fd
blob: ac4ef18d1d4e711b3e36ff0d2e773db2add280ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
% lthnorj.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 old style figure 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{lthnorj.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}{norj}{}
\DeclareFontShape{LTH}{norj}{m}{n}{<-> \fontstlwg@@scale norasi-osf}{}
\DeclareFontShape{LTH}{norj}{m}{it}{<-> \fontstlwg@@scale norasi_i-osf}{}
\DeclareFontShape{LTH}{norj}{m}{sl}{<-> \fontstlwg@@scale norasi_o-osf}{}
\DeclareFontShape{LTH}{norj}{m}{sc}{<-> \fontstlwg@@scale norasi-osf-sc}{}
\DeclareFontShape{LTH}{norj}{m}{scit}{<-> \fontstlwg@@scale norasi_i-osf-sc}{}
\DeclareFontShape{LTH}{norj}{m}{scsl}{<-> \fontstlwg@@scale norasi_o-osf-sc}{}
%%%%%%% bold series
\DeclareFontShape{LTH}{norj}{b}{n}{<-> \fontstlwg@@scale norasi_b-osf}{}
\DeclareFontShape{LTH}{norj}{b}{it}{<-> \fontstlwg@@scale norasi_bi-osf}{}
\DeclareFontShape{LTH}{norj}{b}{sl}{<-> \fontstlwg@@scale norasi_bo-osf}{}
\DeclareFontShape{LTH}{norj}{b}{sc}{<-> \fontstlwg@@scale norasi_b-osf-sc}{}
\DeclareFontShape{LTH}{norj}{b}{scit}{<-> \fontstlwg@@scale norasi_bi-osf-sc}{}
\DeclareFontShape{LTH}{norj}{b}{scsl}{<-> \fontstlwg@@scale norasi_bo-osf-sc}{}

% Substitutions
\DeclareFontShape{LTH}{norj}{bx}{n}{<->ssub * norj/b/n}{}
\DeclareFontShape{LTH}{norj}{bx}{sl}{<->ssub * norj/b/sl}{}
\DeclareFontShape{LTH}{norj}{bx}{it}{<->ssub * norj/b/it}{}
\DeclareFontShape{LTH}{norj}{bx}{sc}{<->ssub * norj/b/sc}{}
\DeclareFontShape{LTH}{norj}{bx}{scsl}{<->ssub * norj/b/scsl}{}
\DeclareFontShape{LTH}{norj}{bx}{scit}{<->ssub * norj/b/scit}{}
\endinput

%
% EOF
%