Author Topic: Build Abiword 2.4.4  (Read 18020 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Build Abiword 2.4.4
« Reply #45 on: May 13, 2006, 12:32:23 am »
Quote
Quote
oh, that might explain it. xpdf and ghostscript both have their own set of type1 fonts. look in their config files and you will notice them pointing to some directory full of .afm and .pfa files. you might have a full set of them and just didnt know
Nope, "find / -name *.afm" and "find / -name *.pfa" doesn't show any. Also in testing whether Type1 fonts were necessary, I specifically installed a non-run-of-the-mill TTF (Alligator Puree to be exact )

Quote
so maybe libgnomeprint does need to be recompiled after all. I had the same setup working as you before, ie print to ps and then use ghostscript to convert to pdf before I recompiled lbgnomeprintui and got everything to work. I also noticed that my current setup only works if I use latin1 fonts, but unicode fonts don't work (missing font config for those fonts)
I'll package up and upload my recompiled libgnomeprintui and libgnomeprint libraries when I get them cleaned up for you to try. what I suggest you try is write a sentence and repeat it using every font in your system and see what the printed result gives. that is how i discovered which fonts worked and which don't and then correlated that the ones that worked had font config entries and the ones that didn't had no entries.
Strange. I believe all the fonts on my system are unicode, the MS ones most definitely are (Arial, Verdana, Lucida Console, Courier?, Times?). As you can see from my screenshot they convert to PDF just fine.

Not sure whether this has anything to do with it, but I'm using beta3 which is "UTF enabled".

Also another thing I noticed was that when I used Abiword from beta3 feed, a bunch very old MSWORD files when opened showed empty boxes instead of characters. These same files opened fine when I was using beta1. At the same time, files that I had created with Abiword (from beta1) also opened fine. Now using your version of Abiword, those dodgy MSWORD files can be viewed again.    


 [ Invalid Attachment ]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126845\"][{POST_SNAPBACK}][/a][/div]


very strange indeed, but good to know that unicode fonts convert properly in beta3
my compile includes all the text imort plugins, i think thre ones on the feed don't
oh and i made a mistake, those Type1 fonts are pfb or pfa. xpdf uses the pdb variant
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #46 on: May 19, 2006, 10:29:34 am »
A question for you guys - since you can print in Abiword running on pdaXrom, does your Print dialog show configured CUPS printers? I've compiled both 2.4.2 and 2.4.4 for pdaXrom, but in both cases Print dialog shows only "Create PDF" and "Generic Postscript", it doesn't show my CUPS printers. Also, I din;t find a way in Abiword to add/configure a new printer.

I'm running old rc11 pdaXrom, and Abiword (both versions) crashes when I'm trying to print to Generic Postscript or go into Print Preview.
I don;t have any experience with CUPS and Abiword, so hints on how to debug it are appreciated...
-albertr

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Build Abiword 2.4.4
« Reply #47 on: May 19, 2006, 10:44:50 am »
Quote
A question for you guys - since you can print in Abiword running on pdaXrom, does your Print dialog show configured CUPS printers? I've compiled both 2.4.2 and 2.4.4 for pdaXrom, but in both cases Print dialog shows only "Create PDF" and "Generic Postscript", it doesn't show my CUPS printers. Also, I din;t find a way in Abiword to add/configure a new printer.

I'm running old rc11 pdaXrom, and Abiword (both versions) crashes when I'm trying to print to Generic Postscript or go into Print Preview.
I don;t have any experience with CUPS and Abiword, so hints on how to debug it are appreciated...
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127765\"][{POST_SNAPBACK}][/a][/div]

abiword crashes on beta1 as well, but with updated version of freetype from my feed, it wont crash anymore and allows you to print to ps or pdf. for cups printers, you need to install the cups package that was recently announced and might also want to install ghostscript as well
« Last Edit: May 19, 2006, 10:46:40 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #48 on: May 19, 2006, 01:06:22 pm »
Quote
A question for you guys - since you can print in Abiword running on pdaXrom, does your Print dialog show configured CUPS printers? I've compiled both 2.4.2 and 2.4.4 for pdaXrom, but in both cases Print dialog shows only "Create PDF" and "Generic Postscript", it doesn't show my CUPS printers. Also, I din;t find a way in Abiword to add/configure a new printer.
I did have the the "configured cups printer(s)" option come up before (when I was using probably beta1 and an older Cups package compiled by jacky_cs) but not now, unfortunately I couldn't remember whether I was using pdaXrom's Abiword or Debian's back then - most likely Debian's. So there are 2 possibilities:

- the Debian Abiword is different to pdaXrom's
- my Cups package is different to jacky_cs'

Quote
abiword crashes on beta1 as well, but with updated version of freetype from my feed, it wont crash anymore and allows you to print to ps or pdf. for cups printers, you need to install the cups package that was recently announced and might also want to install ghostscript as well
For printing to network printer you don't need to install ghostscript (at least I didn't, YMMV), just CUPs will do.

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #49 on: May 19, 2006, 02:08:36 pm »
Yes, freetype it was! Thanks for figuring it out! I've compiled 2.1.10 and now AbiWord prints fine. I think you are right about Debian might have been patching  AbiWord or maybe that's because AbiWord compiled with "--disable-gnome" configure option on pdaXrom.

Anyone noticed that some of the font's facesets are changed when switching from freetype 2.1.9 to 2.1.10?

Now if I only can make Firefox to print postscript correctly...
-albertr

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #50 on: May 19, 2006, 02:42:09 pm »
Quote
Now if I only can make Firefox to print postscript correctly...
So Firefox does have print functionality? I've never tried Firefox on Z, always liked Mozilla better, but Mozilla wasn't compiled with print options  

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #51 on: May 19, 2006, 02:59:46 pm »
I've compiled Firefox 1.5.0.2 and it sure can print. The only problem is that  it prints PS Level.3 that my office printer (HP8100) fails to interpret. And I don;t have any other PS printer here to see who to blame. I'm gonna take another look at this, since ability to print web pages from my Z is important to me.
-albertr

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #52 on: May 19, 2006, 03:45:03 pm »
Quote
I've compiled Firefox 1.5.0.2 and it sure can print. The only problem is that  it prints PS Level.3 that my office printer (HP8100) fails to interpret. And I don;t have any other PS printer here to see who to blame. I'm gonna take another look at this, since ability to print web pages from my Z is important to me.
Do you have a feed or somewhere where we can download Firefox? I notice that you've posted on the "New Packages Announcement" thread, but there is no attachment (probably too large) and no link  

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #53 on: May 19, 2006, 04:09:57 pm »
Yes, it was too big for an attachment...

http://www.zavrik.ru/feed/pdaxrom/firefox_....2_armv5tel.ipk

-albertr

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Build Abiword 2.4.4
« Reply #54 on: May 19, 2006, 08:10:27 pm »
Quote
Yes, it was too big for an attachment...

http://www.zavrik.ru/feed/pdaxrom/firefox_....2_armv5tel.ipk

-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127805\"][{POST_SNAPBACK}][/a][/div]

you can add entries in /etc/printcap to add extra printer entries such as cups...

i was suggesting ghostscript for converting ps to pdf. it is not needed for printing to cups...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #55 on: May 20, 2006, 12:17:47 am »
Quote
I've compiled Firefox 1.5.0.2 and it sure can print. The only problem is that  it prints PS Level.3 that my office printer (HP8100) fails to interpret. And I don;t have any other PS printer here to see who to blame.
I've installed your version of Firefox, when I try printing I just get a blank sheet   . I also tried printing to ps file then convert to pdf, and surprise surprise, I also get blank page

(Meanie, sorry for hijiacking your thread   )

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Build Abiword 2.4.4
« Reply #56 on: May 20, 2006, 04:33:20 am »
Quote
Quote
I've compiled Firefox 1.5.0.2 and it sure can print. The only problem is that  it prints PS Level.3 that my office printer (HP8100) fails to interpret. And I don;t have any other PS printer here to see who to blame.
I've installed your version of Firefox, when I try printing I just get a blank sheet   . I also tried printing to ps file then convert to pdf, and surprise surprise, I also get blank page

(Meanie, sorry for hijiacking your thread   )

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127830\"][{POST_SNAPBACK}][/a][/div]

I don't mind as long as we find out what the cause of this printing problem is. Btw, printing to PDF works perfectly on the pdaX86 version. I wonder what is wrong with the Zaurus version.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #57 on: May 22, 2006, 10:51:07 am »
Well, I've compiled Firefox 1.5.0.4 from yesterday's mozilla's cvs, but it still seems to have the same problem.
-albertr

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Build Abiword 2.4.4
« Reply #58 on: May 22, 2006, 11:45:25 am »
Quote
Well, I've compiled Firefox 1.5.0.4 from yesterday's mozilla's cvs, but it still seems to have the same problem.
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128069\"][{POST_SNAPBACK}][/a][/div]

I think the culprit is somewhere between libgnomeprint, libgnomeprintui, fontconfig and freetype2

abiword and firefox and other apps all use the libgnomeprint library to print. libgnomeprint is the one that generates the pdf and ps files. however, libgnomeprint also uses freetype2 and fontconfig to determine the font characteristics to generate the fies and somewhere there its getting confused and that results in garbage being generated.

it works in pdaX86 and I got it to work under X/Qt, but pdaXrom zaurus version seems broke. i tried duplicating the exact fonts and configs, but no luck so far
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Build Abiword 2.4.4
« Reply #59 on: May 22, 2006, 12:56:25 pm »
Could be that, or just mozilla's postscript engine gets borked on arm platform (gcc optimization?)... I'm not a postscript expert, but take a look at the attached diff - doesn't it look like pagesize and color values got set incorrectly?
-albertr
« Last Edit: May 22, 2006, 12:59:44 pm by albertr »