Comments (9)
How about using what fontTools does: https://github.com/mikekap/unicodedata2
from fontgoggles.
Thanks! I'll have a look at unicode2.
I know FG's BiDi support is "weak" to say the least, but this is rather embarrassing.
My approach to BiDi and use of the python-bidi package should be on its way out, though, once I figure out how to address #35 (see latest comments).
from fontgoggles.
I've updated the FG code to use unicodedata2, but that doesn't solve the bidi issue, as python-bidi uses the builtin module. I could fork python-bidi, but given the more radical changes needed to fix #35 I'm not sure if that's worth it. Alternatively I could monkeypatch bidi.algorithm.
from fontgoggles.
Ok, I did the monkeypatching. I can push a release for you to try this out, or can you run from the source?
from fontgoggles.
Pushed v1.1.1, containing these fixes.
from fontgoggles.
That looks good for the Unicode support side. Until next week when Unicode 13.0 is out and unicodedata2 needs to get updated again.
from fontgoggles.
Sure, I don't see how that can be avoided, though.
from fontgoggles.
Yes, nothing to avoid, just one of those things to keep in mind. Not that there will be a ton of people working on Unicode 13 fonts right now, but I'm working on a couple Unicode 12 fonts which is how I ran into this so fast.
from fontgoggles.
Thanks for the report, it's much appreciated. I'll close this now. Please open a new issue if you find more, or reopen if you find the current fix/workaround is insufficient.
from fontgoggles.
Related Issues (20)
- Feature request: paragraph text view with line-breaking HOT 2
- Support DS5 discrete axes HOT 1
- Default column widths are wrong on newer versions of macOS
- Feature Request: Character / glyph table HOT 5
- Should upgrade to Python 3.11 HOT 5
- Request support for multi-line text preview HOT 1
- Apply kerning between Hiragana and Katakana HOT 2
- FG fails entire string if a character is used that does not exist in unicode
- Feature request: tracking slider HOT 7
- Feature Request: Platform independence. HOT 2
- Visualize which fonts implement which features
- Need to improve the usage of uharfbuzz' draw funcs
- Need to fix a failure with recent uharfbuzz
- Need to adapt notarization process to newer Apple tool HOT 2
- βKindβ for file extensions in Finder HOT 5
- Mark text lines HOT 1
- Release? HOT 2
- Vanilla 0.3.0 broke the layout on macOS 10.10
- Move segmenting.py to fonttools HOT 2
- Idea: Overlay fonts to compare vertical positions &c HOT 2
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 fontgoggles.