Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with H̱ (Egyptian transliteration) #346

Open
niekveldhuis opened this issue Oct 18, 2018 · 6 comments
Open

problem with H̱ (Egyptian transliteration) #346

niekveldhuis opened this issue Oct 18, 2018 · 6 comments
Assignees

Comments

@niekveldhuis
Copy link

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.

  • Nammu's version, which you can find in the filename (e.g 0.3.1 for
    nammu-0.3.1.jar) Nammu 1.1.1
  • Java version, which you can find opening a terminal and typing java -version.
  • Computer Platform: Windows, OSX, Linux, ... OS X
  • Please state clearly the steps we should follow to reproduce your problem. We
    can help you better if we can reproduce the problem.
    Try entering ꜤꜢH̱ - after entering H̱ the first two should turn into boxes (happened on three different Macs here)
  • If you are experiencing a problem which involves dialing with a specific file,
    you won't be able to attach it to a GitHub issue. You can paste the contents
    and filename if possible, or otherwise you can email it to us at
    rc-softdev at ucl.ac.uk.
  • Please, do attach a screenshot if it is helpful to showcase your problem. You
    can see how to do that
    here.
@niekveldhuis
Copy link
Author

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)

@raquelalegre
Copy link
Contributor

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.

screen shot 2018-10-18 at 14 36 12

Also, which version of OS X do you have?

@niekveldhuis
Copy link
Author

niekveldhuis commented Oct 18, 2018 via email

@raquelalegre
Copy link
Contributor

raquelalegre commented Oct 19, 2018

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.

@raquelalegre
Copy link
Contributor

raquelalegre commented Oct 26, 2018

@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.

@raquelalegre
Copy link
Contributor

Hi @niekveldhuis - have you had a chance to test that release linked above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants