2 Replies Latest reply on Jun 3, 2011 2:14 PM by user999

    pasting Unicode private-use codes loses font formatting

    user999

      Summary

      pasting Unicode private-use codes loses font formatting

      Product

      FileMaker Pro

      Version

      11.0v2

      Operating system version

      Mac OS X 10.6.6

      Description of the issue

      Previously I reported an issue with a Unicode private-use area font with code points in the top PUA plane (starting at U+100000); that issue was corrected in a subsequent FMP release.

      Now, with that same font, pasting these same PUA codes into a field formatted to display pre-existing text with these same code points, text displays the "alien" missing glyph instead of the glyph from the PUA font.

      Choosing "undo" will sometimes (erratically) correct the problem: instead of an actual undo, the pasted text remains pasted, but the correct glyph is shown.

      Steps to reproduce the problem

      Pasting a top-plane PUA code associated with a custom OpenType font into a field formatted to use that font.

      Expected result

      Right glyph.

      Actual result

      Alien "ET" glyph.

      Exact text of any error message(s) that appear

      N.A.

      Configuration information

      N.A.

      Workaround

      0. Text field has pre-existing PUA (U+100000...) text in field formatted to use a custom font with glyphs in this range.

      1. Paste PUA text into this field.

      2. See "ET" glyphs.

      2a. Say "oops!?"

      3. Hit command-z (un-do)

      4a. FMP sometimes does an actual un-do (unpasting the pasted text)

      OR

      4b. FMP sometimes displays the right glyph

      5. Send bug report.

      6. Thanks!

        • 1. Re: pasting Unicode private-use codes loses font formatting
          TSGal

          user999:

          Thank you for your post, and I apologize for the late reply.

          Before I report this issue, I need you to update to FileMaker Pro 11.0v3 and verify the problem still exists.  If so, I would like a sample file along with exact steps to reproduce the problem.  Please check your Inbox at the top of this page for instructions where to send the file.

          TSGal
          FileMaker, Inc.

          • 2. Re: pasting Unicode private-use codes loses font formatting
            user999

            Yes, verifying that this issue exists in FileMaker Pro 11.0v3.

            To reproduce the problem no special files needed, simply do the following:

            (1) create a new (Unicode) text field in any table;

            (2) set formatting in layout to use a font that has glyphs for top plane PUA code points (U+100000...);

            (3) import UTF-8 text with those code points into that field;

            (4) see that text displays correctly (or not);

            (5) try pasting one character with such top plane code point into the field;

            (6) see that text displays incorrectly (not associated with PUA font);

            (7) try un-do and/or alternately cutting and re-pasting;

            (8) eventually text might display correctly.