Strange text wrapping in INDD CS5

Jean Paul Beumer's picture

I'm not sure in what forum to post this, so here goes.

In InDesign CS5 my new font (.otf) comes out really strange. It seems as if all characters on one line have all been compressed to te left. See the image below.

Is this something I did wrong in FL? Or has it to do with InDesign? I use XPress and haven't seen this problem at all.

Any help is appreciated!

Bert Vanderveen's picture

Did you clear the font caches before loading the new font?

Did you set the H&J definitions in ID to European standards?

nina's picture

Oh, I'm curious if anyone knows more. I've had this happen too, with commercially available fonts, in CS4 (only the squooshed justified line, where the red arrow is, though; not the other blobs); I've been able to fix it locally by changing the hyphenation somewhere before or after the line in question. But I wonder why it happens – I've been thinking it's probably InDesign getting confused about H&Js (I've only had it happen in longer documents / books).

JamesM's picture

Occasionally an odd problem can be due to a corrupt text box or a corrupt document. Make a brand new text box (not a copy of the existing one) and see if that helps. If it doesn't, try creating a brand new document and see if the problem still occurs.

kentlew's picture

> I've been able to fix it locally by changing the hyphenation somewhere before or after the line in question.

I’ve had this sort of thing occur if I limit the number of hyphens in a row too severely. A line that obviously begs for hyphenation doesn’t have any — and I can’t seem to force it to — until I realize that it has reached its limit and that’s why it’s squooshing or spacing in an extreme fashion.

Another example of why it’s not necessarily good to tie the hands of InD’s H&J engine too tightly.

I don’t think that’s what’s going on in the OP’s example. And it might not be what’s going on in your case.

But I thought I’d mention it, since it’s easy to overlook.

nina's picture

> I’ve had this sort of thing occur if I limit the number of hyphens in a row too severely
Actually, this may very well have been the case for me. Thank you Kent!

Jean Paul Beumer's picture

Thanks all.
I had a feeling it had something to do with the ligatures. When the ligatures are turned off in INDD, the problem is solved.

Nevertheless, could it be there's some bad coding in the .otf? I did design some ligatures and stylistic alternates, but removed them in a later stage. Could it be that the code for these is still in the .otf file and corrupting it?

kentlew's picture

> Could it be that the code for these is still in the .otf file and corrupting it?

Good question. Crack the .otf open and see if it is.

It seems like the issue could be related to a feature gone awry, especially if turning off a feature solves the problem. But I think we’d need to see what characters are in those lines that got collapsed in order to troubleshoot along those lines.

Also, it would helpful to see what H&J setting you’re using on that setting.

Jean Paul Beumer's picture

Problem solved! There was some obsolete coding left.

Thanks for your help!

Syndicate content Syndicate content