Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.2.1
-
Fix Version/s: 0.2.2
-
Component/s: PDF Plugin
-
Labels:None
-
Number of attachments :
Description
Might have to migrate to iText 5.0 to tackle this. Migrate first, test, and see if that solves the problem.
Activity
Andrew Binstock
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Due Date | 2010-05-15 00:00:00.0 | 2010-06-15 00:00:00.0 |
Andrew Binstock
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Andrew Binstock
logged work - 12/Aug/10 12:38 AM
-
- Time Spent:
- 40 minutes
- Began refactoring PdfFont so that this repair is more manageable. Broke out 360+ lines of code into PdfFontFactory, which is where most of the fix will take place. It needs further refactoring, before the surgery can begin, IMO.
Andrew Binstock
made changes -
| Remaining Estimate | 4 hours [ 14400 ] | 3 hours, 20 minutes [ 12000 ] |
| Time Spent | 40 minutes [ 2400 ] |
Andrew Binstock
logged work - 13/Aug/10 2:01 AM
-
- Time Spent:
- 2 hours, 30 minutes
-
Cracked this nut! The problem was in how I was registering the font in iText. The key is to register only the font file, not (as I was doing) the font file and the name I was assigning to it. The name comes from the font, so iText finds it correctly. Tested it on two test files, and it worked correctly both times, whereas it failed before.
Very excited to have this behind us!
Andrew Binstock
made changes -
| Remaining Estimate | 3 hours, 20 minutes [ 12000 ] | 50 minutes [ 3000 ] |
| Time Spent | 40 minutes [ 2400 ] | 3 hours, 10 minutes [ 11400 ] |
Andrew Binstock
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 0.2.2 [ 16586 ] | |
| Fix Version/s | 0.2.1 [ 16070 ] | |
| Resolution | Fixed [ 1 ] |
This continues to be a problem even with the update to iText v. 2.1.7. This really should be fixed before v. 0.2.2 is released, if at all possible.