spiegel-keyman/common
Marc Durdin 2e38a50522
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
change(common): remove drafted font metadata from KMX+ format
This comes out of a design philosophy review on what we include when we
embed OSK data into KMX.

We will now avoid embedding font name into the OSK (and hence .kmx)
altogether, and leave that metadata to the packaging data. Reasons:

1. The font information is specified in the .kps, so we have to do a
   patchup on the .kmx during packaging if we want to embed the info
   into the OSK.

2. The referenced font must be supplied separately anyway (via .kmp,
   @font-face, or system supplied, etc), so including the font facename
   in the keyboard is not really all that helpful.

3. Philosophically, the font is really a presentation level factor
   (aside from displaymap considerations). Keeping it together with
   future theming and styling choices, rather than the key layout data,
   seems appropriate.

4. This makes fewer places where font data is referenced -- in fact, to
   just one place: in the .kps/.kmp for LDML keyboards, which is great.

This also simplifies some aspects of the embed-osk-in-kmx work, removing
the need to patch the .kmx after the build, and eliminates the smelly
kmx-plus-osk-token.ts file.

A corresponding change has been made to the design document referenced
in #14857.

Test-bot: skip
2026-04-16 09:13:15 +02:00
..
cpp fix(developer): changes to better align the code in u16ltrim and u16rtrim 2024-09-10 11:13:42 +01:00
include docs(common): make KF_KMXPLUSOSK flag independent of KF_KMXPLUS 2025-10-02 13:24:43 +02:00
linux maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
mac maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
resources feat(windows): store larger images and source file 2025-02-27 13:31:38 +10:00
schemas fix(common): add missing default property to keyman-touch-layout.clean.spec.json 2026-03-26 14:51:37 +01:00
test change(common): remove drafted font metadata from KMX+ format 2026-04-16 09:13:15 +02:00
tools chore(common): cleanup and reorganize hextobin to remove fs dependency 2026-03-12 16:26:08 +01:00
web change(common): remove drafted font metadata from KMX+ format 2026-04-16 09:13:15 +02:00
windows chore: Merge branch 'epic/embed-osk-in-kmx' into auto/A19S24-merge-master-into-embed-osk-in-kmx 2026-03-15 07:42:03 +01:00
build.sh maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00