Giter Club home page Giter Club logo

Comments (12)

fpirsch avatar fpirsch commented on July 26, 2024

Hello,
actually the GSUB table is not supported at all. The GPOS support is still incomplete, and it needs refactoring to be reused to read GSUB tables, since both use the same format.
It could help if you provided a screenshot of what your example SHOULD look like.

from opentype.js.

defue avatar defue commented on July 26, 2024

Any news on Arabic language support? Are any right-to-left languages supported?

from opentype.js.

davelab6 avatar davelab6 commented on July 26, 2024

@defue what do you mean by "arabic language support"? I think you would need harfbuzz transpiled to javascript.

from opentype.js.

devongovett avatar devongovett commented on July 26, 2024

fontkit has an arabic shaper (mostly ported from harfbuzz).

from opentype.js.

zoghal avatar zoghal commented on July 26, 2024

if need javascript reshaper can use this persian-reshaper

from opentype.js.

fdb avatar fdb commented on July 26, 2024

The scope of OpenType.js is not to do perfect typesetting for all locales. For that you'll probably need OpenType.js + Harfbuzz.

Alternatively please check out @devongovett's excellent fontkit.

from opentype.js.

defue avatar defue commented on July 26, 2024

By "Arabic language support" I meant ability of "stringToGlyphs" method to correctly convert a string into Arabic glyphs. I'll look at the options advised here. Thank you all!

from opentype.js.

fdb avatar fdb commented on July 26, 2024

You're right, I thought you were talking about the type setting. The stringToGlyphs we probably do want. There we still need some work to support the OpenType (I think GSUB?) tables.

from opentype.js.

defue avatar defue commented on July 26, 2024

Is there anything I can do to speed up the development of Arabic and other right-to-left languages support?

from opentype.js.

davelab6 avatar davelab6 commented on July 26, 2024

from opentype.js.

fdb avatar fdb commented on July 26, 2024

I'm currently finishing my PhD and don't have the time required to implement those OpenType features. As @davelab6 suggested you might want to look into FontKit for this.

from opentype.js.

Jolg42 avatar Jolg42 commented on July 26, 2024

I guess we can close this issue as I just merged #359
Feel free to reopen if needed!

from opentype.js.

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.