keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
394 stars 110 forks source link

kmcomp creates faulty .kmp #1614

Closed mhosken closed 5 years ago

mhosken commented 5 years ago

Using a hand crafted .kps file and kmcomp.exe to create a .kmp results in a .kmp that won't install, saying that a file is missing. In this case it says that FONTLOG.txt is missing. khamti.zip is renamed from khamti.kmp to keep the issue tracker happy. khamti.txt is renamed from khamti.kps, again to keep the issue tracker happy.

Notice that this .kps uses a directory structure which is replicated within the .kmp. It is hard for me to create a flat structure here and would involve writing code just to do that.

darcywong00 commented 5 years ago

The folder structure inside the kmp

fonts/khamti/NamKio.ttf fonts/.txt khamti_uni.kmx kmp.inf kmp.json

Screenshot of the error kmp error

mcdurdin commented 5 years ago

The .kmp format does not support folder structures.

mcdurdin commented 5 years ago

That was a bit hasty, sorry. The .kps file is almost okay.