cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot use fonts with numbers in the name - CSS issue

Former Member
0 Kudos

     Steps to reproduce:

1. Create a Crystal Report that has a text object with a font having a number as part of its name... for example, "Code 128".

2. Use the CrystalReportViewer.processHttpRequest() method to render the report.

The generated CSS has:

font-family:Code 128;

The chosen font will not render in WebKit (chrome, etc), Gecko (Firefox), or IE browsers. According to the CSS 2 specification, font-family values for font names containing numerals should be quoted, like:

font-family: 'Code 128';

This should be an easy fix. Can we get an ETA for that? As a workaround, I can recreate the font with a different name, but licensing for some fonts won't allow me to redistribute them if I change them. This is particularly problematic for bar code fonts, which usually are named things like "Code 39.ttf", etc.


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Just to clarify, I'm using Crystal Reports for Java runtime version 12.2.214, which is what's on the Crystal Reports for Eclipse download page here: http://scn.sap.com/docs/DOC-29757 .