You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/05/14 00:47:48 UTC

DO NOT REPLY [Bug 44993] New: getPostScriptName() returns wrong name

https://issues.apache.org/bugzilla/show_bug.cgi?id=44993

           Summary: getPostScriptName() returns wrong name
           Product: Fop
           Version: 0.94
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fonts
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: fsickert@yahoo.com


I am trying to use TTFFile.getPostScriptName() on Arialbd.ttf. It is returning
Arial,Bold which is incorrect. If I use printStuff (which looks like it just
calls getPostScriptName()), it prints the correct name of Arial-BoldMT as the
Font Name.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44993] getPostScriptName() returns wrong name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44993

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-01 13:51:41 UTC ---
batch transition to closed remaining pre-FOP1.0 resolved bugs

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44993] getPostScriptName() returns wrong name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44993





--- Comment #1 from Fred Sickert <fs...@yahoo.com>  2008-05-13 16:31:46 PST ---
Here is the example 

import org.apache.fop.fonts.truetype.*;
 import java.io.*;
 class TTFName 
{
        public static void main(String[] args) 
        {
 try {
        TTFFile ttf = new TTFFile();
        FontFileReader reader = new
FontFileReader("c:\\windows\\fonts\\Arialbd.ttf");
        ttf.readFont(reader);
        ttf.printStuff();
        System.out.println(ttf.getPostScriptName());
   } catch (Exception e) {
            e.printStackTrace();
            }


        }
}


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44993] getPostScriptName() returns wrong name

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44993


Jeremias Maerki <je...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #2 from Jeremias Maerki <je...@apache.org>  2008-06-02 08:25:46 PST ---
This has been fixed as part of the various improvements in font support after
0.94 and works as expected in FOP 0.95beta.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.