Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

fixed-width vs. regular nonbreak spaces

Return to Member Forum

  • Author
    Posts
    • #66873
      Matt Mayerchak
      Participant

      Hi – I’ve noticed that when I replace a word space with a nonbreaking space (not a fixed-width one), it is instantly smaller than the word space it replaces. This is in text that is FLRR (flush left, ragged right) with no hyphenation.

      Anybody know why?

      I thought the nonbreaking space would mimic a regular word space, and be adjustable within limits of the justification settings. But they all are instantly smaller by a small but noticeable amount.

      Makes me wonder if I should be using the fixed-width ones. Actually, when I read the description on Adobe’s help site, it’s hard to understand what they mean about what would cause the spaces to change size.

      “The Nonbreaking Space varies in width depending on point size, the justification setting, and word space settings, whereas the Nonbreaking Space (Fixed Width) character maintains the same width regardless of context.”

      Adobe help website:
      https://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6d98a.html#WS555DE01B-F8DA-4bbd-83BF-C85F09406DFF

      the “regardless of context” is not true. If you track the text smaller, fixed spaces get tighter as well. But it does seem to preserve spacing when justified text squishes the normal word spaces. Still I’m not sure when “fixed-width” applies – perhaps only in respect to the justification adjustments?

    • #87007
      Tamás Nagy
      Participant

      Hi Matt,

      I had the same problem. Moreover I found that the width of the Non Breaking Space (NBS) varies relative to the normal space as I change the font. I have for example a font where NBS has almost zero width!

      This experience gave me an idea: maybe NBS is a separate glyph in the font and Indesigen simply uses this glyph when you insert an NBS into the text. And voilá: Unicode character U+00A0 is often referred as Non Breaking Space. I checked this defective font (that I mentioned above) in Fontlab and the glyph U+00A0 had a width of about 20% of the normal space width. After copying and pasting normal space over this glyph the font started to behave correctly. Of course after editing the font and saving on top of the old one you have to uninstall-reinstall it, and clear the Application’s font-cache. Or simply restart your computer.

      So edit your font or choose another font and NBS-es will be okay.

      Best,
      Tamás

Viewing 1 reply thread
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads