Menu

#927 UTF-8 bidi/rtl/ltr characters are not correctly implemented

Verified
nobody
Defect
2010-01-24
2009-12-08
Anonymous
No

Originally created by: *anonymous

Originally created by: pnorcks@gmail.com
Originally owned by: pnorcks@gmail.com

The following characters should be processed by Pango to satisfy the
conditions specified in the Unicode Bidirectional Algorithm
(http://unicode.org/reports/tr9/).

U+200E
U+200F
U+202A
U+202B
U+202C
U+202D
U+202E

This requires some changes in lily/pango-font.cc to prevent glyph lookups
for these characters.  I have already started working on it.

Original report:
http://lists.gnu.org/archive/html/lilypond-devel/2009-12/msg00062.html

Related

Issues: #5325

Discussion

  • Google Importer

    Google Importer - 2009-12-11

    Originally posted by: v.villenave

    Ted Walther has offered a $100 bounty.  (I would offer to double it as I always do,
    but it's getting a bit out of my league now :-)

    Labels: Bounty

     
  • Google Importer

    Google Importer - 2009-12-13

    Originally posted by: pnorcks@gmail.com

    Some notes for myself (based on my current understanding/debugging):

    1) LilyPond does not need to implement the Unicode Bidirectional Algorithm.
    2) If markup is added to a PangoLayout instead, the bidi issues are taken care of by
    Pango.
    3) LilyPond needs to extract the resulting line and concatenate each piece of the
    split markup to create the final Stencil.

     
  • Google Importer

    Google Importer - 2009-12-13

    Originally posted by: pnorcks@gmail.com

    I will add a regression test soonish.

    Labels: fixed_2_13_10
    Status: Fixed

     
  • Google Importer

    Google Importer - 2009-12-13

    Originally posted by: pnorcks@gmail.com

    Please see these new regression tests:

      input/regression/markup-bidi-explicit-embedding.ly
      input/regression/markup-bidi-explicit-overrides.ly
      input/regression/markup-bidi-implicit-marks.ly

    Let me know if I should provide longer explanations in the texidocs.

     
  • Google Importer

    Google Importer - 2010-01-24

    Originally posted by: v.villenave

    (No comment was entered for this change.)

    Status: Verified

     
MongoDB Logo MongoDB