From: Werner LEMBERG <[EMAIL PROTECTED]>
Date: Sun, 28 May 2006 10:37:26 +0200 (CEST)

> > Do I need to use `sfd2uni.pl' and `hlatex2agl.pl' on e.g. umjb/wmjb
> > just as I did for umj/wmj?
> Yes, I think so, because those fonts have separate designs.  This
> creates many, many files :-)

The Jamo fonts only have fonts like "jmj" and "wjmj", no "ujmj".
Would the "real namestem" be "jmj" or "ujmj"?


> >  Or do I better replace the
> >   "\DeclareFontShape{C70}{mj}{b}{n}{<-> CJKb * uwmj}{\CJKbold}"
> > line with "uwmjb"?  If I choose the first option, wouldn't I also
> > create fonts that are "double bold fonts"?
> I don't understand this question.  The file UTF8/c70mj.fd should look
> like this
> 
>    ...
>    \DeclareFontShape{C70}{mj}{m}{n}{<-> CJK * uwmj}{}
>    ...
>    \DeclareFontShape{C70}{mj}{b}{n}{<-> CJK * uwmjb}{}
>    ...
> 
> if you add real bold fonts.

IC.  So I'll adjust my Makefile, and use the real bold fonts instead.
It will indeed use more space, but it's not that Debian users will
have to upgrade to a new version of this package every month.


> > Is it possible to change the line
> >   "read_sfdfile("UKS-HLaTeX.sfd", [EMAIL PROTECTED], [EMAIL PROTECTED]);"
> > in hlatex2agl.pl to
> >   "my $sfdfile = $ARGV[0];"
> > or something similar, just like in sfd2uni.pl and the other Perl
> > scripts?
> Of course it is possible, but I don't see a reason for it.  Why do you
> need that?

Nah, it's just that with every Perl script I can just point to the .sfd
file in $TEXMF, but hlatex2agl.pl expects the .sfd file in $ĈURDIR, so
I have to copy it in every directory where I want to build the fonts.
But that's okay; I don't mind.


> > When creating the Myoungjo fonts, I encounter a warning somewhere:
> >   "Creating virtual property list file `wmj04.vf.vpl'...
> >    Bad VF file: Character 251 in font 0 will be ignored
> >    Bad VF file: Character 252 in font 0 will be ignored
> >    Bad VF file: Character 253 in font 0 will be ignored
> >    Bad VF file: Character 254 in font 0 will be ignored
> >    Reading `wmj04.vf.vpl'..."
> Those are the VF files coming with the original font package.  It
> seems that Koaung-Hi's scripts aren't perfect :-) I think those
> messages are harmless -- perhaps you can report those minor problems
> to him.

Will do.


> > With the Gothic fonts, there are even more warnings:
> >    Creating virtual property list file `wgt05.vf.vpl'...
> >    Use of uninitialized value in concatenation (.) 
> >      or string at hlatex2agl.pl line 251, <VPL> line 675.
> >      [...]
> >
> > What does this mean?
> This is a serious bug in my script.  It can only handle fonts which
> have the same name stem.  Since wgt05.vf and wgt06.vf use umj04, it
> fails.  I wasn't aware that `gothic' depends on `myoungjo' :-(
> 
> I don't have time currently to work on this.  Fixes are welcome (but
> this is non-trivial, I fear).
>
> Maybe it would be good to remove this dependency, mainly for packaging
> reasons.  What about this:
> 
>   1. Copy and rename umj04.{pfb,afm,tfm} to ugt04.{pfb,afm,tfm}.
> 
>   2. Edit wgt05.vf and wgt06.vf to refer to ugt04.
> 
>   3. Add a note to a README file.
> 
> Steps 1 and 2 could be realized with a script, I think.

I am currently making a Makefile that will take care of installing
every HLaTeX font that the user wants.  It won't be ready for some
time, because I'm trying to make it as flexible as I can.


> Additionally, the problems with my script disappear. :-)

It has indeed, like snow under the sun!  Thanks.
In the Makefile I used the following lines:

  if [[ $(fontname) = gothic ]];\
    then cp /usr/share/texmf/fonts/{afm,tfm,type1}/uhc/myoungjo/umj04* gothic/; 
\
    rename 's/umj/ugt/' gothic/umj04*; \
    for i in 05 06; \
      do cat /usr/share/texmf/fonts/vf/uhc/gothic/wgt$$i.vf | sed 
's/umj04/ugt04/g' > gothic/wgt$$i.vf; \
    done; fi



Best regards



Danai SAE-HAN
韓達耐

-- 
题目:《春怀示邻里》
作者:陈师道(1053-1101)

断墙着雨蜗成字,老屋无僧燕作家,
剩欲出门追语笑,却嫌归鬓著尘沙。
风翻蛛网开三面,雷动蜂窠趁两衙。
屡失南邻春事约,只今容有未开花。

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

Reply via email to