feat: add Bengali support (Atma bundled font)#67
Merged
Conversation
Adds a Bengali charset preset, wires it into the generator/studio UI, and bundles Atma (OFL) as the pre-generated Bengali handwriting font, following the same pattern as the existing Devanagari (Tillana) bundle.
Add two e2e cases covering the Atma Bengali bundle, mirroring the existing Devanagari cluster-fallback pattern: - bengali-cluster-fallback: final frame, overlay on — verifies every cluster resolves to real strokes (pre-base e-matra reorder + na-da conjunct) and the canvas matches the DOM overlay. - bengali-cluster-mid: mid-animation seam guard — the drawn word must sit on the reordered-matra positions of the not-yet-drawn overlay. Commits darwin + linux baselines for both cases.
The interactive tool was renamed /generator → /studio (generator.astro is now just a redirect shim; studio.astro mounts GeneratorApp). Update AGENTS.md to point at /tegaki/studio/ throughout — the route table, the website file-structure block, the open-in-new-tab swap, and the visual- testing workflow — and note the redirect so old links stay documented.
Owner
|
Good addition. Thank you for the contribution 🙏🏻 |
Contributor
Author
Thanks! Happy to contribute. 🙏 |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BENGALI_CHARScharset preset (mirrors the existing Devanagari preset: vowels, consonants, nukta forms, matras, marks, digits + Latin baseline).tegaki/fonts/atma, following the same pipeline/export pattern as the existing Tillana (Devanagari) bundle.EXAMPLE_FONTS), sample text (EXAMPLE_FONT_TEXTS,TEXT_PRESETS), and the homepage font showcase.README.mdbuilt-in fonts list,AGENTS.md, and add a Tegami changelog entry (minorbump fortegaki).Test plan
bun checks(lint + typecheck + tests) passesbun --filter tegaki generate-fonts atmaregenerates the bundle cleanly (162 glyphs, 0 skipped)/tegaki/studio/?f=Atma&ch=Bengali) that Bengali text renders correctly, including matra reordering