Summary: | cjk-latex unable to deal with font size other than 10pt. xdvi and dvips have mktexpk report that it doesn't "know how to create bitmap font". | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Willie Wong <wongwwy> |
Component: | Current packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cjk, gentoo, mluisser, plaes, text-markup+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cjk-latex-4.6.0.ebuild
cjk-latex-4.5.2.ebuild |
Description
Willie Wong
2004-02-04 00:54:57 UTC
Thanks for the helpful comment. Could you provide (an) ebuild(s) to fix the problem(s)? (I don't have much time to look at it atm, sorry) *** Bug 48194 has been marked as a duplicate of this bug. *** I will take a look at this, usata-san. Go to http://www.magiclinux.org/cgi-bin/viewcvs.cgi download latest chinese portage, then emerge gbkfonts-linux, which help you setup all chinese latex environment automatically. cjk-lyx crashed at the beginning of init, i do not know why, all i can do is rm ~/.lyx and start it. Chinese Gentoo Linux site http://gentoo.linuxsir.org Jackey, I said I'll look into and add your ebuild this weekend, but after I read it I thought it'll take longer than I expected (I'd like to find smarter way to handle fonts installation in that ebuild). Sorry for that. Mamoru, i do not quite get what are you talking about. Are you talking about cjk-lyx ebuild or gbkfonts-linux ebuild. If you are talking about gbkfonts-linux, just forget about it and don't even bother to add into portage. Because it is not an "qualified" ebuild at all (just a hack *^_^*,but works though). My point is that you may be able to use the binary gbkfonts-linux program to deal with Janpanese or Korean TTF fonts. If that is the case, then we can put this on our table and create an ebuild for all of us. BTW, cjk-lyx does crash after first launch, i do not know why, cjk-lyx debug is not very helpful neither, but i do know there is something related to TTF fonts. This very strange, it only happens on Gentoo, I built it on Magic Linux(RPM based Linux), there is nothing wrong. Anyway, thx for your reply so quickly. Let us keep communication like this, so we can build a better cjk solution. I was talking about gbkfonts-linux package you created. I left cjk-lyx (and cjk-latex) to jmglov, but I'll fix cjk-latex (not cjk-lyx) if someone has a patch to fix it. I will not add cjk-lyx even if someone qualifies that the ebuild works (or has a patch to get it work), just because I cannot afford fixing bugs related to cjk-lyx (lyx itself has three open bugs). If there is somebody in cjk or text-markup herd interested in adding it, feel free to do so. So... is there any temporary solution that can help typeset CJK in any size other than 10pt, until the new ebuilds are ready? Dan, Answer is Yes or No, I can make sure that Simplifed Chinese with GBK encoding is fine, but I can not tell that Japanese and Korean are fine. From my personal experience, it should be fine. I am trying to rebuild an overlay portage like www.gentoo.de, so people can use gentoo-dev-kits to emerge the customized portage for Chinese users. But I had to make living first, hope I can have enough spare time to work on this project. Re-assigning the bug, the assignee has retired. This bug is caused by the missing of hbf2gf config file and the path of MISCFONTS in texmf/web2c/texmf.cnf is not include texmf/fonts/hbf, so mktexpk can't create pk fonts for b2ka12. But I don't think it is a good idea to modify texmf/web2c/texmf.cnf, so I make texmf/font/misc, which is included in MISCFONTS's path, a symbol link to texmf/font/hbf. Do this will make the 'mktexpk: don't know how to create bitmap font for b5kai10.' problem to be resolved, but the characters is poorly displayed because the font kai is bitmap font. Install other CJK Type1 fonts from CTAN will be a good idea, I'll try to do it. Created attachment 68629 [details]
cjk-latex-4.6.0.ebuild
This is the modified ebuild.
Created attachment 68716 [details]
cjk-latex-4.5.2.ebuild
Don't use symbol link, directly install hbf fonts into texmf/fonts/misc for
hbf2gf looking hbf fonts in this dir.
should be fixed with 4.7.0 |