[Gnome-print] impressions on CVS gnome-print



 Hi, 

 Here are my impressions gnome-print checked from gnome-1-4-branch 5 hours
ago from anoncvs.
 It seems to be OK from i18n POV - all my patches are included and fixing all
i18n problems I knew of. 
 The problems:

1) pdfs produced by it under any locale, with no compression are illformed
(there is no  header for streams). Patch to fix this appended.

2) All characters (i.e. letters, digits, etc) are invisible in pdfs produced
(at least with no compression. Note: I just built the library and copied the
built .so file over the gnome-print 0.25 (i.e. I didn't change config files,
fontmap, etc) - though I doubt that such way of installation could influense
things - .ps files are produced correctly. When I put back 0.25 .so, it works
just fine - no characters disappear.

3) Something changed in "print" dialog - no when I just hit enter, default
action ("Print" or whatever) is not executed - seems that combobox is stealing
events now. It's very annoying..

 That's all for now..

 Best regards,
  -Vlad

--- gnome-print-pdf.c~	Tue Mar 13 13:38:48 2001
+++ gnome-print-pdf.c	Tue Mar 13 14:31:13 2001
@@ -742,14 +742,17 @@
 	if (compr_type != PDF_COMPRESSION_NONE) {
 		pdf->offset += gnome_print_pdf_write_stream (pc,
 																								 compressed_stream,
 																								 real_length,
 																								 compr_type);
 		ret += gnome_print_pdf_write  (pc, EOL);
 	}	else {
+		ret += gnome_print_pdf_write  (pc,"/Length %i" EOL, page->stream_used);
+		ret += gnome_print_pdf_write  (pc,">>" EOL);
+		ret += gnome_print_pdf_write  (pc,"stream" EOL);		
 		ret += gnome_print_pdf_write  (pc, "%s", page->stream);
 	}
 	
 	ret += gnome_print_pdf_write  (pc, "endstream" EOL);
 	ret += gnome_print_pdf_write  (pc, "endobj" EOL);
 	ret += gnome_print_pdf_object_end (pc, page->object_number_contents, TRUE);
 





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