cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with HELVE font size <160 (lang=E) in PDF

0 Kudos

Dear experts,

I generate OTF code for PDF output. For HELVE which has font size smaller than 160, the space between words is not homogeneously distibuted and as a result, some words do not have any space in between, but some have correctly spaced from each other. Another strange behaviour is related with the small letter w: after w, there is a lot of space even in the same word, but it's not the case for other letters. In order to calculate word length and to generate MT and ST commands, I use LOAD_FONT function that returns metrics table for SAPGOF driver. The same program generates correct PDF for COURIER or TIMES.

Here is a piece of OTF that would print the sentence correctly : "The performance of your system was analyzed." if I change the fontsize from 80 to at least 160 in terms of correctness of space between words. But if I keep 80 (with proper space width and character width), then it prints:

 

"The performanceof your system w as analyzed."

Can you please help? I'd like to understand whether it's related with my generated OTF code (other statements that might impact) or it's related with system settings somehow and if possible to correct?

Kind regards

Ebru

.......

CP 41030000E

FC HELVE   080  00093XSF001SF0014103  44 E    00001

CT 00000000

MT 0272002400

ST 0032008The

MT 0304002400

ST 0094124performance

MT 0398102400

ST 0017706of

MT 0415802400

ST 0035510your

MT 0451302400

ST 0055014system

MT 0506302400

ST 0032908was

MT 0539202400

ST 0072920analyzed.

Accepted Solutions (1)

Accepted Solutions (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Please, see  SAP Note 409194 - Printing from Acrobat Reader vs.Printing from SAP, in "Cause and prerequisites" where it explain how OTF measurement unit TWIPS while PDF measurement unit PT could cause the position differs. It goes on with a solution.

I hope this helps you

Regards

Eduardo

0 Kudos

Hello Eduardo,

Many thanks for your answer. I could solve the issue thanks to the note 960341. I had to change device type on top of OTF from HPLJIID to PDF1 or POST2: then the unequally distrobuted spaces disappear.

Thanks, kind regards

Ebru

Answers (0)