CreateFontPackage Error: 1106

I'm getting this error on a very lengthy report. When this is trying to print using device of PDF, it's creating a 4.5MB file, but the file is corrupted when this error occurs. It appears to be at the end of the various pages it's trying to print, but I can't tell you how many pages, etc.

I've tried this in 19.04 and now 20.01 (with the latest update).

Here is the EurekaLog dump of the routine.

Exception:
----------------------------------------------------
2.1 Date : Tue, 5 Nov 2019 15:29:08 -0700
2.2 Address : 01FCA80C
2.5 Type : Exception
2.6 Message : CreateFontPackage Error: 1106.
2.7 ID : 0C74DFEA
2.8 Count : 1
2.9 Status : New
2.10 Note :
2.11 Sent : 0

|7FFFFFFE|03 |00000000|01FCA80C|RIMST.EXE |01BCA80C|ppWinEmbedFont.pas |ppWinEmbedFont | |ppCreateFontPackage | |
|00000060|03 |0018ED1C|01FCA573|RIMST.EXE |01BCA573|ppWinEmbedFont.pas |ppWinEmbedFont | |ppCreateFontSubset | |
|00000020|04 |0018ED48|00673397|RIMST.EXE |00273397|Vcl.Graphics.pas |Vcl.Graphics |TCanvas |RequiredState |4223[12] |
|00000060|03 |0018ED64|01FCB75C|RIMST.EXE |01BCB75C|ppPDFFontFile.pas |ppPDFFontFile |TppPDFFontFile |RetrieveFontData | |
|00000060|03 |0018EDA0|01FCB3FB|RIMST.EXE |01BCB3FB|ppPDFFontFile.pas |ppPDFFontFile |TppPDFFontFile |CreateFontFile | |
|00000060|03 |0018EDD4|01FCB7F0|RIMST.EXE |01BCB7F0|ppPDFFontFile.pas |ppPDFFontFile |TppPDFFontFile |SaveFontFile | |
|00000020|03 |0018EDE0|01FCCD63|RIMST.EXE |01BCCD63|ppPDFFontDescriptor.pas|ppPDFFontDescriptor|TppPDFFontDescriptor |SaveFontDescriptor | |
|00000020|03 |0018EDEC|01FD255E|RIMST.EXE |01BD255E|ppPDFFont.pas |ppPDFFont |TppPDFFont |SaveFont | |
|00000020|03 |0018EDF8|02063378|RIMST.EXE |01C63378|ppPDFDevice.pas |ppPDFDevice |TppPDFDevice |EndJob | |
|00000060|03 |0018EE6C|020DB4E4|RIMST.EXE |01CDB4E4|ppDevice.pas |ppDevice |TppPublisher |TakeDeviceAction | |
|00000060|03 |0018EE9C|020DB894|RIMST.EXE |01CDB894|ppDevice.pas |ppDevice |TppPublisher |EndJob | |
|00000060|03 |0018EEB8|020CC0AF|RIMST.EXE |01CCC0AF|ppProd.pas |ppProd |TppProducer |FinalizeReport | |
|00000020|03 |0018EEC8|020CC19F|RIMST.EXE |01CCC19F|ppProd.pas |ppProd |TppProducer |PrintToDevices | |
|00000060|03 |0018EEE0|01F2C333|RIMST.EXE |01B2C333|ppReport.pas |ppReport |TppReport |PrintToDevices | |
|00000060|03 |0018EF00|020CC558|RIMST.EXE |01CCC558|ppProd.pas |ppProd |TppProducer |PrintToFileEnd | |
|00000060|03 |0018EF34|020CCE2F|RIMST.EXE |01CCCE2F|ppProd.pas |ppProd |TppProducer |OutputReport | |
|00000020|03 |0018EF54|01E7EAE6|RIMST.EXE |01A7EAE6|ppScreenDevice.pas |ppScreenDevice |TppCustomScreenDevice|DeviceName | |
|00000060|03 |0018EF5C|020CBEE6|RIMST.EXE |01CCBEE6|ppProd.pas |ppProd |TppProducer |Print | |
|00000060|03 |0018EF78|01F2B2ED|RIMST.EXE |01B2B2ED|ppReport.pas |ppReport |TppReport |Print | |
|00000020|04 |0018EF80|028516E2|RIMST.EXE |024516E2|Reports.pas |Reports |TFReports |PrintNarrative |1781[108] |

Comments

  • Hi John,

    Occasionally certain font collections (Truetype Collections) are misinterpreted by the windows fontsub.dll library. These are usually Asian fonts. See if you can isolate the font causing the problem and I will add it to our list of fonts to process individually and create a patch to solve the problem.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Thanks. Sorry, I didn't get an email that you had replied and just now followed up. I will let you know what we find.
  • We found that the Segoe UI EMoji one causes this.

Sign In or Register to comment.