Why no font.properties.zh_HK?

In my JRE (1.4.1_06)'s lib directory, there is a font.properties.zh file (for S. Chinese) and a font.properties.zh_TW file (for Taiwan T. Chinese), but no font.properties.zh_HK file (for Hong Kong T. Chinese). Anybody have any idea why?
Also, does anyone know if it is legal to copy font.properties.zh_TW to font.properties.zh_HK and redistribute it?
The reason I'm asking: On an English XP box, with the appropriate fonts installed, if I set user.language to zh or zh_TW, the app starts up and displays fine. However, if I use zh_HK I see a bunch of boxes instead of T. Chinese. Once I make the file copy I mentioned above, all is well. Seems odd that file is not included by default.
Thanks in advance for any insight.
Jamie

You probably have problems with both character encoding and font rendering.
The character encoding part: If you use the same resources for TW and HK, you can't use GBK and Big5 conversions on them. GBK and Big5 are incompatible encodings. Also, GBK is for simplified Chinese, and used in mainland China and in Singapore, but rarely in Hong Kong - it doesn't have all the traditional Chinese characters that are used in Hong Kong.
What you get from the translator may be encoded in Big5, or it may already be in ISO-8859-1 with Unicode escapes, the only encoding that the Properties class understands. If it's in Big5, use native2ascii to convert it. If it's ISO-8859-1 with Unicode escapes, leave it alone.
The font rendering part: With Chinese (Taiwan) selected, the font.properties lookup (http://java.sun.com/j2se/1.4.2/docs/guide/intl/fontprop.html#loading ) uses the locale zh_TW and the encoding MS950, and finds font.properties.zh_TW. With Chinese (Hong Kong) it uses the locale zh_HK and the encoding MS950, and finds font.properties.zh. The zh file is for simplified Chinese, so you'll be able to render some, but not all of the Chinese characters used in Hong Kong. If you have HKSCS installed, the lookup uses zh_HK and MS950_HKSCS, and finds font.properties.MS950_HKSCS, which uses fonts appropriate for Hong Kong.
Your questions:
1. I don't know why the warnings are so strong. The only reason given is that "the package may affect private use characters", which could be a serious problem for somebody who seriously uses Chinese, but won't impact your occasional testing. You may want to check with Microsoft.
2. That's what the support in JRE 1.4.1 and up is designed for. The only problem is that the font.properties files aren't consistently named - some are named using locale IDs, others using encoding names, with the results described above.
3. To render Chinese characters in non-Chinese environments, you should upgrade to JRE 5.0 - its multilingual font rendering support uses fonts for all writing systems that it can find on the OS (http://java.sun.com/j2se/1.5.0/docs/guide/intl/enhancements.html#desktop ). With JRE 1.4.1 or 1.4.2, you'd have to look for Chinese fonts yourself and request them using their physical font names. For more information, see http://java.sun.com/j2se/corejava/intl/reference/faqs/index.html#desktop-rendering.
4. JRE 1.4.1 is no longer supported, so info is hard to find. The documentation for JRE 1.4.2 mentions "HKSCS" at http://java.sun.com/j2se/1.4.2/docs/guide/intl/locale.doc.html#jfc. I admit, that's not too clear. A bit more helpful is the name of the font.properties.MS950_HKSCS file. Finally, this reply is info from Sun.
Norbert

Similar Messages

  • Adobe Acrobat 9 Pro - editing font properties in a text box

    When I insert a text box on an existing PDF, initially Acrobat usually allows me to edit the font properties.  Sometimes it does not.  Once I type in the text box, the font properties toolbar becomes locked (i.e., "grayed out") so I can't change font type, size, color justification and other font properties.  If I save the file, close it and then re-open I can edit then the font, at least for a while.  If I have other PDF files open too I usually have to close those other windows.  After some time the font properties again become locked.
    Obviously it is incredibly inconvenient to have to close a program and all open files then re-open those files just to change something like the color of a font.  I called Adobe tech support and they told me the fix was to buy Acrobat X.  I don't want to spend more money, I just want the product I already paid for to work properly.
    Is there a way for this bug in the software to be corrected?

    ** SOLVED FOR ME **
    Acrobat 9.0 and 9.1 Standard
    No v9 properties toolbar access except in last document opened
    I don't know if this applies to you but I had a similar problem with documents on our network.
    It turns out the documents were being saved as PDF/A or PDF/X format.
    I had the users open up Adobe.  Go to Edit>Preferences      Then go to the Documents section and find the "Open in PDF/A" section.  I had them select "Never"  and then the toolbars were no longer greyed out.

  • PDF created using Java iText package - Text not editable and not displaying font properties on Acrobat

    Hi,
    I have an issue in editing the text and viewing the font properties of a text region on a PDF created using Java iText package.
    I use Adobe Acrobat 9 Pro Extended and the option Tools -> Advanced Editing -> TouchUp Text Tool.
    The strange behaviour is that, I have 2 PDFs created out of the same base PDF and text added via Java iText package with the same Text, Font and other properties.
    One of the PDF has the text region editable on Acrobat but the other one has the text region which is not editable.
    But both the PDFs are editable via Adobe Illustrator.
    I have attached both the PDFs for your reference
    PDF_Editable.pdf - Editable on Acrobat
    PDF_Not Editable.pdf - Not Editable on Acrobat
    Any help or insight to find out the difference/issue with the PDF which is not editable via Acrobat would be appreciated.
    Thanks in advance.
    Regards,
    Madhusoodhan Henryraman

    You don't have direct control of the leading of a multiline text field. A common approach is to control the background color of the field with JavaScript since the lines are not really needed when the field is used in Reader/Acrobat. They may be useful when using the form by hand. For more information, see the posts by Max in this topic: http://acrobatusers.com/forum/forms-acrobat/how-do-i-use-multi-lined-text-fields-over-prin ted-line-area-existing-form

  • Font.properties help needed

    I have a USA client with several Reports that use fonts “OCR A Extended” and “Wingdings 3”. The OCR A Extended font is being used for a scanline by OCR scanners to call up invoices. They MUST use that font or the scanners don’t work. They are also using specific angled arrows from the Wingdings 3 font set. I can’t get either one to work in the Reports.
    I have mapped both OCR A Extended and Wingdings 3 to dialoginput in the registry.dat file.
    Getting the correct values into the font.properties file is the part that I’m having problems with. I’m trying to do this by following other examples I’ve seen, but I’m not hitting the correct combination.
    I have added:
    dialoginput.3=OCR A Extended,ANSI_CHARSET
    dialoginput.4=Wingdings 3,DEFAULT_CHARSET
    1) Do I need to add a “NEED_COVERTED” to either one of those lines? I’m guessing no because this is plain Windows US/English, nothing foreign.
    2) Do I have the proper _CHARSET for both of those lines?
    I have also added:
    filename.Wingdings_3=WINGDNG3.TTF
    filename.OCR_A_Extended=OCRAEXT.TTF
    3) Do I need to do that or should I take it out?
    From what I’ve read, if I use a NEED_COVERTED then I also need a:
    fontcharset.dialoginput.3=…..
    fontcharset.dialoginput.4=…..
    But I have NOOO clue what needs to follow the “=” sign.
    It is mission critical that I get both of these working, especially the OCR A Extended font. I thank you in advance!

    Hello,
    This Forum is about "Oracle Reports"
    Your question seems to be related to "Oracle Forms" :
    For the "Oracle Forms" Forum, go to :
    Forms
    Regards

  • Font.properties to set custom in-house fonts

    Hi all,
    Currently attempting to get Forms Server to display a custom fonts called TH Sans Serif which is MS Sans Serif modified for our special needs. We need to show a whole array of fonts which caters for Rumanian, Hungarian, Polish, Slovak, Western European fonts amongst others. Problem is that the font.properties file (loaded with Jinitiator to be found under %Jinitiator_Home%\lib) maps 4 fonts (Monospaced, SansSerif, Serif, Dialog) that are used in the registry.dat file. Apparently reading from newsgroups it is possible to set one of these four mappings to your own custom font. Haven't unfortunately found a success case yet. Can anyone help.
    Thanks in advance.

    Please use the Forms forum for best response.
    Ashesh Parekh
    Oracle9iAS Product Management

  • Packaging font.properties file.

    Hello All,
    I am developing a cross-platform application and I wat the Java runtime to use my own font.properties file. How can I specify that file using -D switch?
    (for example, for logging i write, java -Djava.util.logging.config.file=logging.properties MyApp so, is there a similar option for font.properties?)
    Thanks in advance,
    Ghaznavi

    Any body please help!
    Ghaznavi

  • Loading "font.properties" from different location

    Is it possible to tell the JVM to load "font.properties" files from a different location instead of "$JAVA_HOME/jre/lib"?
    Thanks in advance.
    Regards.

    Is it possible to tell the JVM to load
    "font.properties" files from a different location
    instead of "$JAVA_HOME/jre/lib"?
    Thanks in advance.
    Regards.I am also looking for a solution for this, since it's not a good idea to modify the JRE itself.
    Could anybody help? Thanks.

  • Font Properties- Hypertext/Dynamic Text Fields

    Is there any way to create font properties of text when using
    hyptertext code in dynamic text fields?

    you can create textformat objects and apply them to
    textfields and you can use css with html-enabled textfields.

  • Font.properties

    Is the jre using font.properties at all when displaying characters in the GUI? I removed all font.properties* files from my jre/lib directory and I am still able to display English characters and double-byte Korean characters. Certain fonts are not working for the Korean, but this all seems independent of the font.properties files. I'm using jdk 1.3.1_06.
    Bleu

    I have i18n.jar in my classpath and LocaleElements_ko.class is in it. The only font that works for me in Korean is Dialog with BOLD style. What relationship does font.properties have to i18n.jar? I guess the jre is getting the appropriate Font based on the Locale out of the i18n.jar? What do i need to do to get additional fonts (really I just want Dialog with PLAIN style) to work in Korean?
    thanks,
    Bleu

  • Using font.properties to map custom in-house true type fonts

    Hi all,
    I'm currently attempting to get Forms Server to display a custom fonts called TH Sans Serif which is MS Sans Serif modified for our special needs. We need to show a whole array of fonts which caters for Rumanian, Hungarian, Polish, Slovak, Western European fonts amongst others. Problem is that the font.properties file (loaded with Jinitiator to be found under %Jinitiator_Home%\lib) maps 4 fonts (Monospaced, SansSerif, Serif, Dialog) that are used in the registry.dat file. Apparently reading from newsgroups it is possible to set one of these four mappings to your own custom font. Haven't unfortunately found a success case yet. Can anyone help.
    Any suggested websites or newsgroups dealing with this would be greatly appreciated.
    Thanks in advance.
    Holger

    Please use the Forms forum for best response.
    Ashesh Parekh
    Oracle9iAS Product Management

  • Font.properties files

    Hello!
    Do you know at what point does the Java Runtime load font.properties file and how it selects the one to load?
    I am struggling with displaying cyrillic characters in AWT controls.
    I have a code like this inside the applet's init() method:
    =================================================
    Locale rus = new Locale("ru", "RU");
    this.setLocale(rus);
    DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, rus);
    String s = df.format(new Date());
    displayString = new Label();
    displayString.setLocale(rus);
    add(displayString);
    displayString.setText(s);
    ===========================================================
    The output is supposed to be "12 ������, 2005�."
    Instead, every cyrillic character is replaced with a square box.
    I think the JRE is just loading the wrong font.properties file somehow...
    BTW, my OS is an english version of Windows XP.
    I'll greatly appreciate any suggestions.
    Thanks for your time.

    Which one is loaded is based on the locale of the JVM at start-up time. The locale is taken from the system locale, which on Windows is based on the region/language currently selected. You can override this using java intergreter's options, such as, in your case:
    java -Duser.language=ru -Duser.region=RU yourgrogramUsing the above settings, font.properties.ru will be used. Cyrillic characters will then be displayed properly if appropriate fonts are installed. This, however, may not work with AWT components. To be sure, use Swing -- they are better designed for rendering Unicode characters.

  • "Font.properties not found" error when runInstaller in Suse 7.3 + 9iDB_R2

    when I try to install 9iDB_R2 in Suse 7.3, the runInstaller have this error:
    " Font specified in font.properties not found [--Symbol -medium -r-normal--*-%d-*-*-p-*-adobe-fontspecific] "
    the [Next] button in the installer does not response, but the [Deinstall Products] and [About Oracle Universal Installer] has response and display what normally does.
    I installed almost everything except games and multimedia when installing Suse 7.3
    What is the possible reason?

    I am not sure that I can help you much, but it sounds like a Java install error. The installer uses the JVM to do the install. Do you have any other Java virtual machines loaded on the machine.
    If you do a java -version
    what shows up? I kinda hope that nothing shows up or at worst case is is jdk.1.3.1
    This may be what is causing the problem. Also I believe that there was suppose to be system variables set in the shell you are installing from. Are those set? It has been a while since I installed 9i on RedHat.

  • Font.properties not found

    Hi,
    I developped a graphical interface that has to be run on a Linux Station. The problem is that I get the following error message when I want to run it: "Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]"
    Does someone have an idea ?
    Thanks in advance, Fred.

    Please how can I eliminate this messages??

  • Font specified in font.properties not found

    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    This message gets printed around 3 dozen times on the screen every time I start a Swing app with JDK 1.3 on SuSE Linux 7.3.
    With J2SDK 1.4 this does not happen and the main font being used in the app is different.
    How do I solve this bug in JDK 1.3?

    How did you solve this? Could you please share your secret. I am facing the same problem on Solaris and would love to find a solution.

  • Why do fonts display as blue, despite being red in live preview and in all the CSS rules?

    I've been trying for hours to figure out WHY the fonts for certain lines will not obey every command I have given them in Dreamweaver.
    http://www.johnnez.com/jonzmainbooks.html
    The titles to these books are supposed to be red in color.  They show red in every single place I can find them in Dreamweaver.  They preview in red in live view.  But they display in blue in the browser. 
    WHY is this?  Is this a case of some CSS being over-ruled by a lower rule?
    The tiles in blue that ought to be red are The 12 Days of Christmas in Washington, The Dancing Clock and Cromwell Dixon's Sky-Cycle, etc.
    Thanks for any clues...
    jn

    CSS files are 404 not found on server. 
    Path is pointing here:
    ../../Jonz2012site/CSS/JonzheaderindexCSS.css
    You might want to try this:
    CSS/JonzheaderindexCSS.css
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

Maybe you are looking for

  • HBO GO suddenly freezing on sign-in with Comcast/Xfinity. Other browsers installed will work, but after a system update Firefox no longer does. Any ideas?

    After a routine Windows 7 update, Firefox will not load the HBO GO content when you attempt to sign in. Normally, I do not have to sign in unless I log into the account via my Droid or other PC. I tried it in Google Chrome and works fine on my Droid.

  • Is an ID5 exported PDF different from a Distiller PDF?

    Am doing a book cover for a client publishing thru an on-demand press. Press specified the following: "Acrobat Distiller is the ONLY acceptable PDF software (Adobe Library and other PDF programs are not acceptable). . . [MS Word info removed] . . . F

  • VAT CODE Date

    Dear Guru, is there a possibility for VAT CODE RANGE VALIDITY percent tax rate ? For example: 20% until 18 Septmber 2011 and 21% start 19 Septmber 2011 . Thank you very much

  • Nss_ldap broken (at least for me) [FIXED]

    The nss_ldap in extra keeps giving me a segfault, I rebuilt a newer version in abs and all works fine now. I flagged the current package out of date, but in the mean time if anyone is having problems with it, I suggest building the newest version. ED

  • Internationalization in ADFJClient

    Hi All, I am in a process to develop an application using ADF. I want to know wether ADF provide me the facility to develop the application in multilingual or not. If yes, what are the options available with me apart from ADF UIX and JSP. If no, with