PDF output contains weird character in text.

KB-20231023-01

Version

XFRX 19.0

Symptoms

Some fields contains weird character in text exampl: "Ø" instead "é".

Cause

  • Report use font Times
  • EXACT is OFF

XFRX identify a font "Times" as system font  (this is a bug because system font is Times-Roman) for PDF and in this case PDF viewer use "StandardEncoding" (Adobe standard Latin-text encoding). In this encoding letter "é" doesn't exist.

Workaround

If you change font from "Times" to "Times New Roman", then result will be right.

USE "report.frx"
REPLACE fontface WITH 'Times New Roman'  FOR INLIST(objtype , 5,8) AND fontface=='Times'
USE