diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-05 00:40:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-05 00:40:03 +0000 |
commit | 1464527159aa1d2463f505eacc5e09aea1cbcd00 (patch) | |
tree | dfa283928d19b529d5a06f3edab3ba5ba1329eb8 /Master/texmf-dist/tex/latex/fonts-tlwg/lthttypist.fd | |
parent | 7071967abdc4ecd0ebbbb1bab886b78d0e3e4aeb (diff) |
fonts-tlwg (4oct17)
git-svn-id: svn://tug.org/texlive/trunk@45469 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fonts-tlwg/lthttypist.fd')
-rw-r--r-- | Master/texmf-dist/tex/latex/fonts-tlwg/lthttypist.fd | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/fonts-tlwg/lthttypist.fd b/Master/texmf-dist/tex/latex/fonts-tlwg/lthttypist.fd index 4c213718a98..659ff2baa80 100644 --- a/Master/texmf-dist/tex/latex/fonts-tlwg/lthttypist.fd +++ b/Master/texmf-dist/tex/latex/fonts-tlwg/lthttypist.fd @@ -4,7 +4,7 @@ % % 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. @@ -12,23 +12,32 @@ % 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}{<->s * ttypist}{} -\DeclareFontShape{LTH}{ttypist}{m}{sl}{<->s * ttypist_o}{} +\DeclareFontShape{LTH}{ttypist}{m}{n}{<-> \fontstlwg@@scale ttypist}{} +\DeclareFontShape{LTH}{ttypist}{m}{sl}{<-> \fontstlwg@@scale ttypist_o}{} %%%%%%% bold series -\DeclareFontShape{LTH}{ttypist}{b}{n}{<->s * ttypist_b}{} -\DeclareFontShape{LTH}{ttypist}{b}{sl}{<->s * ttypist_bo}{} +\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}{} @@ -39,6 +48,6 @@ \DeclareFontShape{LTH}{ttypist}{bx}{it}{<->ssub * ttypist/b/sl}{} \endinput -% +% % EOF % |