sorry for the vague title.
Didn't find a better one.
I also had no idea where to post this.
So i start with "General".
My question is about hyphenation and how Flare is processing it.
As far as i understand Flare takes the hyphenation rules and maps it to the words.
So if you have a long word, e.g. "electroencephalographically", you will get a semicolon separated list of possbile hyphenations, which might look like this (linebreaks only for better readability here):
Code: Select all
elec-troencephalographically;
electro-encephalographically;
electroen-cephalographically;
electroenceph-alographically;
electroencephal-ographically;
electroencephalo-graphically;
electroencephalograph-ically;
electroencephalographic-ally;
Code: Select all
lorem ipsum ... some blind text ... ELEC-
TROENCEPHALOGRAPHICALLY ... some more lorem ipsum blind text
some other lorem ipsum blind text ... other blind text again
lorem ipsum blind text line ... actually still reading this?
So it would be better, if Flare would start from the end of that list - from the last possible hyphenation rule.
So you would get this:
Code: Select all
lorem ipsum ... some blind text ... ELECTROENCEPHALOGRAPHIC-
ALLY ... some more lorem ipsum blind text some other lorem i
psum blind text ... other blind text again lorem ipsum blind
text line ... i think you got the idea.
Code: Select all
electroencephalographic-ally;
electroencephalograph-ically;
electroencephalo-graphically;
electroencephal-ographically;
electroenceph-alographically;
electroen-cephalographically;
electro-encephalographically;
elec-troencephalographically;
This workaround is ... well it is additional work i'd like to avoid and for the Flare project this is additional overhead.
Anyway you never get all hyphenation problems like this fixed if you have several print outputs with different layouts. In one output the word is hyphenated, in another one it is not ... so you would have to check each page in each outputs.
I know there are some stylesheet rules where i can set length of hyphenated words, length of characters to stay in the first line/last line, short lines etc. but setting these rules in the stylesheet would result in words that might never be hyphenated or in words where the 1st/last hyphenation rule will never be applied. Or if you not set this in the stylesheets you will have to apply these rules to each paragraph indiviually - which is additional work again.
So ... how are you dealing with that?
Is there any way to make Flare starting with the last hyphenation rule?
Because when starting with the first rule you'll never know if the word would still fit to the line if you would choose the second rule (and so on). Or you will have to do some additional check "if hyphen matches -> check next one anyway; if next one doesn't fit to the line -> take previous one".
For me it seems to be more logic to start with the last one. And while the first part of the word does not fit to the line -> check previous rule.
Is it worth to file a feature request?
cheers
EDIT: added screenshots