DW: Font lookup does not support localized font names

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx24
    • Component/s: javafx
    • None

      OpenType fonts support localized names for family, full name etc.
      At least on Windows, using DirectWrite, it appears that lookup will fail if the supplied string doesn't match the presentation name for the user's locale.

      We should add code which does this "by hand" for failed look ups.
      A DW-specific fix would at least help Windows, although what would also help is APIs which report the localized names for fonts.


      String getName(Locale)
      and/or
      String[] getLocalizedNames()
      or
      record NameLocale { Locale l, String n }
      NameLocale[] getLocalizedNames

      same again for Family.

            Assignee:
            Philip Race
            Reporter:
            Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: