[Linux-users] SCO vs. Novell

Leon Goldstein metapsych
Sun Aug 12 18:08:07 PDT 2007


Tony Alfrey wrote:

>Leon Goldstein wrote:
><snip>
>  
>
>>I've just installed Fedora 7.  I had to use another distro to create a 
>>logical partition for it since its utility seemed unwilling to install 
>>in other than a primary partition.  I have managed to get my sine qua 
>>non app - WP 8.1 - to run on it after some leaping through flaming 
>>hoops.  (If anyone is interested I'll post my how-to.)
>>    
>>
>
>Please post. Thanks
>
>
>
>
>  
>
This is a procedure for installing WP 8.1 (the one from Corel Linux) in 
Fedora 7. 
Credit goes to James R. Tyrer from the WP8/Linux news group for figuring 
out the font installation issue and the fontmapping script.  (I'm not 
sure what the script does, but my WP8.1 install seems to work and print 
OK.  I'm looking for a compatible imwheel RPM to enable scrolling.)

You will need to convert the WP8.1 Deb's to TAR; don't bother trying to 
install as RPM's.

As root:
1.  Untar WP packages in /
2.  Edit /etc/ld.so.conf.d/qt-i386.conf  > add /usr/lib/wp8/wpbin  > run 
command: ldconfig
3.  Symlink: ln -s /lib/ld.2.6.so /lib/ld-linux.so.1
4.  Symlink: ln -s /usr/share/X11/locale /usr/X11R6/lib/X11/locale
5.  mkfontscale -e /usr/share/X11/fonts/encodings -f 90
6.  mkfontdir -e /usr/share/X11/fonts/encodings
7.  /usr/lib/wp8/shbin10/wpfi
8.  Run JRT's script: txfm.sh  (ensure execute bit is set)

#!/bin/bash

echo "" > $PWD/Fontmap

for file in $PWD/*
do 
if [ -f "$file" ]; then

        if [ -f f_o_n_t.pfa ]; then
     rm -f f_o_n_t.pfa
        fi

        font=`basename $file .ttf`
        if [ -f $font.ttf ]; then
         echo -n "font = "$font.ttf"     "
         fontline=`ttf2pt1 -GA -l adobestd -b -p ttf $font.ttf -
2>/dev/null |grep FontName`
         fontname=`echo $fontline 2>/dev/null  |  sed -e
's/FontName* //'`
         echo "fontname = "$fontname
         fontname="/$fontname"
         echo $fontname" ($font.ttf) ;" >> $PWD/Fontmap
        fi

        font=`basename $file .pfa`
        if [ -f $font.pfa ]; then
         echo -n "font = "$font.pfa"     "
         fontline=`cat $font.pfa 2>/dev/null  |grep FontName`
         fontname=`echo $fontline 2>/dev/null  | sed -e
's/\/FontName* //' | sed 's/ def//'`
         echo $fontname" ($font.pfa) ;" >> $PWD/Fontmap
         fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
         echo "fontname = "$fontname
        fi

        font=`basename $file .pfb`
        if [ -f $font.pfb ]; then
         pfb2pfa $font.pfb
         mv $font.pfa f_o_n_t.pfa
         echo -n "font = "$font.pfb"     "
         fontline=`cat f_o_n_t.pfa 2>/dev/null  |grep FontName`
         fontname=`echo $fontline 2>/dev/null  | sed -e
's/\/FontName* //' | sed 's/ def//'`
         echo $fontname" ($font.pfb) ;" >> $PWD/Fontmap
         fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
         echo "fontname = "$fontname
        fi

        if [ -f f_o_n_t.pfa ]; then
         rm -f f_o_n_t.pfa
        fi
fi

done

echo "" >> $PWD/Fontmap

if [ -f f_o_n_t.pfa ]; then
    rm -f f_o_n_t.pfa
fi



-- 
Leon A. Goldstein

Powered by Libranet 2.8 Debian Linux
System LI





More information about the Linux-users mailing list