Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Unicode characters in pdf  (Read 3014 times)
Frances W.
Posts: 4

« on: March 08, 2016, 03:26:38 pm »

Using 8805.toChar() in a .4rp and outputting that to XLS produces the expected result of the ≥ character. Changing the output to PDF however results in nothing appearing at that point. What do I need to do to produce this character in a PDF?
Alex G.
Four Js
Posts: 129

« Reply #1 on: March 08, 2016, 03:43:39 pm »

Hi Frances,
what works for sure is to set "fidelity" to true on the drawable (e.g. WORDBOX). This has however the drawback that the text cannot be searched for because the characters are drawn as outlines and not embedded.

Better is to try the API function fgl_report_configurePDFFontEmbedding() to see if that fixes the problem. The documentation points in the direction that this might solve the problem:

#+ Function to configure the font embedding in PDF output
#+  This function is applicable when PDF output has been selected by a
#+  call to the function fgl_report_selectDevice.
#+  The argument to this function is optional (indicated by passing a null
#+  value).
#+ @param preferUnicodeEncoding Specified to encode characters in unicode whenever possible.
#+  This option should be set if non latin characters are used in the document.
#+  Unsetting the option improves processing speed and yields slightly smaller documents.
#+  By default the parameter has a value of TRUE.
Finally it could be a font problem but perhaps you can try these two options first.
Pages: [1]
  Reply  |  Print  
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines