Soft-Hyphen with Ukelele made keyboard layout
Posted: 2012-07-11 15:39:26
Hello everyone:
I have created an Armenian test font with FontLab and used the Armenian hyphenation character in all three places of hyphenation: hyphen (002D, in Unicode), soft-hyphen (00AD), and the Armenian hyphen (058A), so that whenever I press the hyphen key the Armenian character will be used. I created an Armenian keyboard layout with Ukelele, and designated the right character into the right spot. I used the soft-hyphen character at cmd-hyphen, so that the soft-hyphen macro of Nisus will utilize it.
Now the problem:
1. Hard hyphenation shows up in the desired character design when I press hyphen in U.S. keyboard.
2. Soft-hyphenation changes into minus sign in U.S. keyboard.
3. Hard hyphenation shows up in the desired character in Armenia keyboard.
4. Soft-hyphenation changes into minus sign in Armenia keyboard.
How can I make 2 & 4 show the Armenian hyphenation instead of the minus sign (the regular hyphenation character). By the way, there is NO minus sign type of hyphenation in this test font. So, I am very sure the OS is using the default font's soft hyphen character, which looks like minus sign. I have noticed that the default font of Mac OS is Verdana, because when I activate the Show Keyboard Viewer, and the U.S. Keyboard is selected, the characters are shown as Verdana font, and when I switch to Armenia, the characters of Mshtakan font is displayed. When I press on cmd key, and look at the hyphen, I see Verdana's hyphenation character!! When I switch back to U.S., and press the cmd key, the same thing, hyphenation character in Verdana. Mshtakan font is part of the OS fonts, and it has ONLY Armenian characters with very few ASCII characters, like hyphen, comma, numbers, etc.
Any suggestions? Martin?
I can supply the font and the keyboard layout for your testing if you want. Let me know.
I have created an Armenian test font with FontLab and used the Armenian hyphenation character in all three places of hyphenation: hyphen (002D, in Unicode), soft-hyphen (00AD), and the Armenian hyphen (058A), so that whenever I press the hyphen key the Armenian character will be used. I created an Armenian keyboard layout with Ukelele, and designated the right character into the right spot. I used the soft-hyphen character at cmd-hyphen, so that the soft-hyphen macro of Nisus will utilize it.
Now the problem:
1. Hard hyphenation shows up in the desired character design when I press hyphen in U.S. keyboard.
2. Soft-hyphenation changes into minus sign in U.S. keyboard.
3. Hard hyphenation shows up in the desired character in Armenia keyboard.
4. Soft-hyphenation changes into minus sign in Armenia keyboard.
How can I make 2 & 4 show the Armenian hyphenation instead of the minus sign (the regular hyphenation character). By the way, there is NO minus sign type of hyphenation in this test font. So, I am very sure the OS is using the default font's soft hyphen character, which looks like minus sign. I have noticed that the default font of Mac OS is Verdana, because when I activate the Show Keyboard Viewer, and the U.S. Keyboard is selected, the characters are shown as Verdana font, and when I switch to Armenia, the characters of Mshtakan font is displayed. When I press on cmd key, and look at the hyphen, I see Verdana's hyphenation character!! When I switch back to U.S., and press the cmd key, the same thing, hyphenation character in Verdana. Mshtakan font is part of the OS fonts, and it has ONLY Armenian characters with very few ASCII characters, like hyphen, comma, numbers, etc.
Any suggestions? Martin?
I can supply the font and the keyboard layout for your testing if you want. Let me know.