From: zhaohs <[EMAIL PROTECTED]>

>   Now I'm looking into your "rules" file, and I want  to apply it to another
> font, say, simsun.ttf. In my case, can I do it like  the following steps:

>   1.Create Unicode encoded subfonts `$(uninamestem)00' ..`$(uninamestem)ff'.
>    
>    fontforge -script subfonts.pe simsun.ttf song Unicode.sfd.
>    
>    Here I'm confused about the name $(uninamestem), what should it be named
> like, *songu* or *song* or any others, and what's difference between the
> $(uninamestem) and $(namestem).

Dunno, you can use anything for $(uninamestem), but "songu" sounds
good.  There has to be a difference between the Unicode fonts and the
other fonts in other encodings.  So a "u" after it make sense IMO.
As long as it's easily identifiable *for you*.  So just use any name
you wish.

$(namestem) is used to install the VF files and to create the .fd and
.fdx files.


>    2.Create a virtual font `$(sfdnamestem)v' which is a clone of 
> `$(uninamestem)v'.
>    
>    perl clonevf.pl songv songsv
> 
>    Here, like the above step, I'm also confused the name of $(sfdnamestem),
> what's the appropriate name of it, in my case, can I use the *songs*?Here, *s*
> in the *songs* standing for *sfd*.

That's fine by me.  Again, as long as you find the name easy to
remember. =)

But pay attention: you use "songv".  If you use "songu" for the
Unicode files, then use "songuv" as the first argument.


>    3.Create virtual fonts `$(sfdnamestem)00' .. `$(sfdnamestem)$(planes)'
> in $(encoding) encoding which use Unicode encoded `$(uninamestem)XX' subfonts 
> as raw fonts and `$(codingscheme)' as the `CODINGSCHEME' parameter value.
>    In my case, I want to map the UTF8 inconding real fonts to GBK, can I do
> it like this:
>   
>    perl uni2sfd.pl song Unicode.sfd songs cjkgbk 

Dunno; I've only tried "cjkgb" and "cjkbig5".


>    4.Finallly, if I want to use the UTF8 environment in latex, what's  the 
> envoking code,  
> like this:    \begin{CJK}{UTF8}{$(uninamestem)}
>     or 
> like this:   \begin{CJK}{UTF8}{$(namestem)} ?

Since you use {UTF8}, you should use $(uninamestem), like "songu".


>     5.Just like the case I've stated in the question 4, if I want to use the
> GBK environment in latex, what's  the envoking code?

Use $(sfdnamestem), like "songs".


Regards



Danai SAE-HAN
韓達耐

-- 
題目:《襄邑道中》
作者:陳與義(1090-1138)

飛花兩岸照船紅,百里榆堤半日風。
臥看滿天云不動,不知云與我俱東。

_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to