GithubHelp home page GithubHelp logo

Comments (8)

behdad avatar behdad commented on August 15, 2024

/cc @roozbehp

from arabic.

kmansourMT avatar kmansourMT commented on August 15, 2024

I think this bug report is asking for a way to inhibit certain special combinations of marks through the use of an intervening CGJ mark (034F). A common example could be the combination of Shadda (0651), an upper mark, with Kasra (0650), a lower mark. Following is the typical combined mark of Shadda-Kasra:

shadda-kasra-nocgj
The string for the above graphic is 628 25cc 651 25cc 650 3a 20 628 651 0650 3a 628 25cc 0650 25cc 651 3a 20 628 0650 651.

Now, if we were to insert a CGJ mark between the two marks, Shadda and Kasra, we could keep the combination from forming as in:
shadda-kasra-withcgj

shadda-fatha-withcgj

Under bug 85873, the above sample character string (628 25cc 651 25cc 064e 3a 20 628 651 34f 064e 3a 628 25cc 064e 25cc 651 3a 20 628 064e 034f 651) uses two upper combining marks (Shadda 0651, Fatha 064E). Its rendering above shows that CGJ not only inhibits the formation of the combination, but also has the unintended effect of interfering with the mark-to-mark positioning between the Shadda and the Fatha.

from arabic.

behdad avatar behdad commented on August 15, 2024

@kmansourMT What system did you use to generate the images?

from arabic.

kmansourMT avatar kmansourMT commented on August 15, 2024

Monotype's OpenType interpreter was used.

from arabic.

ALloydMT avatar ALloydMT commented on August 15, 2024

We added u+034F as a non-spacing mark.

Without u+034F, using the following code 0627 0645 0651 064D gives:
without_cgj

Including u+034F in the following code 0627 0645 0651 034F 064D we get:
with_cgj

from arabic.

behdad avatar behdad commented on August 15, 2024

Thanks @ALloydMT. Can you also attach results for:

0627 0645 064B 0651
0627 0645 0651 064B
0627 0645 0651 034F 064B
0627 0645 064B 034F 0651

from arabic.

ALloydMT avatar ALloydMT commented on August 15, 2024

Hi Behdad, here are those combinations.

0627 0645 064B 0651
0627 0645 064b 0651

0627 0645 064B 034F 0651
0627 0645 064b 034f 0651

0627 0645 0651 064B
0627 0645 0651 064b

0627 0645 0651 034F 064B
0627 0645 0651 034f 064b

from arabic.

simoncozens avatar simoncozens commented on August 15, 2024

This appears to be done.

from arabic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.