Skip to content
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

bug(developer): multi-keyboard package gives wrong font data for keyboard_info #12852

Open
mcdurdin opened this issue Jan 3, 2025 · 1 comment
Assignees

Comments

@mcdurdin
Copy link
Member

mcdurdin commented Jan 3, 2025

https://api.keyman.com/keyboard/galaxie_greek_hebrew_mnemonic

For example, above link shows:

 "grc-grek": {
            "examples": [],
            "font": {
                "family": "Ezra SIL",
                "source": [
                    "SILEOT.ttf"
                ]
            },
            "oskFont": {
                "family": "KbdHebr",
                "source": [
                    "KbdHebr-Regular.ttf"
                ]
            },
            "languageName": "Greek, Ancient",
            "scriptName": "Greek",
            "displayName": "Greek, Ancient (Greek)"
        },

Relates to keymanapp/keyman.com#525.

@mcdurdin
Copy link
Member Author

mcdurdin commented Jan 3, 2025

From .kps:

  <Keyboards>
    <Keyboard>
      <Name>Galaxie Hebrew (Mnemonic)</Name>
      <ID>galaxie_hebrew_mnemonic</ID>
      <Version>3.3.1</Version>
      <OSKFont>..\..\..\shared\fonts\kbd\kbdhebr\KbdHebr-Regular.ttf</OSKFont>
      <DisplayFont>..\..\..\shared\fonts\sil\ezra\SILEOT.ttf</DisplayFont>
      <Languages>
        <Language ID="hbo">Ancient Hebrew</Language>
        <Language ID="he">Hebrew (Hebrew)</Language>
      </Languages>
    </Keyboard>
    <Keyboard>
      <Name>Galaxie Greek (Mnemonic)</Name>
      <ID>galaxie_greek_mnemonic</ID>
      <Version>3.3</Version>
      <Languages>
        <Language ID="grc-Grek">Ancient Greek (to 1453) (Greek)</Language>
        <Language ID="el">Modern Greek (1453-) (Greek)</Language>
      </Languages>
    </Keyboard>
  </Keyboards>

We can see that the font data is not present for galaxie greek so should not be shown in .keyboard_info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant