-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supports Dynamic Language Loading for Smaller Download Size #488
Comments
Thanks for reporting this. Assessing the current language support state and implementing a solution like dynamic loading is something that we plan to do.
|
Increased the scope of this issue to consider the wider problem of Language support. For a language to be fully supported we need both the fonts on the "doc to pixels" part (for proper rendering) as well as OCR models in the "pixels to PDF" part. The goal will be to find a scalable way to achieve this. OCR models add inflate the container image size by a lot. If we could trim that down and only download them on a "per-need" basis that would be perfect. Offline-modeThe other day the idea of an offline-ready version of Dangerzone surfaced, where all of these models would be pre-downloaded already. |
For comparison, here's a breakdown of the application sizes:
|
Some notes about things to keep in mind about this on Qubes:
|
Coming from here: #460 (comment)
I think it would also be a good idea to support dynamic font loading for languages like this, for example, Thai is not included in CJK fonts set. So if we were to bundle the fonts, it will increase the image size by a lot. And currently any Thai languages from a document file will result in tofu.
The text was updated successfully, but these errors were encountered: