Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: FontBox
    • Labels:
      None

      Description

      Exception in thread "main" java.lang.NullPointerException
      at org.apache.fontbox.cff.CFFParser$Format1Charset.getCIDForGID(CFFParser.java:1326)

      when isCIDFont is false

      byte[] data = IOUtils.toByteArray(new FileInputStream("Broadsheet LDO.otf"));
      CFFParser p = new CFFParser();
      CFFFont ff = p.parse(data).get(0);
      ff.getCharset().getCIDForGID(0);

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              ssteiner1 simon steiner
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: