chengse66 / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

CodePage troubles #253

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create Flash AIR project, import all necessary stuff
2. load TTF file and AFM file into ByteArrays, feed them to new EmbeddedFont()
3. Error #1007: Instantiation attempted on a non-constructor.
    at org.alivepdf.fonts::AFMParser/makeFont()
    at org.alivepdf.fonts::AFMParser()
    at org.alivepdf.fonts::EmbeddedFont()

What is the expected output? What do you see instead?
Font should be embedded in PDF, however I get a crash

What version of the product are you using? On what operating system?
AlivePDF 0.1.5RC, Flash CS3, Mac OSX 10.6

Please provide any additional information below.
Crash happens at AFMParser.as, makeFont(), line:
'var map:Array = readMap( new enc() );'
Seems like 'enc()' isn't recognised as a class.

Original issue reported on code.google.com by henk.van...@wxs.nl on 16 Jun 2010 at 2:36

Attachments: