Designer doesn't support Chinese well

ok a couple of things here.

  1. the directory route will work, however you need to put the fonts into the jre-{OS} zip or tar. these zips/tars are the files that are retrieved by a client/designer when targeting a gateway. Also, you will have to clear out the cache for a previously downloaded version of the runtime that is in .ignition/cache/resources/runtimes on machines you want to launch the designer/client from.
  2. To get these fonts to render without having to explicitly choose these fonts make sure you put them in the lib/core/fonts/fallback directory in the zip or tar. the JVM will search all the fonts in this directory to render characters that the selected font can’t render. You will notice a lot of additional fonts in there to support additional languages already.
  3. OTF fonts should work fine

Eventually we would like to add a more seamless font management solution that puts the user more in control of their default and fallback fonts, but this is a good middle ground until then.

Thanks,
Jonathan C

4 Likes