diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:36 +0000 |
commit | 2939242967231097459df0fc3150fabc2f639111 (patch) | |
tree | 00fe7273a946e43cc5d5b9fb00250af4fe82866e /Master/texmf-dist/tex/fontinst/cyrfinst/derivatives/lcycj.etx | |
parent | 5bcbcf594f1d7f279c5897da00d676e6270a0a9a (diff) |
trunk/Master/texmf-dist/tex/fontinst
git-svn-id: svn://tug.org/texlive/trunk@612 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/fontinst/cyrfinst/derivatives/lcycj.etx')
-rw-r--r-- | Master/texmf-dist/tex/fontinst/cyrfinst/derivatives/lcycj.etx | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/fontinst/cyrfinst/derivatives/lcycj.etx b/Master/texmf-dist/tex/fontinst/cyrfinst/derivatives/lcycj.etx new file mode 100644 index 00000000000..853fe71833c --- /dev/null +++ b/Master/texmf-dist/tex/fontinst/cyrfinst/derivatives/lcycj.etx @@ -0,0 +1,47 @@ +\relax + +% LCYcj.etx -- install an LCY-encoded faked small-caps & oldstyle font +% +% This is used exclusively to install faked small-caps fonts; +% real small caps fonts are installed using the default LCY.etx. + +\encoding + +\setcommand\lc#1#2{#1small} +\setcommand\uc#1#2{#1} +\setcommand\lclig#1#2{#1small} +\setcommand\uclig#1#2{#1} +\setcommand\digit#1{#1oldstyle} +\setcommand\currency{dollar} + +% The default letter spacing is 1/10 of the design size, with small +% caps 80% the size of large caps. + +\setint{smallcapsscale}{800} + +\ifisglyph{space}\then + \setint{interword}{\width{space}} +\else\ifisglyph{i}\then + \setint{interword}{\width{i}} +\else + \setint{interword}{333} +\fi\fi + +\ifisint{monowidth}\then + \setint{smallcapsextraspace} + {\div{\scale{\int{interword}}{\sub{1000}{\int{smallcapsscale}}}}{2}} + \setint{smallcapsspacing}{0} +\else + \setint{smallcapsextraspace}{0} + \setint{smallcapsspacing}{50} +\fi + +\ifisint{capspacing}\then + \setint{letterspacing}{\int{capspacing}} +\else + \setint{letterspacing}{\int{smallcapsspacing}} +\fi + +\inputetx{LCY} + +\endencoding |