mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 17:05:34 +00:00
Relates to #5816. Moves folders under common/core/web to common/web: * input-processor -> common/web/input-processor * keyboard-processor -> common/web/keyboard-processor * tools/recorder -> common/web/recorder * tools/sentry-manager -> common/web/sentry-manager * utils -> common/web/utils Updates scripts and configuration to point to new folders. |
||
|---|---|---|
| .. | ||
| build.sh | ||
| compare.html | ||
| index.html | ||
| README.md | ||
| renderer_core.ts | ||
| tsconfig.json | ||
Bulk renderer
This renderer loads all the cloud keyboards from api.keyman.com and renders each of them to the document, saving each render as an inline (data-url) PNG for easy comparison.
Using the bulk renderer
build.shto build the renderer (must have already built KeymanWeb in ../source/,./build.sh -debug).- Open
index.html(via http, not via file, as otherwise fonts will not be accessible). - If you want a touch layout, use Developer Tools to select the appropriate emulation and then reload the page.
- Choose whether you wish to render all layers or just the default layer for each keyboard.
- If desired, filter out keyboards by id (regex).
- Run the render.
- Save the result to a .html file, either before.html or after.html.
- When swapping versions, don't forget to rebuild.
compare.html
Compare allows you to load two runs of the renderer side-by-side (simply save the run to either before.html or after.html in this folder). It defaults to a width of 20% which you might need to tweak depending on the size of your display and the width of the OSK images.