help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] Does texinfo support Chinese font?


From: Karl Berry
Subject: Re: [help-texinfo] Does texinfo support Chinese font?
Date: Tue, 26 Jul 2005 19:21:08 +0200

    If I want to use Chinese font by using texinfo, what should I do?

I don't know, sorry.

I received patches a long time ago for Korean, but unfortunately haven't
been able to apply them.  I'm not sure it will help at all with Chinese,
but it's all I have to offer ...

If you (or anyone) comes up with anything, please let me know.

Karl


Date: 02 Mar 2000 09:36:26 +0900
From: Changwoo Ryu <address@hidden>
To: Karl Berry <address@hidden>
Cc: address@hidden
Subject: Re: Korean fonts settings with Omega..

[...]

The below is an add-hoc texinfo.tex patch..  But I don't know what the
\ocpBLAHBLAHs do.  :)

This needs HLaTeX fonts & .ocp/.otp files from CTAN.

--- texinfo.tex.orig    Thu Mar  2 09:12:26 2000
+++ texinfo.tex Thu Mar  2 09:14:33 2000
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{1999-09-25.10}
+\def\texinfoversion{2000-03-02.09}
 %
 % Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
 % Free Software Foundation, Inc.
@@ -1041,13 +1041,133 @@
 % #3 is the font's design size, #4 is a scale factor
 \def\setfont#1#2#3#4{\font#1=\fontprefix#2#3 scaled #4}
 
-% Use cm as the default font prefix.
-% To specify the font prefix, you must define \fontprefix
-% before you read in texinfo.tex.
-\ifx\fontprefix\undefined
-\def\fontprefix{cm}
-\fi
-% Support font families that don't use the same naming scheme as CM.
+% % Use cm as the default font prefix.
+% % To specify the font prefix, you must define \fontprefix
+% % before you read in texinfo.tex.
+% \ifx\fontprefix\undefined
+% \def\fontprefix{cm}
+% \fi
+% % Support font families that don't use the same naming scheme as CM.
+% \def\rmshape{r}
+% \def\rmbshape{bx}               %where the normal face is bold
+% \def\bfshape{b}
+% \def\bxshape{bx}
+% \def\ttshape{tt}
+% \def\ttbshape{tt}
+% \def\ttslshape{sltt}
+% \def\itshape{ti}
+% \def\itbshape{bxti}
+% \def\slshape{sl}
+% \def\slbshape{bxsl}
+% \def\sfshape{ss}
+% \def\sfbshape{ss}
+% \def\scshape{csc}
+% \def\scbshape{csc}
+
+% \ifx\bigger\relax
+% \let\mainmagstep=\magstep1
+% \setfont\textrm\rmshape{12}{1000}
+% \setfont\texttt\ttshape{12}{1000}
+% \else
+% \setfont\textrm\rmshape{10}{\mainmagstep}
+% \setfont\texttt\ttshape{10}{\mainmagstep}
+% \fi
+% % Instead of cmb10, you many want to use cmbx10.
+% % cmbx10 is a prettier font on its own, but cmb10
+% % looks better when embedded in a line with cmr10.
+% \setfont\textbf\bfshape{10}{\mainmagstep}
+% \setfont\textit\itshape{10}{\mainmagstep}
+% \setfont\textsl\slshape{10}{\mainmagstep}
+% \setfont\textsf\sfshape{10}{\mainmagstep}
+% \setfont\textsc\scshape{10}{\mainmagstep}
+% \setfont\textttsl\ttslshape{10}{\mainmagstep}
+% \font\texti=cmmi10 scaled \mainmagstep
+% \font\textsy=cmsy10 scaled \mainmagstep
+
+% % A few fonts for @defun, etc.
+% \setfont\defbf\bxshape{10}{\magstep1} %was 1314
+% \setfont\deftt\ttshape{10}{\magstep1}
+% \def\df{\let\tentt=\deftt \let\tenbf = \defbf \bf}
+
+% % Fonts for indices, footnotes, small examples (9pt).
+% \setfont\smallrm\rmshape{9}{1000}
+% \setfont\smalltt\ttshape{9}{1000}
+% \setfont\smallbf\bfshape{10}{900}
+% \setfont\smallit\itshape{9}{1000}
+% \setfont\smallsl\slshape{9}{1000}
+% \setfont\smallsf\sfshape{9}{1000}
+% \setfont\smallsc\scshape{10}{900}
+% \setfont\smallttsl\ttslshape{10}{900}
+% \font\smalli=cmmi9
+% \font\smallsy=cmsy9
+
+% % Fonts for title page:
+% \setfont\titlerm\rmbshape{12}{\magstep3}
+% \setfont\titleit\itbshape{10}{\magstep4}
+% \setfont\titlesl\slbshape{10}{\magstep4}
+% \setfont\titlett\ttbshape{12}{\magstep3}
+% \setfont\titlettsl\ttslshape{10}{\magstep4}
+% \setfont\titlesf\sfbshape{17}{\magstep1}
+% \let\titlebf=\titlerm
+% \setfont\titlesc\scbshape{10}{\magstep4}
+% \font\titlei=cmmi12 scaled \magstep3
+% \font\titlesy=cmsy10 scaled \magstep4
+% \def\authorrm{\secrm}
+
+% % Chapter (and unnumbered) fonts (17.28pt).
+% \setfont\chaprm\rmbshape{12}{\magstep2}
+% \setfont\chapit\itbshape{10}{\magstep3}
+% \setfont\chapsl\slbshape{10}{\magstep3}
+% \setfont\chaptt\ttbshape{12}{\magstep2}
+% \setfont\chapttsl\ttslshape{10}{\magstep3}
+% \setfont\chapsf\sfbshape{17}{1000}
+% \let\chapbf=\chaprm
+% \setfont\chapsc\scbshape{10}{\magstep3}
+% \font\chapi=cmmi12 scaled \magstep2
+% \font\chapsy=cmsy10 scaled \magstep3
+
+% % Section fonts (14.4pt).
+% \setfont\secrm\rmbshape{12}{\magstep1}
+% \setfont\secit\itbshape{10}{\magstep2}
+% \setfont\secsl\slbshape{10}{\magstep2}
+% \setfont\sectt\ttbshape{12}{\magstep1}
+% \setfont\secttsl\ttslshape{10}{\magstep2}
+% \setfont\secsf\sfbshape{12}{\magstep1}
+% \let\secbf\secrm
+% \setfont\secsc\scbshape{10}{\magstep2}
+% \font\seci=cmmi12 scaled \magstep1
+% \font\secsy=cmsy10 scaled \magstep2
+
+% % \setfont\ssecrm\bxshape{10}{\magstep1}    % This size an font looked bad.
+% % \setfont\ssecit\itshape{10}{\magstep1}    % The letters were too crowded.
+% % \setfont\ssecsl\slshape{10}{\magstep1}
+% % \setfont\ssectt\ttshape{10}{\magstep1}
+% % \setfont\ssecsf\sfshape{10}{\magstep1}
+
+% %\setfont\ssecrm\bfshape{10}{1315}      % Note the use of cmb rather than 
cmbx.
+% %\setfont\ssecit\itshape{10}{1315}      % Also, the size is a little larger 
than
+% %\setfont\ssecsl\slshape{10}{1315}      % being scaled magstep1.
+% %\setfont\ssectt\ttshape{10}{1315}
+% %\setfont\ssecsf\sfshape{10}{1315}
+
+% %\let\ssecbf=\ssecrm
+
+% % Subsection fonts (13.15pt).
+% \setfont\ssecrm\rmbshape{12}{\magstephalf}
+% \setfont\ssecit\itbshape{10}{1315}
+% \setfont\ssecsl\slbshape{10}{1315}
+% \setfont\ssectt\ttbshape{12}{\magstephalf}
+% \setfont\ssecttsl\ttslshape{10}{1315}
+% \setfont\ssecsf\sfbshape{12}{\magstephalf}
+% \let\ssecbf\ssecrm
+% \setfont\ssecsc\scbshape{10}{\magstep1}
+% \font\sseci=cmmi12 scaled \magstephalf
+% \font\ssecsy=cmsy10 scaled 1315
+% % The smallcaps and symbol fonts should actually be scaled \magstep1.5,
+% % but that is not a standard magnification.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 \def\rmshape{r}
 \def\rmbshape{bx}               %where the normal face is bold
 \def\bfshape{b}
@@ -1063,108 +1183,101 @@
 \def\sfbshape{ss}
 \def\scshape{csc}
 \def\scbshape{csc}
+\ifx\fontprefix\undefined
+\def\fontprefix{cm}
+\fi
+
+\global\ocp\KsxToUni=ksx1001
+\global\ocplist\KsxToUniOCP=
+\addbeforeocplist 1 \KsxToUni
+\nullocplist
+\global\pushocplist\KsxToUniOCP
 
 \ifx\bigger\relax
-\let\mainmagstep=\magstep1
-\setfont\textrm\rmshape{12}{1000}
-\setfont\texttt\ttshape{12}{1000}
+\font\textrm=umj scaled 1200
+\font\texttt=umj scaled 1200
 \else
-\setfont\textrm\rmshape{10}{\mainmagstep}
-\setfont\texttt\ttshape{10}{\mainmagstep}
+\font\textrm=umj scaled 1000
+\font\texttt=ugt scaled 1000
 \fi
-% Instead of cmb10, you many want to use cmbx10.
-% cmbx10 is a prettier font on its own, but cmb10
-% looks better when embedded in a line with cmr10.
-\setfont\textbf\bfshape{10}{\mainmagstep}
-\setfont\textit\itshape{10}{\mainmagstep}
-\setfont\textsl\slshape{10}{\mainmagstep}
-\setfont\textsf\sfshape{10}{\mainmagstep}
-\setfont\textsc\scshape{10}{\mainmagstep}
-\setfont\textttsl\ttslshape{10}{\mainmagstep}
+\font\textbf=umjb scaled 1000
+\font\textit=ugr scaled 1000
+\font\textsl=umjo scaled 1000
+\font\textsf=ugr scaled 1000
+\font\textsc=ugrb scaled 1000
+\font\textttsl=ugto scaled 1000
 \font\texti=cmmi10 scaled \mainmagstep
 \font\textsy=cmsy10 scaled \mainmagstep
-
-% A few fonts for @defun, etc.
-\setfont\defbf\bxshape{10}{\magstep1} %was 1314
-\setfont\deftt\ttshape{10}{\magstep1}
-\def\df{\let\tentt=\deftt \let\tenbf = \defbf \bf}
-
-% Fonts for indices, footnotes, small examples (9pt).
-\setfont\smallrm\rmshape{9}{1000}
-\setfont\smalltt\ttshape{9}{1000}
-\setfont\smallbf\bfshape{10}{900}
-\setfont\smallit\itshape{9}{1000}
-\setfont\smallsl\slshape{9}{1000}
-\setfont\smallsf\sfshape{9}{1000}
-\setfont\smallsc\scshape{10}{900}
-\setfont\smallttsl\ttslshape{10}{900}
 \font\smalli=cmmi9
 \font\smallsy=cmsy9
 
-% Fonts for title page:
-\setfont\titlerm\rmbshape{12}{\magstep3}
-\setfont\titleit\itbshape{10}{\magstep4}
-\setfont\titlesl\slbshape{10}{\magstep4}
-\setfont\titlett\ttbshape{12}{\magstep3}
-\setfont\titlettsl\ttslshape{10}{\magstep4}
-\setfont\titlesf\sfbshape{17}{\magstep1}
-\let\titlebf=\titlerm
-\setfont\titlesc\scbshape{10}{\magstep4}
+
+\font\smallrm=umj scaled 900
+\font\smalltt=umj scaled 900
+\font\smallbf=umjb scaled 900
+\font\smallit=ugr scaled 900
+\font\smallsl=umjo scaled 900
+\font\smallsf=ugr scaled 900
+\font\smallsc=ugrb scaled 900
+\font\smallttsl=ugto scaled 900
+
+\font\titlerm=umj scaled \magstep4
+\font\titlett=umj scaled \magstep4
+\font\titlebf=umjb scaled \magstep4
+\font\titleit=ugr scaled \magstep4
+\font\titlesl=umjo scaled \magstep4
+\font\titlesf=ugr scaled \magstep4
+\font\titlesc=ugrb scaled \magstep4
+\font\titlettsl=ugto scaled \magstep4
+
+\font\titlerm=umj scaled \magstep4
+\font\titlett=umj scaled \magstep4
+\font\titlebf=umjb scaled \magstep4
+\font\titleit=ugr scaled \magstep4
+\font\titlesl=umjo scaled \magstep4
+\font\titlesf=ugr scaled \magstep4
+\font\titlesc=ugrb scaled \magstep4
+\font\titlettsl=ugto scaled \magstep4
 \font\titlei=cmmi12 scaled \magstep3
 \font\titlesy=cmsy10 scaled \magstep4
 \def\authorrm{\secrm}
 
-% Chapter (and unnumbered) fonts (17.28pt).
-\setfont\chaprm\rmbshape{12}{\magstep2}
-\setfont\chapit\itbshape{10}{\magstep3}
-\setfont\chapsl\slbshape{10}{\magstep3}
-\setfont\chaptt\ttbshape{12}{\magstep2}
-\setfont\chapttsl\ttslshape{10}{\magstep3}
-\setfont\chapsf\sfbshape{17}{1000}
-\let\chapbf=\chaprm
-\setfont\chapsc\scbshape{10}{\magstep3}
+\font\chaprm=umj scaled \magstep3
+\font\chaptt=umj scaled \magstep3
+\font\chapbf=umjb scaled \magstep3
+\font\chapit=ugr scaled \magstep3
+\font\chapsl=umjo scaled \magstep3
+\font\chapsf=ugr scaled \magstep3
+\font\chapsc=ugrb scaled \magstep3
+\font\chapttsl=ugto scaled \magstep3
 \font\chapi=cmmi12 scaled \magstep2
 \font\chapsy=cmsy10 scaled \magstep3
 
-% Section fonts (14.4pt).
-\setfont\secrm\rmbshape{12}{\magstep1}
-\setfont\secit\itbshape{10}{\magstep2}
-\setfont\secsl\slbshape{10}{\magstep2}
-\setfont\sectt\ttbshape{12}{\magstep1}
-\setfont\secttsl\ttslshape{10}{\magstep2}
-\setfont\secsf\sfbshape{12}{\magstep1}
-\let\secbf\secrm
-\setfont\secsc\scbshape{10}{\magstep2}
+\font\secrm=umj scaled \magstep2
+\font\sectt=umj scaled \magstep2
+\font\secbf=umjb scaled \magstep2
+\font\secit=ugr scaled \magstep2
+\font\secsl=umjo scaled \magstep2
+\font\secsf=ugr scaled \magstep2
+\font\secsc=ugrb scaled \magstep2
+\font\secttsl=ugto scaled \magstep2
 \font\seci=cmmi12 scaled \magstep1
 \font\secsy=cmsy10 scaled \magstep2
 
-% \setfont\ssecrm\bxshape{10}{\magstep1}    % This size an font looked bad.
-% \setfont\ssecit\itshape{10}{\magstep1}    % The letters were too crowded.
-% \setfont\ssecsl\slshape{10}{\magstep1}
-% \setfont\ssectt\ttshape{10}{\magstep1}
-% \setfont\ssecsf\sfshape{10}{\magstep1}
-
-%\setfont\ssecrm\bfshape{10}{1315}      % Note the use of cmb rather than cmbx.
-%\setfont\ssecit\itshape{10}{1315}      % Also, the size is a little larger 
than
-%\setfont\ssecsl\slshape{10}{1315}      % being scaled magstep1.
-%\setfont\ssectt\ttshape{10}{1315}
-%\setfont\ssecsf\sfshape{10}{1315}
-
-%\let\ssecbf=\ssecrm
-
-% Subsection fonts (13.15pt).
-\setfont\ssecrm\rmbshape{12}{\magstephalf}
-\setfont\ssecit\itbshape{10}{1315}
-\setfont\ssecsl\slbshape{10}{1315}
-\setfont\ssectt\ttbshape{12}{\magstephalf}
-\setfont\ssecttsl\ttslshape{10}{1315}
-\setfont\ssecsf\sfbshape{12}{\magstephalf}
-\let\ssecbf\ssecrm
-\setfont\ssecsc\scbshape{10}{\magstep1}
+\font\ssecrm=umj scaled 1315
+\font\ssectt=umj scaled 1315
+\font\ssecbf=umjb scaled 1315
+\font\ssecit=ugr scaled 1315
+\font\ssecsl=umjo scaled 1315
+\font\ssecsf=ugr scaled 1315
+\font\ssecsc=ugrb scaled 1315
+\font\ssecttsl=ugto scaled 1315
 \font\sseci=cmmi12 scaled \magstephalf
 \font\ssecsy=cmsy10 scaled 1315
-% The smallcaps and symbol fonts should actually be scaled \magstep1.5,
-% but that is not a standard magnification.
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 
 % In order for the font changes to affect most math symbols and letters,
 % we have to define the \textfont of the standard families.  Since



begin 644 hello-ko.texi
M7&EN<'5T('1E>&EN9F\N=&5X("`@("`@("`@("!`8R`M*BUT97AI;F9O+2HM
M"D!C("4J*G-T87)T(&]F(&AE861E<@I`9&]C=6UE;G1L86YG=6%G92!K;PI`
M<V5T9FEL96YA;64@:&5L;&\M:V\N:6YF;PI`<V5T=&ET;&address@hidden,Z[Y[B[(,>E
MO<,*0&9I;F%L;W5T"D!C("4J*F5N9"!O9B!H96%D97(*"D!T:71L97!A9V4*
M0'1I=&QE($=.52!(96QL;R#'[[?.O^P*0'-U8G1I=&QE(,#.N^>XNR#'I;W#
M(,?!M\ZQU[>E"D!A=71H;W(@address@hidden&%V:address@hidden>FEE(&%N9"!T:&4@
M1TY5($AE;&QO($1E=F5L;W!M96YT(%1E86T*0&%U=&AO<B"W^<address@hidden
M0&5N9"!T:71L97!A9V4*"D!I9FEN9F\*0&YO9&address@hidden&]P"D!T;address@hidden&5L;&\*
M"E1H:7,@9FEL92!D;V-U;65N=',@=&AE('1H92!'address@hidden&-O9&5[:&5L;&]]
M(&-O;6UA;address@hidden&\@<')I;address@hidden<F5E=&address@hidden(&EF
M:6YF;PH*0&UE;G4**B"^R+.[.CH@("`@("`@("`@("`@("`@("`@("`@("#`
MS""XQ;2ZOO/`NR#`T+3"N?T**B!#;W!Y:6YG.CH@("`@("`@("`@("`@("`@
M("`@("!'address@hidden)A;"!0=6)L:6,@3&EC96YS90HJ(+"SO^0Z.B`@("`@
M("`@("`@("`@("`@("`@("`@(+"SO^0**B"_N3HZ("`@("`@("`@("`@("`@
M("`@("`@("`@("!`8V]D97MH96QL;WW`QR##XK?"(address@hidden($AE;&QO(+W'
MQ^`Z.B`@("`@("`@("`@("`@("`@($!C;V1E>VAE;&QO?;BF(+W'Q^#'S[3"
M(address@hidden(+FNP:;!H3HZ("`@("`@("`@("`@("`@("`@("`@(+GVL=<@M[G&
M]\:N"address@hidden;`SCHZ("`@("`@("`@("`@("`@("`@("`@("address@hidden;address@hidden
M(&UE;G4*"D!N;V1E(+[(L[L*0&-H87!T97(@P,address@hidden,address@hidden"TPKG]
M"D!C:6YD97@@P-"address@hidden&5X(address@hidden"TPKG]"D!C:6YD97@@
MP-"TPKG]"@K`S""XQ;2ZOO/`NR#`T,"XM\&XZ2##L\"]NL[%S2"]P\#;Q\^P
address@hidden&Q[L'V(+"EMJ>Q[L'V(+_>PLJ_H;RM(+[&MZ&WSBP*P*>_H;RM(+[&
MMZ&WSB#`T+3"M-DN(""address@hidden;address@hidden<@O_C'T;address@hidden
MHR"^[K7POZ&\K;7G(+C&P=8*Q]'`W""XMKW#L>(@P*?'V""]K[SVM;address@hidden:T
MV2X@("C'S\'address@hidden(,'6P,?'S['B(+G9MO6TV2X@(%1H92!+:6YGP+H*N+G`
MNB"PL\#.P/LL(,#\N:[`^R"address@hidden,>PQ<?8(address@hidden"P^K_KQ\_!
M]B"^RK'address@hidden"K''L.W'T;39+BD*"D!C;VYT96YT<PI`8GEE"@H*
$"@H*"@``
`
end


-- 
Changwoo Ryu

    IDIS Co.,Ltd.                        <address@hidden>
    Debian GNU/Linux                     <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]