File: lthttypist.fd

package info (click to toggle)
texlive-lang 2018.20190227-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,175,732 kB
  • sloc: perl: 58,868; xml: 39,109; makefile: 4,050; sh: 4,033; python: 2,969; ansic: 2,846; ruby: 1,003; lisp: 714; awk: 636; java: 159; sed: 142; csh: 25; cpp: 12
file content (53 lines) | stat: -rw-r--r-- 1,874 bytes parent folder | download | duplicates (11)
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
% lthttypist.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.
%
% 2017/09/11 Abhabongse Janthong <abhabongse@gmail.com>
%            - add font scaling
% 2006/10/23 Theppitak Karoonboonyanan <thep@linux.thai.net>
%            - first release (based on lthttypist.fd)

\ProvidesFile{lthttypist.fd}[2004/02/05 v1.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}{ttypist}{}
\DeclareFontShape{LTH}{ttypist}{m}{n}{<-> \fontstlwg@@scale ttypist}{}
\DeclareFontShape{LTH}{ttypist}{m}{sl}{<-> \fontstlwg@@scale ttypist_o}{}
%%%%%%% bold series
\DeclareFontShape{LTH}{ttypist}{b}{n}{<-> \fontstlwg@@scale ttypist_b}{}
\DeclareFontShape{LTH}{ttypist}{b}{sl}{<-> \fontstlwg@@scale ttypist_bo}{}

% Substitutions
\DeclareFontShape{LTH}{ttypist}{m}{it}{<->ssub * ttypist/m/sl}{}
\DeclareFontShape{LTH}{ttypist}{b}{it}{<->ssub * ttypist/b/sl}{}

\DeclareFontShape{LTH}{ttypist}{bx}{n}{<->ssub * ttypist/b/n}{}
\DeclareFontShape{LTH}{ttypist}{bx}{sl}{<->ssub * ttypist/b/sl}{}
\DeclareFontShape{LTH}{ttypist}{bx}{it}{<->ssub * ttypist/b/sl}{}
\endinput

%
% EOF
%