# HG changeset patch # User Patrick PIERRE # Date 1402241374 -7200 # Node ID 7c90bd8d2e9bedc21764ad86bafc75f3aa2774c2 # Parent 4550855456499baa7e3f109b07554c40e81f796e Exemple de remplacement dans le PDF diff -r 455085545649 -r 7c90bd8d2e9b Pdf/BaladeNature/balade_nature.ini --- a/Pdf/BaladeNature/balade_nature.ini sam. juin 07 18:43:12 2014 +0200 +++ b/Pdf/BaladeNature/balade_nature.ini dim. juin 08 17:29:34 2014 +0200 @@ -58,24 +58,27 @@ page.3.range = 1, 2 page.3.crop = TrimBox #page.3.crop = 35.173 630.449 545.409 35.173 -page.3.sanitize = true page.3.rotation = 0 -page.3.keep_byte4text = true -page.3.keep_byte4image = false -page.3.remove_tounicode = false -page.3.replace.1 = 1> prai([ri]+)e = \1vière -page.3.clean.1 = 1> //svg:text[@id="text52"] -page.3.clean.2 = *> //*[@id="tspan50"] +page.3.pdf.sanitize = true +page.3.pdf.density = 200 +page.3.pdf.sanitize = true +page.3.pdf.keep_byte4text = true +page.3.pdf.keep_byte4image = false +page.3.pdf.remove_tounicode = false +page.3.pdf.replace.1 = 1> /ToUnicode 35 0 R = " " +page.3.svg.clean.1 = 1> //svg:text[@id="text52"] +page.3.svg.clean.2 = *> //*[@id="tspan50"] +page.3.svg.replace.1 = 1> prai([ri]+)e = \1vière page.3.toc.1 = 1> Le lynx, le chamois et la marmotte page.4.type = pdf page.4.source = %(here)s/balade_nature.pdf page.4.range = 3-4 page.4.crop = TrimBox -page.4.keep_byte4text = true -page.4.keep_byte4image = false -page.4.clean.1 = 3> //svg:tspan[.='12'] -page.4.clean.2 = 3-4> //svg:text[@id="text22"] -#page.4.clean.3 = 3> //svg:tspan[not(.='12')] -#page.4.clean.4 = 4> //svg:tspan[@id!="tspan38" and @id!="tspan40"] +page.4.pdf.keep_byte4text = true +page.4.pdf.keep_byte4image = false +page.4.svg.clean.1 = 3> //svg:tspan[.='12'] +page.4.svg.clean.2 = 3-4> //svg:text[@id="text22"] +#page.4.svg.clean.3 = 3> //svg:tspan[not(.='12')] +#page.4.svg.clean.4 = 4> //svg:tspan[@id!="tspan38" and @id!="tspan40"] page.4.toc.1 = 3> Le pic-vert, le coucou, le sanglier et le cerf