fontra-rcjk
Fontra plug-in with django-robocjk support and .rcjk file format support
Fontra plug-in with django-robocjk support and .rcjk file format support
License: GNU General Public License v3.0
Fontra plug-in with django-robocjk support and .rcjk file format support
Fontra does not yet support the concept of sources being "on" or "off", so the rcjk "on" flag currently causes a source to be ignored (good) but the source will be gone once written the glyph gets written back to the backend (bad).
We need a counterpart of googlefonts/fontra#639 in this repo, too.
If a glyph contains classic components as well as variable components, the classic components are lost.
Also, when writing a glyph, we should avoid mixing the two: if there are any variable components present, all components should be written as variable components.
Currently if anything is added to the Note section in RoboFont (in the Inspector panel), Fontra would erase it when saving changes.
For example:
public.markColor
We should probably always parse the original data first before applying our changes, just like the designspace backend does.
If a new project gets added or if a user is added to a project, they will not see the project until the Fontra server restarts they log out and log in again.
Error:
2023-01-27 11:07:18 fontra.core.fonthandler ERROR fatal exception in asyncio task <Task finished name='Task-111' coro=<FontHandler.processExternalChanges() done, defined at /Users/just/code/git/BlackFoundry/fontra/src/fontra/core/fonthandler.py:86> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
File "/Users/just/code/git/BlackFoundry/fontra/src/fontra/core/fonthandler.py", line 87, in processExternalChanges
async for change, reloadPattern in self.backend.watchExternalChanges():
File "/Users/just/code/git/BlackFoundry/fontra-rcjk/src/fontra_rcjk/backend_fs.py", line 150, in watchExternalChanges
if self._recentlyWrittenPaths.pop(path, None) == os.path.getmtime(path):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/genericpath.py", line 55, in getmtime
return os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/project.rcjk/characterGlyph/a.glif'
This may be a combination of two things
The watchfiles oddity probably deserves a wrapper, so that watchfiles client code doesn't need to worry about it.
This repository is mostly library code, that can be useful outside of the Fontra app. I think we should change the license to Apache.
Relates to googlefonts/fontra#548
fontra-rcjk is really two things:
These two share a lot of code, but conceptually only the second item is truly library code.
See googlefonts/django-robo-cjk#108
The name limit is 50 chars. Perhaps the django-rcjk backend can mangle long names and map them back.
Fontra doesn't (yet) have neither a status field like .rcjk has, nor a glyph.lib where we could keep it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.