Crystal report for eclipse font problem.

Posted on 2009-02-08
Last Modified: 2012-08-14
Im using Crystal Report For Eclipse 1.0.4.
I want to display text on page with specific font.
I set font there but i think there is problem.
Some of users cant view proper report due to font problem.
How to force to viewer to display text in the specified font?
Question by:omkar_kelkar4u
    LVL 26

    Expert Comment

    by:Kurt Reinhardt
    Crystal Reports depends very highly on printer settings, either the default printer or a specified printer.  If your users don't have the same printer drivers, they won't necessary see what you've created in exactly the manner you desire.  Try not to use special fonts/printer-specific fonts unless you know your users have access to it.  Generally speaking, when I design reports for a client, I try to use the same printer they will or a generic, commonly used laser printer with common fonts like arial and times new roman.


    Author Comment

    Thanx rhinok!
    but my problem is not at all related with printer.
    Problem is with viewer only...
    I used Arial font first, but now using Lucida sans...
    I was facing problem that time & now also...
    I justified text on textfield, but in viewer no text formatted as justified.
    If I export report in PDF format then I get exact report as I desgned!
    so there is problem with Viewer only I think...

    Experts, remember plz Im using Crystal report for eclipse plug-in, not Crystal report software...
    If I've posted this thread in wrong area here then tell me plz.
    LVL 26

    Expert Comment

    by:Kurt Reinhardt
    It's the right forum, but many of the same issues and solutions still apply.  That being said, did you custom build the viewer or are you using one that came with the Eclipse API?  What kind of viewer is it? HTML, DHTML or Java? HTML doesn't necessarily render the same on screen, for example, but if you're viewing the report in a Java viewer, it should look the same.

    LVL 100

    Expert Comment

    Since Crystal uses the default printer driver to render the prview, the problem may be in the printer driver.

    I am not sure if it uses the default driver when it exports to PDF or not.

    Is the Lucinda font loaded on the printer or the user's machine?


    Author Comment

    Im using CR4E 1.0.4 (Crystal Report for Eclipse) plug-in by Bussiness Objects. & viewer comes with this plug-in...
    Now its latest version is available CR4E 2.0 but I cant change my set environment.
    Im not getting ur printer driver matter... u both said about this so it can b, but Im not getting what is its meaning... its not compulsory that user having printer.

    Im working as a developer in company & our client needs this report.
    Im attaching screen shots 1) Design screenshot & 2) At clients comp...

    For our client security, Im hiding some text.
    I've encircled the area where text overflows at client side...
    In design screenshot, report window with properties box included.

    Thanx rhinok & mlmcc...

    & 1 more thing... I think this problem may b becoz of font unavailability at client PC...
    If this is d problem then:
    What is d way to force that plug-in to use font from server?

    Author Comment

    This is my code...
    CrystalReportViewer viewer = new CrystalReportViewer();
                //Get the report source object that this viewer will be displaying.
                Object reportSource = session.getAttribute("reportSource");
                //Render the report.
                viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);

    Accepted Solution

    As not a single expert is replying me solution, Im closing this topic...
    LVL 100

    Expert Comment

    Unfortunately there aren't many Crystal for Eclipse experts out there.


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
    Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now