Community
    • Login

    Lines containing the Unicode Word-Joiner U+2060 display oddly

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 887 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DavidHaslamD Offline
      DavidHaslam
      last edited by

      Any line that contains the Unicode Word-Joiner U+2060 displays with a different font appearance for the whole line!

      Is this a quirk of the Scintilla engine?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @DavidHaslam
        last edited by

        @DavidHaslam ,

        My guess would be a quirk of the chosen font, rather than the Scintilla engine. You might want to try another font.

        Hmm, actually, if I take

        xy
        x⁠y
        xy
        

        (where the second line has WJ between x and y)

        With DejaVu Sans Mono:
        0535a0d2-2a6a-4a92-87e0-0be60de34639-image.png

        Even MS notepad with Consolas has a bit of oddity (different line width, as seen by edge of selection):
        af5af08c-ac5f-47a2-9506-cb13401a388c-image.png

        According to this U+2060 compatible font list, neither of those fonts supports that codepoint. Switching to DejaVu Sans, which that page says does support it,
        b4fc285b-8809-4fd6-a957-657412aa9bb5-image.png
        … it’s much more regular. (Though I wouldn’t use a non-monospace font in Notepad++, myself.)

        So finding a monospace font from that list, or from elsewhere, that truly supports the U+2060 might help your display issue.

        Alan KilbornA 1 Reply Last reply Reply Quote 2
        • Alan KilbornA Offline
          Alan Kilborn @PeterJones
          last edited by

          @PeterJones

          If you’re going to experiment like that, probably should do it with DirectWrite both on and off. So many choices. :-)

          PeterJonesP 1 Reply Last reply Reply Quote 3
          • PeterJonesP Offline
            PeterJones @Alan Kilborn
            last edited by

            @Alan-Kilborn said in Lines containing the Unicode Word-Joiner U+2060 display oddly:

            @PeterJones

            If you’re going to experiment like that, probably should do it with DirectWrite both on and off. So many choices. :-)

            Good idea. DejaVu Sans Mono looks good when DirectWrite is turned on.
            16c00938-e6c4-46d1-8dff-3fd67e51273d-image.png

            So, the options are enabling DirectWrite, changing font, or both. :-)

            1 Reply Last reply Reply Quote 2

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors