Re: FreeBSD


Subject: Re: FreeBSD
From: January Weiner 3 (jweiner1@ix.urz.uni-heidelberg.de)
Date: Wed Jan 09 2002 - 05:26:34 CST


Hello,

        I have solved the problem with printing ISO-8859-2 fonts. Just as
a reminder: the problem was that although it is moderately easy for an
experienced user to display ISO-8859-2 characters by copying apropriate
fonts into abiword font directory, they do not appear on the postscript
output. No idea how it exactly works, I don't know anything about
Unicode/abiword internals, I just found out by trial and error that adding
the following line to your .AbiSuite/AbiWord.profile file in the section
<"scheme name="_custom_"> results in a correct output:

        RemapGlyphsMasterSwitch="0"

No idea what it does and whether it is accessible from GUI. It just works.

As for exporting RTFs to CE Word, I use a simple bash script, which does the
job. I know nothing, I understand nothing, it was trial and error again,
but maybe someone finds it useful. I would be very happy if anybody
explained these matters to me or performed at least a standard targetted
RTFM redirection.

Regards,
j.

------8<---------- cut here ---------------
#!/bin/bash

if [ "$1" == "-b" ] ; then
        literki_BACKUP="yes" ;
        shift
fi

if [ -z "$1" ] ; then
          echo "usage: `basename $0` [ -b ] <file1> [ file2 file3 ... ]"
        echo ' -b : keep a backup copy with the extension .tmp'
        exit ;
fi

if [ $literki_BACKUP ] ; then
          echo 'leaving backup in (filename).tmp'
fi

while [ $1 ] ; do
  if [ -f "$1" ] ; then
          echo processing $1
          mv $1 $1.tmp
        cat $1.tmp | sed " s/lang1031/lang1045/g;s/\\'b1/\\'b9/g;s/\\'ea/\\'ea/g;s/\\'f3/\\'f3/g;s/\\'bf/\\'bf/g;s/\\'bc/\\'9f/g;s/\\'f1/\\'f1/g;s/\\'b3/\\'b3/g;s/\\'b6/\\'9c/g;s/\\'e6/\\'e6/g;s/\\'a1/\\'a5/g;s/\\'ca/\\'ca/g;s/\\'d3/\\'d3/g;s/\\'af/\\'af/g;s/\\'ac/\\'8f/g;s/\\'d1/\\'d1/g;s/\\'a3/\\'a3/g;s/\\'a6/\\'8c/g;s/\\'c6/\\'c6/g " > $1
   if [ -z "$literki_BACKUP" ] ; then rm $1.tmp ; fi
else
   echo "File $1 not found"
fi
  shift
done
------8<---------- cut here ---------------

----)-\//-///-----------------------------------January-Weiner-3-------
Any connection between your reality and mine is purely coincidental.

-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.



This archive was generated by hypermail 2b25 : Wed Jan 09 2002 - 05:26:39 CST