Open juukas opened 2 years ago
Interesting. I have not tried to compile to mac yet.
Does it work if you find "sv_SE.UTF-8" (in src/alpha.h) and change it to "sv_SE.UTF8" (with minus sign) or change to "en_US.UTF-8"
I might have messed that up, but on my linux machine it works. If it works better with any of the others I could change to them.
Hmm.. Some notes for me.. https://stackoverflow.com/questions/1745045/stdlocale-breakage-on-macos-10-6-with-lang-en-us-utf-8
Created pull request #3
Does it work now if you try to downoad the latest changes? @juukas
@mls-m5 thank you for looking into it! I will check it out and report when I get back home ~tuesday.
Nice.
By the way, I forgot to mention. Maybe I should have put a link in the readme aswell.
While making this program I got some swedish fonts from another guy in a Facebook group. I really appreciate to have someone more that tests out the library, but if you do not get it to work, you could try some of these fonts:
https://github.com/mls-m5/alphasmart-neo-backup/tree/master/extra-fonts
@juukas I think it is time to close this issue. Btw. I am working on a web based editor if you are interested in that in the future.
I get an error:
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: collate_byname<char>::collate_byname failed to construct for sv_SE.UTF8
When running this command:font_editor xxx.os3kapp -f font-data.txt
(I am running MacOS Catalina).My knowledge around building in cmake is extremely limited and I am sorry if made an obvious mistake. I have a Swedish Neo2 that unfortunaly came flashed with UK software, so I am trying to make all of the characters on the keyboard to become 100% swedish, since the physical layout is swedish. The fonts I found online have correct swedish layout for the characters but not for all of the special characters.