Open niekveldhuis opened 6 years ago
Java version: 8 update 1.9.1 Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode) (two different machines)
Hi @niekveldhuis. Thanks for the report.
Are you able to type those characters in other text editors, like Notes, and have no problems?
Nammu uses the Monaco font as default for Mac OS computers. I'm happy to change that to the font you use regularly, or add a section in the settings to configure the font in another way. Which font do you use normally that contains those characters? I can make a test release with that font so you can test it.
I've copy-pasted your example in my local version of Nammu and the characters look right, but it might be that Monaco doesn't contain them, and the system automatically changes to the default font installed on my Mac, and that one does have those characters. I've attached a screenshot so you can check if I'm testing this in the same way you are.
Also, which version of OS X do you have?
Hi Raquel,
I was using OS X 10.13.6, my two collaborators were using OS X 10.12. We were experimenting with Egyptian on ORACC - I'm not quite sure what font to use for these characters. Is it the case that Nammu switches to a different font when I try to enter the H with underline and that that font does not include the Ayin etc.? I guess that means we should find a font that includes all of the characters needed for Egyptologists. I do not have this issue in Aquamacs or other programs I tried so far. Is Nammu 1.1.1 the best version to try? Niek
Niek Veldhuis Professor of Assyriology, Department of Near Eastern Studies Senior Fellow, Berkeley Institute of Data Science UC Berkeley
On Thu, Oct 18, 2018 at 5:10 PM Raquel Alegre notifications@github.com wrote:
Hi @niekveldhuis https://github.com/niekveldhuis. Thanks for the report.
Are you able to type those characters in other text editors, like Notes, and have no problems?
Nammu uses the Monaco font as default for Mac OS computers. I'm happy to change that to the font you use regularly, or add a section in the settings to configure the font in another way. Which font do you use normally that contains those characters? I can make a test release with that font so you can test it.
I've copy-pasted your example in my local version of Nammu and the characters look right, but it might be that Monaco doesn't contain them, and the system automatically changes to the default font installed on my Mac, and that one does have those characters. I've attached a screenshot so you can check if I'm testing this in the same way you are.
[image: screen shot 2018-10-18 at 14 36 12] https://user-images.githubusercontent.com/10402246/47158266-309ffa80-d2e3-11e8-955f-3f3f677321cc.png
Also, which version of OS X do you have?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/oracc/nammu/issues/346#issuecomment-431024040, or mute the thread https://github.com/notifications/unsubscribe-auth/AOU5DcGCux8ob41mQpIjkuKTurRPgAZqks5umIvwgaJpZM4Xta1P .
We have done some more tests and discovered the default font Nammu has for Mac OS doesn't work well with the characters you are testing. I am preparing a test release for you with DejaVu Sans as default font, since it seems to have those characters. I'll let you know when it's ready so you can test it and let me know if it looks OK.
DejaVu Sans is probably not the best font for this, so I will make a note to test some other fonts in the future, or give a choice in the settings to display the user's preferred font.
@niekveldhuis I'm sorry it has taken longer than I thought. It was not trivial to find a version of a font that'd work well in OS X. Please download a new release with a fix here: https://github.com/oracc/nammu/releases/download/font-fix/nammu-dejavusans.jar
Please let me know if it displays well in your laptop or not, so we take it into account for the next official release.
For future reference, this website was quite useful to see what characters can be represented in a given font file: https://bluejamesbond.github.io/CharacterMap/
Also java.awt.GraphicsEnvironment.getAllFonts
and java.awt.GraphicsEnvironment.getAvailableFamilyNames
.
Hi @niekveldhuis - have you had a chance to test that release linked above?
After entering the character H̱ Nammu turns Ayin (Ꜥ) Egyptian Alef (Ꜣ) and half brackets (⸢ and ⸣ ) into boxes. All new Ayins and Alefs appear as boxes too. This happens when entering the H̱ with a special keyboard definition but also when copying a H̱ from another document.
java -version
.rc-softdev at ucl.ac.uk
.