[tex-live] osfontdir

Hans Hagen pragma at wxs.nl
Tue Mar 29 10:30:16 CEST 2005


Thomas Esser wrote:
> On Mon, Mar 28, 2005 at 04:55:06PM +0200, Hans Hagen wrote:
> 
>>> $ kpsewhich --format='opentype fonts' LMSansQuotation8-Regular.otf
>>
>>in generic scripts it's painful to take care of platform specific quoting, 
> 
> 
> Hm... There are plenty of formats only available like this:
> 
>   bitmap font
>   TeX system documentation
>   TeX system sources
>   Troff fonts
>   dvips config
>   type42 fonts
>   web2c files
>   other text files
>   other binary files
>   misc fonts
>   opentype fonts
>   pdftex config
> 
> Some of those are quite unimportant for scripts, but "web2c files"
> and "other text files" are relevant to many scripts. So, the current
> implementation of lots of scripts has already to take care of correct
> and portable quoting.
> 
> What I want to say is: if you want to get rid of this problem, you can't
> just change the "opentype fonts" format. A more general approach has to
> be taken.

what i have in mind is something

compare (cmdlineformatstr,internalformatstr) ==

strip spaces from cmdlineformatstr
strip spaces from internalformatstr
cmp both stripped strings

so, in practice

other text files
other textfiles
othertext files
othertextfiles

are all the same; that way there is no need to change existing scripts, since 
the spacy variant is still supported

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the tex-live mailing list