Bug of the week: Error with Font Mapping Hebrew in JRE 1.6

My annoying bug of the week came when I tried to fix the font mapping of our Forms 11g upgraded system. During the 11g upgrade, we moved from Jnitiator to JRE and since we are a Hebrew application all the font switched to David. I did everything according to the letter – mapfonts = yes change the fonts in the fontconfig.properties.src but it seemed no matter what I did the font in JRE 1.6 was David instead of the font assigned in the application or in the registry.dat file.

UNTIL I found this Oracle support note
After Upgrading to Either JRE 1.5.0_XX or 1.6.0_XX the Default Font for Hebrew Characters has Changed from “Arial” to “David” [ID 972975.1]

The work around is quite simple but a bit annoying:

1) Copy fontconfig.properties.src and rename to fontconfig.properties

2) Edit the fontconfig.properties file and make the font changes, to map Hebrew font to regular font and not David for example one change…

serif.plain.hebrew=David
serif.bold.hebrew=David Bold
serif.italic.hebrew=David
serif.bolditalic.hebrew=David Bold
sansserif.plain.hebrew=David
to
serif.plain.hebrew=Arial
serif.bold.hebrew=Arial Bold
serif.italic.hebrew=Arial
serif.bolditalic.hebrew=Arial Bold
sansserif.plain.hebrew=Arial

3) Save the file and voila! When you run your application the font will be like it was.

4) In order to make this painless for your end users, you need to create a new silent install file that also copies the fontconfig.properties to the “%PROGRAMFILES%Javajre6lib

It can look something like this:

Install.bat

c:tempjre-6u30-windows-i586-s.exe /s

copy /Y “<netwrok drive where file is stored>fontconfig.properties” “%PROGRAMFILES%Javajre6lib”

Good Luck and let me know if you have any problems!

Mia

Bug of the week: Error with Font Mapping Hebrew in JRE 1.6
Article Name
Bug of the week: Error with Font Mapping Hebrew in JRE 1.6
Description

My annoying bug of the week came when I tried to fix the font mapping of our Forms 11g upgraded system. During the 11g upgrade, we moved from Jnitiator to JRE and since we are a

Author
Publisher Name
auraplayer
Publisher Logo

David Buch
Senior Products Manager

David, our Senior Products Manager, is a highly experienced professional specializing in product definition, innovations, and development, with broad customer understanding, and skillful people management. He has over 20 years of R&D work experience, and continues to excel in his expertise. Before starting his career, David attended Bar-Ilan University where he studied computer science and economics. When he is not working, David enjoys spending his time as a professional tuba player joining symphony orchestras and chamber ensembles.

Elizabeth Pearl
Relationship Manager

A Relationship Manager, but a teacher by degree, Elizabeth is passionate about technology and always seeks to educate and improve the lives of others. During her years as a teacher, Elizabeth learned valuable skills that she applies to everyday life and her role at AuraPlayer: active listening, organization, preparation, and clear communication. Elizabeth is originally from the United States but currently resides in England. In her spare time, she loves exercising, spending time with her family and friends, and playing volleyball.

Nathalie Wasserman
CFO & Operations Manager

Natalie is proud to be AuraPlayer’s Operations and Chief Financial Officer. She takes pride in her work, and loves being a part of the AuraPlayer family. Prior to working at AuraPlayer, Nathalie worked at various companies as an accountant. She attended the University College London (UCL), where she graduated with a Bachelor’s Degree in economics and business. She then went on to pursue a Master’s degree in Political Economies in Eastern Europe. 

Gwen Edwards
VP Business Development

An expert in helping businesses seize their potential and grow, Gwen is committed to take AuraPlayer to the next level. With over 30 years of experience in the high technology sector and working with Fortune 500 companies, she works as an advisor for growing businesses to help enhance their value and reach their business objectives. She’s a dynamic member of our team, leveraging her sales and marketing, and P&L experience to our current and future product suite.

Gwen also serves on a several private company boards in Silicon Valley, and is an active member of the angel investment network, Golden Seeds.

Yossi Nakash
CTO & Co-Founder

A true developer, Yossi has been developing and coding in Java / J2EE, C++, .Net, and C# for over 15 years, focusing mainly on the RD side of things. Entering the Oracle World about 5 years ago, Yossi immersed himself in the world of Oracle SOA, Weblogic, ADF and ADF Mobile, as well as the Java side of things.

Prior to joining Mia to found AuraPlayer, Yossi held the role of RD team leader at RadView and was a Java developer at Motorola.