Quote:
Originally Posted by Tex2002ans
I would be interested in what you're trying to do that requires more than 10 groups?
|
Oops, i just read this. I had a font in the book having auto kerning anabled. This is working fine in windows and macs and linux machines, so for example "ll" ist automatically displays as the ligature for "ll", or ff. Ti and so on.
In e-Readers this doesn't work. So the ligature is not shown, the letters/ligatures are just missing. So i had a look for an alternative font and found one, but unfortunetly there was no letter space typeface available for the alternative. As i was really sick about this problem is just surrounded each letter with a span having a right padding of 1 or 2 pixels. As there were "only" 200 words present in the book whis was a fine workaround for me.
So finally the job was done by 15 regexe, each of them handling one-letter words, two letter words and so on (the longest word had 15 characterts.
It looked completely weired in code view, but the result was acceptable and is working on all readers i tested.