Code Fix: Rich text control font results in PDF generating incorrectly


Badge +4

Issue Description

When you add HTML to the Rich Text Control using a font such as MS Sans Serif, which is not included in the Rich Text control instead of a font such as Segoe UI which is included, it generates gibberish when generating a PDF.

Resolution

The fix is available in:

  • K2 Five (5.4) March 2022 Cumulative Update Fix Pack 03.

Ā 

  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.

Considerations

It is important to test that the selected font displays correctly when a PDF is generated.

Comments

Only Microsoft San Serif and not MS Sans Serif can be brought through due to Microsoft Sans Serif being a TrueType font, introduced with early Windows versions. It is also a successor of MS Sans Serif (formerly Helvetica), introduced in Windows 1.0. Both of these fonts are similar in design to Arial and Helvetica, as it was made to match the MS Sans bitmap included in the early releases of Microsoft Windows.


0 replies

Be the first to reply!

Reply