View Single Post
Old 01-23-2013, 02:42 AM   #3
Junior Member
nymano began at the beginning.
Posts: 3
Karma: 10
Join Date: Jan 2013
Device: sony
Ok thanks then it likley means that the person modified the original source of pdftohml.

Will have further look after work but sounds that /
is where some changes occurs with introduction of reflow to better handle the paragraph and <br> generations.
// Heuristic: if the last character in str1 is a hyphen,
// turn off addNewline. This will "glue" hyphenated words
// that have been split over multiple lines.
if (reFlow && str1->text[str1->len -1] == '-') {
// Also remove the hyphen
str1->htext->del(str1->htext->getLength() - 1, 1);

//printf("coalesce %d %d %f? ", str1->dir, str2->dir, d);

// Is str2 a new paragraph?
if (nextLine && (
and after
nymano is offline   Reply With Quote