Comments (9)
I confirm! (maybe just few ms due to this data manipulation, db queries are not changed).
from django-robo-cjk.
For reference: https://robocjk.black-foundry.com/admin/robocjk/characterglyph/893881/change/?_changelist_filters=font%3D6%26q%3Duni313B
from django-robo-cjk.
@justvanrossum now the unicode_hex
field value contains all glyph encodings separated by comma, and there is a new unicodes
field containing a list of unicodes as integers, but this is not available on all methods:
Unfortunately it's not possible to add the unicodes
field to the glif_list
API method without sacrificing performance: actually the glif_list
method returns all glifs in ~1 second because it returns only a subset of each glif data directly from the database, returning the unicodes list slowdowns the response up to ~6 seconds, for this reason I think it's better to split the unicode_hex
string on client side.
from django-robo-cjk.
Achieved in 39d5642 , not the cleanest solution, but probably the best compromise given the constraints.
from django-robo-cjk.
Did you confirm that the performance of glif_list
is not negatively affected?
from django-robo-cjk.
@fabiocaccamo what was the PR or commit that resolved this?
from django-robo-cjk.
@justvanrossum in 6bad3ed I added support to multiple glyphs encoding, then in 39d5642 I added unicodes
to glif_list
response (there was a performance issue to solve first).
from django-robo-cjk.
But the task is now completed, right?
from django-robo-cjk.
Yes
from django-robo-cjk.
Related Issues (20)
- Layer name length limit of 50 characters is very low HOT 3
- Glyph and layer names can not contain chars > BMP HOT 2
- Split `return_related` option into `return_made_of` and `return_used_by` keeping backward compatibility.
- Consider supporting refresh tokens
- font_update(): not possible to set empty fontlib, features or designspace HOT 4
- Glyph names should be case sensitive, but they are not HOT 5
- Impossible to delete font with ~1k glyphs: `OperationalError (1040, 'Too many connections')`.
- Some files have not been included in the incremental export.
- user_me needs to add the list of groups and list of permissions to the response
- Add admin action for bulk-unlocking locked glyphs.
- Run cronjob for unlocking and reporting glyphs locked and not edited since more than 24 hours.
- Add command for duplicating existing font under the same project.
- Another "status" field bug when uploading glif data without status HOT 1
- automatic lock on glyph creation HOT 3
- Need a way to list glyphs that have been deleted since a timestamp HOT 5
- Add `pre-commit` and format all code with `Black`. HOT 1
- Add possibility to duplicate projects / fonts from the backend
- [logging] Send email notification in case of error.
- Replace Flake8 with Ruff.
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 django-robo-cjk.