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

Re: splitting fonts in two packages



Hi Martin!

Ralf has already answered most question, but ..

On Fre, 12 Mai 2006, martin f krafft wrote:
> > How do you create the needed fonts.scale? Without that,
> > dh_installxfonts will do nothing IIRC.
> 
> mkfontscale, but I am unsure where to put it. in
> usr/share/fonts/X11/Type1 or under /etc/X11/fonts/X11R7/Type1

new policy, it HAS to be put into
	/etc/X11/fonts/X11R7/Type1
to work with Xorg packages

> > I don't think the dangling links are a problem. At least in sarge,
> > dh_installxfonts doesn't look into the font directories.
> 
> It does in the current version:

Strange, then why do my packages of cm-super-x11 work? I can find the
packages in X.

I think the simplest solution would be to make a foobar package
providing the fonts and *ONLY* depending on tex-common. Basta. And an
-x11 package which depends in turn on the foobar package, as done with
the cm-super packages.

BUT!!!! There is one problem which you have to think about, and why it
MAY be useful to have your version 3:

THere are the fonts: .pfb

There are the TeX font metric files: .tfm, together with .fd, sty etc

There are the .scale and the .afm files for X11

If you want 2 packages, you have to put the fonts together with either
the tfm files and create a -x11 package, or put the fonts together with
the .scale and the .afm files and create a -tex package.

(The problem with cm-super is that the tfm files are those of cmr, so I
have to depend on the respective tetex/texlive packages to get the tfm
files and cannot ship them myself)

So you have three options, as you already mentioned:

1) base(=tex) : pfb + tfm (+ etc)
	depending on tex-common and nothing else
2) x11 : pfb + afm 
	depending on xfonts-utils (this is required! at least according
	to the email XXX (forgot who) sent out/bug reports about font
	transition, see the respective bug report in one of the font
	packages, eg cm-super-x11)
3) base = pfb, plus 2 other packages.

>From the size side I would opt for the first option, because you *ONLY*
have to depend on tex-common which is minimal, and the tfm files are
normally aren't big.

But, as you said, the cleanest solution would be 3, although maybe a bit
"überkandidlt" as we say in german, to much for to less gain.

If I sound a bit unclear or chaotic, please excuse me, I have had a lot
of vine, beer, prosecco, etc etc ... ;-) If something is unclear or you
need help, I can send you a `default' package.

In fact, LISTEN EVERYONE ON THE LIST, it would be good if we would
create a package in this sense, as an example. cm-super is not a good
example, as it hacks a lot around wiht pfb2t1c, and the tfm files are in
other packages. And lmodern does not have the x11 split. So WHY not
create ONE package to show how it should be done?

Martin, would you mind if we put the whole stuff into the debian-tex
repository and we make an example package from it? Is it for debian or
internal for your place?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
AGGLETHORPE (n.)
A dispute between two pooves in a boutique.
			--- Douglas Adams, The Meaning of Liff



Reply to: