Comments (12)
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.
Any news on Arabic language support? Are any right-to-left languages supported?
from opentype.js.
@defue what do you mean by "arabic language support"? I think you would need harfbuzz transpiled to javascript.
from opentype.js.
fontkit has an arabic shaper (mostly ported from harfbuzz).
from opentype.js.
if need javascript reshaper can use this persian-reshaper
from opentype.js.
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.
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.
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.
Is there anything I can do to speed up the development of Arabic and other right-to-left languages support?
from opentype.js.
from opentype.js.
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.
I guess we can close this issue as I just merged #359
Feel free to reopen if needed!
from opentype.js.
Related Issues (20)
- how can I get font metadata by font file (.ttf,.otf,.woff2,.woff) by simple method? HOT 2
- Why did we depricate the load function? HOT 5
- Bold/Italic Emulation implementation needed. HOT 5
- Invalid font result with opentype.js HOT 1
- font lose glyph name HOT 1
- Writing slow (30+ seconds) for certain fonts (CJK, Noto Chinese) HOT 2
- TypeError: Cannot read properties of undefined (reading 'featureIndexes')
- fvar.instances returns empty name entry if nameID is 17 (preferredSubfamily) HOT 13
- 'liga' should not support only latin words
- missing emoji substitutions HOT 9
- Character rendering issues occur when stroking text. HOT 10
- Detect and remove inner contours from path? HOT 5
- Naming Table Parsing seems buggy HOT 1
- Why isn't the fromSVG API included in the release version? HOT 1
- The variable font code uses Proxy, a non-polyfillable ES6 type. HOT 7
- Local build rules were deleted this should not have happened. HOT 13
- variable fonts: VariationManager set axes values for rendering HOT 12
- Proposal: API change freeze HOT 7
- SVG related y-Axis conversion differs in version 2.0.0
- Handling vertical advance; ascender / descender doesn't look correct for some fonts HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentype.js.