Post new topic    
Liquid Metal Slime
Send private message
Special font characters not working? 
 PostWed Nov 12, 2014 4:48 am
Send private message Reply with quote
I've had this problem for a long time, but I've always just ignored it because it was never that important, but I've never been able to use the full font page successfully. Only some of the characters that aren't A-Z or punctuation work, for example the ones that require alt+key to work. I use a mac, maybe that's why.
My pronouns are they/them
Ps. I love my wife
Metal King Slime
Send private message
 
 PostWed Nov 12, 2014 5:19 am
Send private message Reply with quote
So you mean all the alt+* and shift+alt+* key combinations don't work? Does the alt key work normally in inputtest.rpg, whether by itself or in combination with other keys?
Liquid Metal Slime
Send private message
 
 PostWed Nov 12, 2014 5:31 am
Send private message Reply with quote
The alt key works. Sometimes it will work, the poison icon works, for example, but none of the others do. For others it'll just put a "?" in its place.
My pronouns are they/them
Ps. I love my wife
Metal King Slime
Send private message
 
 PostWed Nov 12, 2014 5:46 am
Send private message Reply with quote
Oh! That explains it. On Macs, alt+* key combinations actually input various extended characters. The OHR receives these correctly, but they can't be mapped to our simple font, so it substitutes in '?' instead. Additionally, whenever the engine receives textual input from the OS it doesn't try to do its own special mapping, effectively disabling all these keys on Mac. Ideally we would use key combinations that don't clash with the OS, but I don't think using the command key would make much sense (and would collide with the few existing Mac-specific key combinations using the command key that we have). Maybe ctrl+alt+X or similar is available.

Do almost key combinations seem to input '?', or do some of them entry something else (including blank spaces, probably corresponding to blanks in the font)? One solution would be to just ignore text input that's not representable in the font and fall back to our custom alt-key combinations.
Liquid Metal Slime
Send private message
 
 PostWed Nov 12, 2014 5:59 am
Send private message Reply with quote
That makes sense. That's how I make symbols like these åΩøˆ¥πµ˜∫√ç≈

And yes, some input ?, but others are blank and others work properly. I'll try to see what I can do now that I know what the problem is.
My pronouns are they/them
Ps. I love my wife
Metal King Slime
Send private message
 
 PostWed Nov 12, 2014 9:30 am
Send private message Reply with quote
Hmm, in that case it seems like a bad idea to either disable all of them, or even only the ones that get translated to '?'. It would be better to use something other than alt.
Liquid Metal King Slime
Send private message
 
 PostWed Nov 12, 2014 3:20 pm
Send private message Reply with quote
Don't forget you can always press CTRL+SPACE to insert a character picked from a menu. It is certainly slower than the other method, but it is better than nothing.
Liquid Metal Slime
Send private message
 
 PostThu Nov 13, 2014 4:39 am
Send private message Reply with quote
Bob the Hamster wrote:
Don't forget you can always press CTRL+SPACE to insert a character picked from a menu. It is certainly slower than the other method, but it is better than nothing.


Speed is not an important factor here. That method works great for what I'm doing. Thank you!
My pronouns are they/them
Ps. I love my wife
Metal King Slime
Send private message
 
 PostFri Nov 14, 2014 12:51 pm
Send private message Reply with quote
For completeness, I'll mention that there is also a command line option, --no-native-kbd, which forces the engine to ignore all OS text input and do its own mapping, assuming a US keyboard layout. Using that will make the custom alt- combinations work. You can pass commandline options on Mac by running "OHRRPGCE-Custom.app/Contents/MacOS/ohrrpgce-custom --no-native-kbd" from a terminal. But I'd like to expose these sort of options via a config file and menu.
Display posts from previous: