We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Font Problems with Oracle App Server 10g

Medium Priority
2,909 Views
Last Modified: 2013-12-03
Greetings,

I am trying to setup an Oracle 10g Application server.  I have a report up and running, but the bar code font I have installed doesn't appear to be working.

The server is running Red Hat Enterprise Linux 4.  I followed the instructions from Red Hat to install the bar code fonts and I can verify the server can see them (if I open gedit, I can pick the bar code fonts from the list).  Even with this, when I run a report I do not see the bar code.  The fonts are true type fonts and I am wondering if for Linux they have to be Type1?!?

The steps I followed to install the new fonts (per Red Hat) were:

1. Create the /usr/share/fonts/local/  directory (if it doesn't already exist):

mkdir /usr/share/fonts/local/

2. Copy the new font file into /usr/share/fonts/local/

3. Update the font information by issuing the following commands (note that, due to formatting restrictions, the following commands may appear on more than one line; in use, each command should be entered on a single line):

ttmkfdir -d /usr/share/fonts/local/ -o /usr/share/fonts/local/fonts.scale

mkfontdir /usr/share/fonts/local/

4. If you had to create /usr/share/fonts/local/, you must then add it to the X font server (xfs) path:

chkfontpath --add /usr/share/fonts/local/

As I said above...this seemed to work.  I do not know what to try next.  The old report server was running on Windows with the same fonts installed and worked just fine.

If there is anything anyone can think of...please help!!!  If you would like more info...I would be happy to provide it!
Comment
Watch Question

Commented:
It's not just installing the font. For reports you also need to configure
- uiprint.txt
- install the font's AFM file
- make font aliasing in uifont.ali

If you have access to metalink you will find note 62038.1 describing the steps to take.

But Oracle provides a much easier way: Have a look at this one here:
http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/barcodebeanweb/doc/orbr_barcode.pdf

It uses JavaBeans, and no additional fonts are needed on the server.

Check it out....

Gerald


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Gerald,

Thank you for help...I will check this out!

The only thing I have a question on then is True Type Fonts.  They don't come with an AFM file...there is only a single TTF file.  Can these work or do I absolutely need Type1 Postscript fonts?

Thank you.

Commented:
I'm not that font specialist, but there's a tool named ttf2afm. It comes with another tool named pdftex. Google for it....

Gerald
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.