From b0dddad13a33f2780be0b5dcfe734dc245f3cd89 Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Mon, 26 Jan 2004 16:22:22 +0000 Subject: [PATCH] change fontencoding for omlgc to OT1. --- chise.sty | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/chise.sty b/chise.sty index 04c5f6f..c99a865 100644 --- a/chise.sty +++ b/chise.sty @@ -2,7 +2,7 @@ \ProvidesPackage{chise}[2003/11/26 v.0.2 (Omega/CHISE Team)] % based on mulambda and omega-japanese %\RequirePackage{omega} -\RequirePackage[UT1]{fontenc} +\RequirePackage[OT1]{fontenc} %% options %% @@ -187,9 +187,12 @@ \addbeforeocplist 1 \OCPutf \nullocplist \AtBeginDocument{ - \pushocplist\inutf + \NonCJK } +\def\rmdefault{omlgc} +\def\ttdefault{uctt} + % Settings for CJK \def\selectjisfont{\fontencoding{OT1}\fontfamily{omjis}\selectfont} \def\selectgbsfont{\fontencoding{OT1}\fontfamily{omgbs}\selectfont} @@ -201,6 +204,7 @@ \newenvironment{KSfont}{\pushocplist\uniKS\selectksxfont}{} \newenvironment{CNSfont}{\pushocplist\uniCNS\selectcnsfont}{} \newenvironment{Multifont}{\pushocplist\uniMulti}{} +\newenvironment{NonCJK}{\pushocplist\inutf\fontencoding{OT1}\fontfamily{omlgc}\selectfont}{} \newenvironment{ASCII}{\pushocplist\NilOCP\fontencoding{T1}\fontfamily{\rmdefault}\selectfont}{} \newcommand{\jisfont}[1]{\begingroup% @@ -602,42 +606,42 @@ %%%% redundant font definition to avoid bug of omega. -\DeclareFontFamily{UT1}{omlgc}{} +\DeclareFontFamily{OT1}{omlgc}{} -\DeclareFontShape{UT1}{omlgc}{m}{n}{ +\DeclareFontShape{OT1}{omlgc}{m}{n}{ <->omlgc }{} -\DeclareFontShape{UT1}{omlgc}{m}{sc}{ +\DeclareFontShape{OT1}{omlgc}{m}{sc}{ <-> ssub * omlgc/m/n }{} -\DeclareFontShape{UT1}{omlgc}{m}{it}{ +\DeclareFontShape{OT1}{omlgc}{m}{it}{ <->omlgci }{} -\DeclareFontShape{UT1}{omlgc}{m}{sl}{ +\DeclareFontShape{OT1}{omlgc}{m}{sl}{ <-> ssub * omlgc/m/it }{} -\DeclareFontShape{UT1}{omlgc}{m}{itsc}{ +\DeclareFontShape{OT1}{omlgc}{m}{itsc}{ <-> ssub * omlgc/m/it }{} -\DeclareFontShape{UT1}{omlgc}{m}{slsc}{ +\DeclareFontShape{OT1}{omlgc}{m}{slsc}{ <-> ssub * omlgc/m/it }{} -\DeclareFontShape{UT1}{omlgc}{bx}{n}{ +\DeclareFontShape{OT1}{omlgc}{bx}{n}{ <->omlgcb }{} -\DeclareFontShape{UT1}{omlgc}{bx}{sc}{ +\DeclareFontShape{OT1}{omlgc}{bx}{sc}{ <-> ssub * omlgc/bx/n }{} -\DeclareFontShape{UT1}{omlgc}{bx}{it}{ +\DeclareFontShape{OT1}{omlgc}{bx}{it}{ <->omlgcbi }{} -\DeclareFontShape{UT1}{omlgc}{bx}{itsc}{ +\DeclareFontShape{OT1}{omlgc}{bx}{itsc}{ <-> ssub * omlgc/bx/it }{} -\DeclareFontShape{UT1}{omlgc}{bx}{sl}{ +\DeclareFontShape{OT1}{omlgc}{bx}{sl}{ <-> ssub * omlgc/bx/it }{} -\DeclareFontShape{UT1}{omlgc}{bx}{slsc}{ +\DeclareFontShape{OT1}{omlgc}{bx}{slsc}{ <-> ssub * omlgc/bx/it }{} -- 1.7.10.4