Re: Example of truetype font packaged for tex?
From: uwe@steinmann.cx (Uwe Steinmann)
> On Thu, Apr 19, 2007 at 03:14:02PM +0200, Danai SAE-HAN wrote:
> > Hi!
> >
> > From: uwe@steinmann.cx (Uwe Steinmann)
> > > I'm looking for an example debian package which makes a truetype font
> > > available for tex/latex. Is there any?
> >
> > I'm not sure that dvips actually supports TTF. But I do know that it
> > accepts Type1 fonts.
> dvips supports TTF by using ttf2pk (see http://www.radamir.com/tex/)
> For some reason it just doesn't call mktexpk (or ttf2pk) to create
> the pk font.
Indeed, that was the case with CJK4.5.0, but now I switched to Type1
and am I glad that I did that. ;)
BTW, Werner Lemberg is the author of both ttf2pk and CJK.
> > I have created a source package called latex-cjk-chinese-arphic which
> > converts TTF to Type1 (using Fontforge), and installs everything
> > according to the Debian TeX policy. These Type1 fonts work in dvips,
> > dvipdf(m,mx) and pdftex.
> I have done that too, actually wrote a shell script which does
> all the work and also creates a debian source package. It uses
> ttfto42 or ttf2pfb for convertion to Type[42|1]. Converting TTF to
> Type1 is a solution but not always the best one, because you
> are loosing some information of the TTF.
True.
> > But this method might be a tad complicated for your use.
> > You might try pdf2ps or pdftops.
> That should work, but it would be much nicer if
> latex -> dvips works too.
Try "KPATHSEADEBUG=1 dvips bla.dvi" and see if it shows anything
interesting.
Also check out the missfonts.log file.
Danai SAE-HAN
韓達耐
--
題目:《春日即事》
作者:呂本中(1084-1145)
病起多情白日遲,強來庭下探花期。
雪消池館初春后,人倚欄杆欲暮時。
亂蝶狂蜂俱有意,兔葵燕麥自無知。
池邊垂柳腰支活,折盡長條為寄誰?
Reply to: