FontSettings.addFontsFolder only loads TTF fonts

Test class:

import com.aspose.imaging.FontSettings;

public class AsposeTest {
    public static void main(String[] args) throws Exception {
        FontSettings.setFontsFolder("");
    }
}

Test font file is Lucida Grande.ttc.zip.

Other than that I’ve reproduced this so far on:

  • Aspose 19.10, 19.11
  • JDK 8u172
  • macOS 10.15.1 (19B88)

@nuix,

Thank you for sharing the information. An issue with ID IMAGINGJAVA-1515 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be addressed.