Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

How to solve the loss of math symbols in PDF exported using NativePDF – PB Docs 2022 – PowerBuilder Library

How to solve the loss of math symbols in PDF exported using NativePDF – PB Docs 2022

How to solve the loss of math symbols in PDF exported using
NativePDF

Symptom

Exporting a PDF file using NativePDF, you may notice the loss of
math symbols in “PDE ?_? = Δ₁^? ?”.

tr_067.png

Environment

PowerBuilder 2017 R3 Build 1951 and later 

Cause

NativePDF uses the third-party plugin PDFlib to convert the
content to EMF format before exporting the PDF file. When the AutoSize
Height property of a DataWindow column is enabled, NativePDF handle all
of the contents in this column as a whole and redraws them using the
current set font. 

When the column font is set to Arial or Arial Unicode MS font,
NativePDF cannot export them correctly as the specified font doesn’t
support the math symbols “PDE ?_? = Δ₁^? ?”. 

Solution

Solution #1:

Change the font from Arial or Arial Unicode MS font to one that
supports math symbols “PDE ?_? = Δ₁^? ?”, such as Segoe UI.

Solution #2:

Change the AutoSize Height property of the specific DataWindow
column to No.

Sample code:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x