[reportlab-users] Incorrect character composition

Robin Becker robin at reportlab.com
Tue Apr 21 05:51:04 EDT 2015


Glenn,

my reading of the control sequence(s) is that these glyphs are being 
individually positioned in PDF; I see 12 separate Tm operators.

I ideally we should see a single BT with a string containing 14 bytes which 
would imply that acrobat handles all the glyph positioning.

I believe that the text strings are actually using two bytes per glyph; the map 
looks like

6 beginbfchar
<006d> <00e3>
<047a> <0303>
<0690> <0186>
<0699> <0190>
<0727> <0254>
<072d> <025b>
endbfchar

so the byte strings required correspond to the first of each pair.

006d = 00 m = \000m
047a = 04 z = ^Dz   the tilde
06?? = 06 ?? = ^f?
0727 = 07 ' = ^G'
072d = 07 - = ^G-

etc etc. My mailer can't actually cope with the odd characters in the 06 lines.
-- 
Robin Becker


More information about the reportlab-users mailing list