PHP/help file and Andika font

Hello,

I’m almost at the end of my project and ready to submit it for publication, but I have two questions:

  1. Is it mandatory to submit the PHP/help file as well?
  2. How does the visual keyboard handle the Andika font? Is it set as the default font somewhere?

Thank you for your assistance.

Hello @Roger_Nadoumngar,

  1. Please include the PHP/help file, the file will be use to showcase the information of the keyboard at help.keyman.com/keyboard/.
  2. The Andika font must be added to this location: release/shared/fonts/, you can find it at our keyboard repo, so anyone installs the keyboard will have the font. After that, point to that font location in the keyboard package:
    Example:

    Here too

Congrats on almost finishing the keyboard project and we hope to see your submission soon. Thank you!

We’re a little confused about the font. We have included the AndikaAfr-R.ttf (subset font) in the keyboard package, and we have verified that it is in release/shared/fonts (although I don’t see how that would help anything…). In the touch layout on Android the keyboard IS showing up in the Andika Afr font, but we don’t see where it is defined that the touch layout should use the Andika Afr font.

In our previous keyboard, we had a line in the .keyman-touch-layout file:

"font": "Andika Afr",

But we DON’T have that line in our current keyboard’s .keyman-touch-layout file, and it still seems to know to use the font.

So everything seems to be working, but we are wondering if we should put the “font” statement in the touch layout file or not, and are wondering how it knows to use that font if the font isn’t defined.

Thanks for your help,
Jeff & Roger

A post was split to a new topic: Link to an external CSS in PHP file

In the Keyman Developer package editor, select the “Keyboards” tab and you’ll see something like the screenshot down here
https://help.keyman.com/developer/17.0/guides/distribute/tutorial/step-3

This tab is where you’ll associate your font (from the “keyboard font” and “display font” dropdown boxes), as well as the language

1 Like

Hello @jheath,

The font in the shared folder will provide a singular path to the font location for anybody who would want to update the keyboard in the future with our keyboard repo.

If you can, specify the font in the .keyman-touch-layout file as well. It is a safety measure to ensure that the font is correctly deliver to the end product. But, do you remember how it happened leading up to the “font: Andika Afr” not showing up in the touch layout file?

Will the font appear by selecting this?

Much thanks!

This topic was automatically closed after 18 days. New replies are no longer allowed.