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

Re: partial font downloading

From: dhosek@quixote.com (Don Hosek)
Reply-To: dhosek@quixote.com (Don Hosek)
To: tex-fonts@math.utah.edu
Subject: Re: partial font downloading

> Personally, I find the issue of partial font downloading to have  unrecognized

Yes indeed!  
 Which is perhaps one reason why DVIPSONE has been the only program supporting
(aside from the complexities of having to deal with all sorts of weird font
formats and
unexpected stuff in the encrypted section).

> Many programs which create EPS files will NOT
> include the fonts in the EPS files. This is in fact legal EPS  behavior. 

Yes, but then they are *supposed* to include %%IncludeResource: font .... (or
the outdated
%%IncludeFont: ....) DSC comments, *and* the DVI driver is supposed to `expand'
by inserting the corresponding font at that point.

> Unless dvips or dvipsone or whatever reads the DSC comments
> and recognizes that fonts A, B and C are required (which I know dvips does

DVIPSONE does (assuming the required DSC comments are there).

>then the only way to get the fonts into the TeX-generated
>PostScript file is to print something in the required fonts (one
> letter NORMALLY suffices) in white off the edge of the page. 
>Bingo, the font is now included and all works.

Ugh, what a kludge (although it reminds me of some other DVI driver that does
this as
a matter of course :=).  The right way to do this is indicated above. 

Also, use of \special{header=myfont.pfa} is slightly less kludgy method.

>With partial font downloading, the issue becomes much more problematic.

Yes, and if you implement things the obvious way, they will indeed fail in the
way.  In fact you have a problem any time an EPS file uses a font that is also
used in 
the document itself!  But note that this works just fine in DVIPSONE :=)

I always appreciate it when you notice how complicated something really is 
(such as not so long ago in the brief discussion about `on the fly' reencoding

Regards, Berthold.