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

Naijatype experimental: flicks, v17 & documentation updates #2822

Merged
merged 21 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion experimental/n/naijatype/LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright © 2021-2022 David Rowbory
Copyright © 2021-2024 David Rowbory

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions experimental/n/naijatype/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Naija Type Keyboard for Touch and Physical Keyboards
====================================================

© 2021-2022 David Rowbory
© 2021-2024 David Rowbory

Version 50
Version 58

Description
-----------
Expand Down
200 changes: 3 additions & 197 deletions experimental/n/naijatype/naijatype.kpj
Original file line number Diff line number Diff line change
@@ -1,202 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<KeymanDeveloperProject>
<Options>
<BuildPath>$PROJECTPATH\build</BuildPath>
<CompilerWarningsAsErrors>False</CompilerWarningsAsErrors>
<WarnDeprecatedCode>True</WarnDeprecatedCode>
<CheckFilenameConventions>False</CheckFilenameConventions>
<ProjectType>keyboard</ProjectType>
<Version>2.0</Version>
<BuildPath>$PROJECTPATH\..\LexicalModels\build</BuildPath>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is what caused the build failure -- the .kmx is being put into the wrong folder. This line should be removed (default is $PROJECTPATH/build, which is what we want):

Suggested change
<BuildPath>$PROJECTPATH\..\LexicalModels\build</BuildPath>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Sorry I missed that.

<SkipMetadataFiles>True</SkipMetadataFiles>
</Options>
<Files>
<File>
<ID>id_af30306506b955d0a8dc9617bf1089f6</ID>
<Filename>naijatype.kmn</Filename>
<Filepath>source\naijatype.kmn</Filepath>
<FileVersion>46</FileVersion>
<FileType>.kmn</FileType>
<Details>
<Name>Naija Type</Name>
<Copyright>© 2022 David Rowbory</Copyright>
<Message>Distribute under MIT Licence</Message>
</Details>
</File>
<File>
<ID>id_308f23edb2dd358e589edfa4144f2e6c</ID>
<Filename>naijatype.kps</Filename>
<Filepath>source\naijatype.kps</Filepath>
<FileVersion></FileVersion>
<FileType>.kps</FileType>
<Details>
<Name>Naija Type</Name>
<Copyright>© 2022 David Rowbory</Copyright>
</Details>
</File>
<File>
<ID>id_815284c55e5dac0c2e732d4eea527c91</ID>
<Filename>naijatype.kmp</Filename>
<Filepath>build\naijatype.kmp</Filepath>
<FileVersion></FileVersion>
<FileType>.kmp</FileType>
</File>
<File>
<ID>id_7fa6d6df368880dea1c3fffcaec18c07</ID>
<Filename>naijatype.ico</Filename>
<Filepath>source\icons_pictures\naijatype.ico</Filepath>
<FileVersion></FileVersion>
<FileType>.ico</FileType>
<ParentFileID>id_af30306506b955d0a8dc9617bf1089f6</ParentFileID>
</File>
<File>
<ID>id_de56594d1fce1a13674518bdfd1b92fb</ID>
<Filename>readme.htm</Filename>
<Filepath>source\doc\readme.htm</Filepath>
<FileVersion></FileVersion>
<FileType>.htm</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_ba2e738d83f8ec67be5e64ffd8b20a96</ID>
<Filename>AndikaAfr-R.ttf</Filename>
<Filepath>source\AndikaAfr-R.ttf</Filepath>
<FileVersion></FileVersion>
<FileType>.ttf</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_114f9ab17d389f40025d7062ffcbc9e6</ID>
<Filename>naijatype_400.jpg</Filename>
<Filepath>source\icons_pictures\naijatype_400.jpg</Filepath>
<FileVersion></FileVersion>
<FileType>.jpg</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_724e5b4c63f10bc0abf7077f7c3172fc</ID>
<Filename>welcome.htm</Filename>
<Filepath>source\welcome\welcome.htm</Filepath>
<FileVersion></FileVersion>
<FileType>.htm</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_dadcad63be72df2b9ff15c117dc49d42</ID>
<Filename>naijatype.js</Filename>
<Filepath>build\naijatype.js</Filepath>
<FileVersion></FileVersion>
<FileType>.js</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_53dcad9f08abab9a591e2c8fc85e8eb0</ID>
<Filename>naijatype.kmx</Filename>
<Filepath>build\naijatype.kmx</Filepath>
<FileVersion></FileVersion>
<FileType>.kmx</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_25b7bed839e9f1f7b98d4ce876d07361</ID>
<Filename>welcome_htm_1b25dce56d8d67ee.jpg</Filename>
<Filepath>source\welcome\welcome_htm_1b25dce56d8d67ee.jpg</Filepath>
<FileVersion></FileVersion>
<FileType>.jpg</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_8393eb55d01b779decfcde925d34f3a2</ID>
<Filename>welcome_htm_6c78ae9d5deefd70.png</Filename>
<Filepath>source\welcome\welcome_htm_6c78ae9d5deefd70.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_23825990ea91da564b07a5055f77c898</ID>
<Filename>welcome_htm_40a42a7c7957dc8a.png</Filename>
<Filepath>source\welcome\welcome_htm_40a42a7c7957dc8a.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_1b8926c4a710710b1705d25b15603f18</ID>
<Filename>welcome_htm_41e1c192be6891d3.png</Filename>
<Filepath>source\welcome\welcome_htm_41e1c192be6891d3.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_65fae3b96acb7d4f1088b30b6b890b9d</ID>
<Filename>welcome_htm_173b460b456a07d2.png</Filename>
<Filepath>source\welcome\welcome_htm_173b460b456a07d2.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_4232035f16bcf1e746d1d28ae0ea565b</ID>
<Filename>welcome_htm_410b4107e0ddd3f4.png</Filename>
<Filepath>source\welcome\welcome_htm_410b4107e0ddd3f4.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_0c88dc4894b4f810ea1c8d3c962bebb2</ID>
<Filename>welcome_htm_d3cc5f241a627df4.png</Filename>
<Filepath>source\welcome\welcome_htm_d3cc5f241a627df4.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_a2d71ff3a47c911d1cd9f0dbc3c1508c</ID>
<Filename>welcome_htm_e972d2eb335edd69.png</Filename>
<Filepath>source\welcome\welcome_htm_e972d2eb335edd69.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_921200e186b7ec22e170d0242a37b95f</ID>
<Filename>comma_punc.png</Filename>
<Filepath>source\welcome\comma_punc.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_c424ff341a731304a794f1ff5fec88b2</ID>
<Filename>popup_a.png</Filename>
<Filepath>source\welcome\popup_a.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_57fda54f0f48d03ae6720b171f34afaf</ID>
<Filename>popup_currency.png</Filename>
<Filepath>source\welcome\popup_currency.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_599d2a0205edfc12c80a98e7a541d08d</ID>
<Filename>popup_e.png</Filename>
<Filepath>source\welcome\popup_e.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
<File>
<ID>id_9573a916be370d168a7f68a93124fd03</ID>
<Filename>popup_punc.png</Filename>
<Filepath>source\welcome\popup_punc.png</Filepath>
<FileVersion></FileVersion>
<FileType>.png</FileType>
<ParentFileID>id_308f23edb2dd358e589edfa4144f2e6c</ParentFileID>
</File>
</Files>
</KeymanDeveloperProject>
4 changes: 2 additions & 2 deletions experimental/n/naijatype/source/doc/readme.htm
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Naija Type</title>
<style type="text/css">
@page { size: 21cm 29.7cm; margin: 2cm }
p { margin-bottom: 0.21cm; direction: inherit; background: transparent }
p.western { font-family: "Andika Afr","AndikaAfr","Andika"; }
p.western { font-family: Andika,sans-serif,"Andika Afr","AndikaAfr","Andika"; font-size: 250%; }
a:link { color: #000080; so-language: zxx; text-decoration: underline }
a:visited { color: #800000; so-language: zxx; text-decoration: underline }
h1 { font-size: 400%; }
</style>
</head>
<body lang="en-GB" link="#000080" vlink="#800000" dir="ltr"><h1>Naija Type – Read Me</h1>
Expand Down
15 changes: 10 additions & 5 deletions experimental/n/naijatype/source/naijatype-help.htm
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
<h1>Naija Type</h1>
<p>This keyboard aims to serve all Nigerian languages, not just Hausa, Yoruba and Igbo, using the standard characters normally recommended for each script.
<h1 style=“font-family: Andika, Andika Afr; font-size: 200%">Naija Type</h1>
<p style=“font-family: Andika, Andika Afr; font-size: 150%">The Naija Type keyboard aims to serve all Nigerian languages, not just Hausa, Yoruba and Igbo, supplying the standard characters normally recommended for each script.
</p>
<p>Please write to keyboards@m.rowbory.co.uk if you need letters that are not provided here.</p>

<ul><li><b>On touch (phones/tablets)</b>,
<ul><li>Press and hold a key for alternate characters similar to the letter you press. Then move your finger over to the letter you want.</li>
<ul><li>Press and hold a key for alternate characters similar to the letter you press. Then move your finger over to the letter you want and release.</li>
<li>For most punctuation press and hold the . (full stop / period) key or the comma key on the left of the keyboard.</li>
<li>Q, V and space contain combining symbols so you can type o then hold on Q to choose the underline or underdot or an accent above.</li></ul></li>
<li>Q, V and space contain combining symbols to add on top of the previous letter typed, so you can type o then hold on Q to choose the underline or underdot or an accent above.</li>
<li>Flick DOWN on the top row to get a digit. </li>
<li>Flick from a vowel UP-RIGHT to get the vowel with acute accent and DOWN-RIGHT to get the grave accent.</li>
<li> Flick DOWN on b, d, k for the hooked version.</li>
<li>Flick UP on the vowels to get their most common alternate shape.</li>
<li>Flick LEFT and RIGHT on the space bar to get underscore and hyphen. UP to get a non-breaking space.</li></ul></li>
<li>
<b>On a computer with physical keyboard</b>
<ul><li>Press a key like the letter you want then use the semicolon to change its shape. <br/>eg <b>a ; → ə </b> <br /><b> U ; → Ʉ </b><br /><b> U ; ; ; → U̱</b></li>
Expand All @@ -23,4 +28,4 @@ <h1>Naija Type</h1>
</li>
<li>Vertical line above alternative: type letter then ALT-Backslash.
</li></ul></li></ul>
<h2>Version 56</h2>
<h2>Version 58</h2>
13 changes: 9 additions & 4 deletions experimental/n/naijatype/source/naijatype.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
h1 {
font-size: 250%;
color: rgb(200,10,10);
}

body {
background: rgb(193, 194, 193);
font-family: "Andika","AndikaAfr","Andika New Basic Compact";
font-family: "Andika","DejaVu Sans","AndikaAfr","Andika Afr","Andika New Basic Compact";
}
.kmw-key-row {
}
Expand Down Expand Up @@ -32,16 +37,16 @@ font-size: 1.2em;
}

.phone.android .kmw-key-popup-icon, .phone.ios .kmw-key-popup-icon {
font-size: 0.8em;
font-size: 50%;
/*top: 70%;
bottom: 0px;
right: 8%;
left: initial;*/
color: #8b8;
color: #7b7;
}

.phone.android #kmw-popup-keys {
border-radius: 10px;
border-radius: 10px;
}

.phone.android .kmw-banner-bar, .phone.ios .kmw-banner-bar {
Expand Down
Loading