[EMAIL PROTECTED] writes:
> 
> > How do we prevent bigcheese20.otf from ending up hundreds of times
> > in the output?
> 
> It shouldn't be too difficult:
> 
>   . LilyPond produces EPS files which contain
> 
>       %%DocumentNeededResources: font bigcheese20
> 
>     but doesn't contain the font itself.  (I'm not sure whether such
>     files can be called `EPS' since they aren't fully self-contained.)
> 
>   . The CFF part of bigcheese20.otf is extracted and put into a PS
>     resource which is loaded with the -h option of dvips.  If that
>     doesn't work, lilypond-book simply emits
>     \special{header=bigcheese.cff} at the beginning of the document.

OK.  I just had a change of plans: I'm going to retain the classic
font selection scheme, but for the non-tex backends, the selection
scheme does not produce a PFA font name, but rather a
PangoFontDescription as a string. For lilypond-book, I'm going to
implement the above, setting --backend=ps as the default.

This is not perfect. Ideally, we'd use FontConfig for fontselection
wholesale, but I don't see how we can mix that with Pango, Design
sizes and the TeX backend.

-- 

 Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to