How to copy text from a PDF created by Latham in the normal way without the extra line breaks?

For example, I have created a PDF file copy of his paragraph, and it looks like this:
Unit testing is the practice of creating one or more tests for each method in a class,
in order to regularly tet the portions of a class for correct behavior. The most popular
tool used for Java is called Junit.

And it has to look like that, without extra line breaks:
Unit testing is the practice of creating one or more tests for each method in a class, in order to regularly tet the portions of a class for correct behavior. The most popular tool used for Java is called Junit.

Also this is clearly seen in the case of copying listings:
class A {
public void test() { ... }
}
class B {
A A = new A();
void test() { b.test(); }
}

instead
class A {
 public void test() { ... }
}
class B {
 A A = new A();
 void test() { b.test(); }
}
June 14th 19 at 19:09
0 answer

Find more questions by tags PDFText processingTeX