ICEpdf
  1. ICEpdf
  2. PDF-930

Implement getStyle() method for Pro font engine

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0_P01
    • Fix Version/s: 6.0.1
    • Component/s: Font Engine
    • Labels:
      None
    • Environment:
      PRO

      Description

      A customer has request that the FontFile interface method getStyle():int be implemwent in NFont. The getStyle() method is currently only implemented in the OFont class. In OFont the method returns an integer from AWT Font class's getStyle which with a little bit manipulation can be used to determine, PLAIN, BOLD, ITALIC or BOLD ITALIC.

      The customer has requested the PRO version have a similar behavior. The currently implementation only returns zero or PLAIN. The new implementation will return a value for all font types except Type3 as no font style information is stored in this format.

        Activity

        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: