1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 21:01:31 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
Werner Almesberger
44e17ff5ab eeshow/gfx/pdftoc.c (line): don't be fooled by "/Type /Pages"
We really ought to test properly for end-of-word, not rely on prefixes.
2016-08-22 23:20:58 -03:00
Werner Almesberger
cdb68f70a2 eeshow/gfx/pdftoc.c (write_trailer): walking pointer is a bad idea if we realloc 2016-08-22 23:19:10 -03:00
Werner Almesberger
417ddb16fa eeshow/gfx/pdftoc.c: use strbegins instead of local "begins" 2016-08-22 21:25:44 -03:00
Werner Almesberger
465a36fde5 eeshow/misc/util.h (realloc_size, realloc_type_n): get rid of bare "realloc"
Finally ! Shoulds have done this a long time ago.
2016-08-22 21:00:40 -03:00
Werner Almesberger
71d03c7281 eeshow/gfx/pdftoc.c: edit Cairo-generated PDF to insert TOC
Based on schtoc.pl
2016-08-21 11:34:12 -03:00