Martin Spek wrote:
> For example if they want to cut the name of a street or a town by means
> of a hyphen:
> 'uitvaartcentrum Huppeldepup aan de Keizers-
> gracht 234 te Amsterdam'
> Or
> 'uitvaartcentrum Huppeldepup, Ookmeerweg 234, Am-
> sterdam'

Amsterdam will only be hyphenated if you turn on hyphenation.
Do you have Hyphenation turned on?

Suppose you have a name like 's-Gravenhage where the hyphen
is mandatory, you can avoid splitting the name by using the
interface SplitCharacter (there's an example in the tutorial
as well as in the book).

Or by using an 'en dash' character instead of a hyphen.
Or by using a non breaking hyphen: \u2011 (if this is
supported in your font).

br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to