View Single Post
Old 10-03-2013, 05:08 PM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
so after a bit of titting around:

Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Panic: can't load any fonts!

So let's find that:
[root@kindle root]# strings /mnt/us/extensions/siag/usr/bin/siag | grep helv
Quote:
*font: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-*
Then I binary patched:
I patched it with ghex to be 14 (cos we have one of those, in the previous font packs I posted)
(you could use sed) and checked it again:
[root@kindle root]# strings /mnt/us/extensions/siag/usr/bin/siag | grep helv
Quote:
*font: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*
Let's add the path to the custom fonts...

(I fluffed the paths to my fonts. meh. w/e)
[root@kindle root]# xset +fp /mnt/us/extensions/siag/Mowitz/fonts/X11/100dpi/100dpi/

and run it. (probably should have embedded an rpath but the makefile was HUGLY)

[root@kindle root]# LD_LIBRARY_PATH=/mnt/us/extensions/siag/lib:$LD_LIBRARY_PATH /mnt/us/extensions/siag/usr/bin/siag
Warning: Missing charsets in String to FontSet conversion

no explosion...
So I guess that font package I posted is looking good for the job.

Guess I need to patch the titles (or you do) or fronter it.


EDIT: gave it a poke with the
[root@kindle root]# /mnt/us/extensions/fronter/bin/search.sh siag
siag
Defaulting to search window name, class, and classname

(pictured)

I did go back and patch a bit of the sources to see if I could convince the 12 to BE a 14 briefly but buggered if I can find where they hid it.

here's a quick list of the things I patched and their new values
root@kindle:/usr/local/src/siag-3.6.1# grep -R "helv" ./* | grep -v "Binary"
Quote:
./plugins/Form.ad:*font: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*
./plugins/form-ad.h:"*font: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*",
./pw/examples/rtfex.rtf:{\fonttbl{\f0\froman times;}{\f1\froman Times New Roman;}{\f2\fswiss helvetica;}{\f3\froman times;}}
./xcommon/xcommon-ad.h:"*font: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*",
./xed/Xed.ad:XedPlus*dirty.font: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-iso8859-*
./xed/app-defaults.h:"XedPlus*dirty.font: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-iso8859-*",
./xfiler/xfiler-ad.h:"Xfiler*boldFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-iso8859-*",
./xfiler/xfiler-ad.h:"Xfiler*iconFont: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*",
./xfiler/xfiler-ad.h:"Xfiler*labelFont: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*",
./xfiler/Xfiler.ad:Xfiler*boldFont: -*-helvetica-bold-r-*-*-14-*-*-*-*-*-iso8859-*
./xfiler/Xfiler.ad:Xfiler*iconFont: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*
./xfiler/Xfiler.ad:Xfiler*labelFont: -*-helvetica-medium-r-*-*-14-*-*-*-*-*-iso8859-*
./xpw/Pw.ad:Pw*ruler.font: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-*
./xpw/app-defaults.h:"Pw*ruler.font: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-*",
Attached Thumbnails
Click image for larger version

Name:	screenshot_2013_10_03T21_09_30+0000.png
Views:	514
Size:	9.7 KB
ID:	112752  

Last edited by twobob; 10-03-2013 at 05:19 PM.
twobob is offline   Reply With Quote