On 8 July 2014 at 4:25:36 am, KARR, DAVID (dk0...@att.com) wrote:
> -----Original Message----- > From: KARR, DAVID > Sent: Monday, July 07, 2014 9:17 AM > To: dev@gradle.codehaus.org > Subject: [gradle-dev] How to deal with justification problems? > > In the Gradle user guide, at the end of section 6.8, there is the > following para element: > -------------------------- > <para>This enables very readable code, especially when using the > out of the box tasks provided by the plugins > (e.g. <literal>compile</literal>).</para> > ----------------------- > > When the PDF for this is rendered, the end of the first line is exactly > this: "(e.g. compi", followed on the next line by just ").". The "le." > doesn't display. If I copy the sentence to the clipboard and paste it > somewhere, it shows all of the text. > > This seems like a bug in something, but I'm not sure what. > > I suppose the most expedient fix would just be to rearrange the text of > the sentence to avoid this. I've managed to reword the sentence so it renders cleanly. This doesn't solve the overall problem of fixing occasional rendering errors like this, but I guess I'll just fix them using this strategy, unless someone has a better way. This likely requires tweaking of the line break / wrap rules in https://github.com/gradle/gradle/blob/master/subprojects/docs/src/docs/css/print.css No idea on the specifics though. — Luke Daley http://www.gradleware.com