« Return to Thread: DO NOT REPLY [Bug 44993] New: getPostScriptName() returns wrong name

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

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View in Thread

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





--- Comment #1 from Fred Sickert <fsickert@...>  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.

 « Return to Thread: DO NOT REPLY [Bug 44993] New: getPostScriptName() returns wrong name

LightInTheBox - Buy quality products at wholesale price