I have installed wPDF4 purchased in 2018 but there is no "wPDF" component there, just "TWPPDFProperties" and "TWPPDFPrinter" while I use "TWPDFExport".
Beiträge von CPSInc
-
-
Which component and what property you refer to?
There is no Type3Fonts in my FontMode TWPPDFExport, just these:
[Blockierte Grafik: http://cosmic-matrix.com/tmp/wpdf_3.png]
-
I'm using a custom font special symbols in TWPRichText (twp in code below) document
[Blockierte Grafik: http://cosmic-matrix.com/tmp/wpdf_0.png]
When I export this document with following code
Codevar WPE: TWPPDFExport; WPDF_Start(WPToolsUser, WPToolsPass); twp.ReformatAll(true); wpe.Source:= twp; wpe.AutoLaunch:= TRUE; wpe.Filename:= fn; WPE.Print();
I get a PDF file that looks correct in case in Windows region settings the language for non-Unicode programs is set to English or Russian,
[Blockierte Grafik: http://cosmic-matrix.com/tmp/wpdf_1.png]
but if a customer's computer has language for non-Unicode programs set to Japan,
the special character are displayed incorrectly like it uses absoluteley another font.
[Blockierte Grafik: http://cosmic-matrix.com/tmp/wpdf_2.png]
I was trying all available FontMode properties in PDF component but have no luck.
-
Thank you, it works like charm.
-
It seems ASetFontName does not work:
tbli: TParagraph;
tbli.Rows[i].Cols[j].ASetFontName('Arial');
has no any effect
Other similar methods like:
======================
tbli.Rows[i].Cols[j].ASetCharStyle(true, WPSTY_BOLD);
tbli.Rows[i].Cols[j].ASetColor(WPAT_FGColor, clHeaderBack);
tbli.Rows[i].Cols[j].ASetColor(WPAT_BorderColor, clRed);
======================
work fine.