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

Characters are present and encoded, but Font Info: Unicode Ranges and Compact don't know about them, nor does Word #5395

Open
4 of 8 tasks
JSColburn opened this issue Apr 2, 2024 · 1 comment

Comments

@JSColburn
Copy link

JSColburn commented Apr 2, 2024

  • Provide a general summary of the issue in the Title above.
  • Before you open an issue, please check if a similar issue already exists or has been closed before.

Important

Mark with [x] to select. Leave as [ ] to unselect.

When reporting a bug/issue:

  • Screenshot
    image
    image
  • The FontForge version and the operating system you're using: 20230101 under Windows 10 version 22H2 for x.64
  • The behavior you expect to see, and the actual behavior: Characters have been added at their proper Unicode slots, and the font generated (all errors were corrected except some noninteger coordinates that did not respond to Round). Apps cannot find these characters; Word 2019 switched to a different font for them. In FF, Font Info: Unicode Ranges reports zero characters present, even though, when I click the line for that range, Font View comes up with the characters highlighted as shown in the first screenshot. Second screenshot is the Glyph Info for one of them. They did not (at first; see below) show up in Compact either.
  • Steps to reproduce the behavior
  • (optional) Possible solution/fix/workaround: After closing the .sfd, closing FontForge, and reopening, I found that the new characters now show up in Compact, even though Font Info: Unicode Ranges still reports 0/123 characters, Generated the font, reopened the generated .ttf in FontForge, and from this file Font Info: Unicode Ranges now reports 72/123 characters present. Installed the font and it now works in Word. All's well that ends well, but the original .sfd still says 0/123 characters.

When you open an issue for a change/improvement/feature request:

  • A description of the problem you're trying to solve, including why you think this is a problem
  • If the feature changes current behavior, reasons why your solution is better
  • (optional) Possible solution/fix/workaround
@JSColburn
Copy link
Author

After I added 4 more characters to the range, Font Info: Unicode Ranges was still at 72/123 when it should have been 76/123.

In short, adding characters to a range does not update the count in Font Info: Unicode Ranges. Because apps such as Word apparently rely on that count to ascertain whether there are any characters in the range, if you start with an empty range, apps will not know there are any characters, will not attempt to access them, and will substitute from other fonts instead,

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

No branches or pull requests

1 participant