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

Bug#366842: tetex-base: unclear license and origin situation of Base 35 PS fonts



Package: tetex-base
Version: 3.0-16bpo1
Severity: important

Let's just gather information in this bug.  I have written a tiny
script:

#!/bin/bash

package=$1;

files=`grep '^[[:space:]]*texmf' debian/tpm/courier.tpm`

wgetFile="./wgetFile" # insecure, but who cares?

for longfile in $files; do
  file=`basename $longfile`
  queryURL="http://www.tex.ac.uk/cgi-bin/ctan-index?$file";
  wget -O $wgetFile $queryURL
  queryResult=`sed -n -e "/^[<]tt[>][[:digit:]]/ {s@.*$file[\"][>]\(.*$file\)[<]/a[>][<]BR[>]@\1@; p}" $wgetFile` 
  resultLines=`echo $queryResult | wc -w`

  if [ "$resultLines" -eq 1 ]; then
    echo "$file: $queryResult" 
  elif [ "$resultLines" -eq 0 ]; then
    echo "$file: No hits"
  else
    echo "File: multiple hits:"
    echo "$queryResult"
  fi
done


which gives output like this, for courier.tpm:

pcrb8a.afm: fonts/psfonts/psnfss-source/courier/pcrb8a.afm
pcrbo8a.afm: fonts/psfonts/psnfss-source/courier/pcrbo8a.afm
File: multiple hits:
fonts/psfonts/psnfss-source/courier/pcrr8a.afm
macros/latex/contrib/pslatex/afm/pcrr8a.afm
pcrro8a.afm: fonts/psfonts/psnfss-source/courier/pcrro8a.afm
ucrb8a.afm: fonts/urw/base35/afm/ucrb8a.afm
ucrbo8a.afm: fonts/urw/base35/afm/ucrbo8a.afm
ucrr8a.afm: fonts/urw/base35/afm/ucrr8a.afm
ucrro8a.afm: fonts/urw/base35/afm/ucrro8a.afm
pcrb.tfm: No hits
pcrb7t.tfm: No hits
...

For the files with one hit, it's clear where we can check the license;
for the ones with multiple hits it shouldn't be hard.  The tfm file in
this case might be in lw35nfss.zip.

Regards, Frank


-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply to: