[cups] filter/texttopdf.c does not recognise the freefonts with fontconfig

Matthias Apitz guru at unixarea.de
Wed Jan 27 06:22:13 PST 2016


El día Wednesday, January 27, 2016 a las 10:27:46AM +0100, Matthias Apitz escribió:

> D [27/Jan/2016:09:48:04 -0100] [Job 16] PID 7947 (/usr/local/sisis-pap/cups2/lib/cups/filter/texttopdf) exited with no errors.
> D [27/Jan/2016:09:48:04 -0100] [Job 16] PID 7948 (/usr/local/sisis-pap/cups2/lib/cups/filter/pdftopdf) exited with no errors.
> D [27/Jan/2016:09:48:04 -0100] [Job 16] Printer make and model: Generic PostScript Printer
> D [27/Jan/2016:09:48:04 -0100] [Job 16] PID 7950 (/usr/local/sisis-pap/cups2/lib/cups/filter/pdftops) crashed on signal 11.

this was an easy one to see with gdb: the function char* strcasestr()
was used in filter/pdftops.c (and some other places too) without
declaration and as this returning only a 4 byte integer, and not a 8
byte char* pointer;

it's printing now UTF-8 text files on Solaris 10 SPARC!

	matthias
-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5



More information about the cups mailing list