Resolve DOC1 ERROR rpkafp while generating HIP for output as AFP

Products Affected: EngageOne Compose (fka DOC1 Generate and Designer)
Product Feature: DOC1GEN
Operating System: Windows 2003
 

Issue

Publication has  ARABIC text and while  generating HIP file there was an error regarding outline fonts.

ERROR rpkafp.c 4252 RpkCreateMapFile : RPKAFP: ERROR Source font contains more variable size glyphs than permitted for an AFP FOCA font. 


To generate HIP successfully we had to change output device configuration of AFP to FOCA type1. And HIP was generated/However when we try to view AFP file generated form HIP , we get error in viewing pages and also we were unable to print.


So customer had to make the   output device configuration of AFP to bitmap again to make it work. But HIP error as above comes,

 

Cause

The problem here stems from the range of characters available in a multi code page font like Arial (or any of the others, ie Times New Roman) for double byte languages, such as Arabic. 

When you select the Arabic section for any of these fonts, when the HIP is built, then number of characters included exceed the number permitted for Bitmap output, resulting in the error given. 

If the customer wants to include Arabic text, and produce AFP Bitmap output, then they will need a source a suitable Arabic font. One such font is Simplified Arabic (that can be used) , but there will be others. 

Resolution

UPDATED: February 11, 2019
The problem here stems from the range of characters available in a multi code page font like Arial (or any of the others, ie Times New Roman) for double byte languages, such as Arabic. 

When you select the Arabic section for any of these fonts, when the HIP is built, then number of characters included exceed the number permitted for Bitmap output, resulting in the error given. 

If the customer wants to include Arabic text, and produce AFP Bitmap output, then they will need a source a suitable Arabic font. One such font is Simplified Arabic (that can be used) , but there will be others. 

So customer needs  to replace the fonts for Arabic text to suitable font