Hi all
Maintaining an application and unfortunately changing the pdf version is switching the PDF created from using an ANSI encoding (2.1.3) to using a Custom encoding (2.6.5 and above) for fonts (visible in file properties)
The application is in Delphi 6 and the WPDF components are being used (TWPDFPrinter), text being transferred I believe via such code as
LineTo(Canvas.Handle,LeftDots+WidthDots,TopDots + H);
(Not my code, just catching up in the area)
I've looked at FontMode, which seemed to give no change on settings
Found out the general terms of the two
*"Custom" means that an encoding table is *explicitly* defined within
the PDF file.
It does not matter what the mapping is used, the document will always
be displayed and printed equally on any platform/printer (because of
explicitly mapping).
*'Ansi' (or 'Roman', or 'Expert') implies an implicit (but the
predefined) mapping. It means that the PDF file does not contain an
encoding table, but a viewer/printing application internally uses one
of predefined encoding tables
The issue basically is letters cut off, So R would be missing part of the upper curve, or 'w', where the last part of the w is cut off.
Anyone with experience with this and know the right property to set?
Or is it a case of resetting a lot of various fonts :(
Thanks