File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >com.yanirta</groupId >
88 <artifactId >ImageTester</artifactId >
9- <version >3.1.2 </version >
9+ <version >3.1.3 </version >
1010 <packaging >jar</packaging >
1111 <properties >
1212 <maven .compiler.source>1.8</maven .compiler.source>
Original file line number Diff line number Diff line change 11Manifest-Version : 1.0
22Main-Class : com.yanirta.ImageTester
3- Implementation-Version : 3.1.2
3+ Implementation-Version : 3.1.3
44
Original file line number Diff line number Diff line change 2626import com .yanirta .lib .Utils ;
2727
2828public class ImageTester {
29- private static final String cur_ver = "3.1.2 " ;
29+ private static final String cur_ver = "3.1.3 " ;
3030
3131 public static void main (String [] args ) {
32+
3233 CommandLineParser parser = new DefaultParser ();
3334 Options options = getOptions ();
3435 Logger logger = new Logger ();
3536
37+ // PDFBox generates fairly unhelpful logs - suppressing these by default
38+ java .util .logging .Logger .getLogger ("org.apache.pdfbox" ).setLevel (java .util .logging .Level .OFF );
39+
3640 try {
3741 CommandLine cmd = parser .parse (options , args );
3842 logger .setDebug (cmd .hasOption ("debug" ));
@@ -113,7 +117,7 @@ public static void main(String[] args) {
113117
114118 // Full page for ac regions capability
115119 if (cmd .hasOption ("arr" ) && config .accessibilityRegularTextRegions == null ) {
116- config .accessibilityRegularTextFullPage = true ;
120+ config .accessibilityRegularTextFullPage = cmd . hasOption ( "arr" ) && config . accessibilityRegularTextRegions == null ;
117121 }
118122 if (cmd .hasOption ("arl" ) && config .accessibilityLargeTextRegions == null ) {
119123 config .accessibilityLargeTextFullPage = true ;
You can’t perform that action at this time.
0 commit comments