Bundled Physical Fonts?

The main page of the Swing application I'm working on is supposed to use a specific font. However, that font does not support Chinese characters, and it's probably missing characters from a lot of other languages, too. For those characters, I would like to revert back to a physical font that includes them.
I know that for logical fonts, this would just require editing of the font.properties file. But all the existing logical fonts are used in other parts of the application, and we can't create new ones. I therefore want to programatically create a font that contains all the glyphs from the specified font, but falls back to a more comprehensive font for characters that are undefined.
The Java Internationalisation FAQ at http://java.sun.com/j2se/corejava/intl/reference/faqs/index.html#desktop-rendering Internationalisation FAQ refers to 'bundled physical fonts', and suggests that the Font.createFont() method is the way to go. I haven't found much information on how to use that method, though. Any ideas?

Um, that's only the code to load the font.
Here's how I would use it (snipplets from my code, it'd be useless to post it all)
Font chalkFont = NewFont.getFont();
messageLabel.setFont(chalkFont);
messageLabel.setText("Hello World");Works on a system with the font installed, doesn't with the one that doesn't have it installed (it should).

Similar Messages

  • Loading sequence physical fonts

    Hi guys,
    I have one concern=> Please can somebody explain the loading sequence of physical fonts.
    Why do I ask?
    I wrote some JUnit tests where I compare the current rendering output with an reference image.
    Some tests draw a text with the Lucida Sans font-family and their different styling options. (PLAIN, BOLD, ITALIC, BOLD&ITALIC)
    The JUnit tests will be executed on different machines (Windows 7 x64 - SP1 - GERMAN, JDK 7u45 x64) and on the build server (Windows Server 2008 R2 x64 - ENGLISH, JDK7u45 x64) and my problem is now that the results between the Windows 7 machines and the server are not equal.
    I've found already the reason for this=> the loading sequence of the physical fonts is different.
    used physical fonts on the Windows 7 machine (GERMAN):
    Lucida Sans [PLAIN] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansRegular.ttf
    Lucida Sans [BOLD] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansDemiBold.ttf
    Lucida Sans [ITALIC] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansRegular.ttf
    Lucida Sans [BOLD_ITALIC] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansDemiBold.tt
    used physical fonts on the Windows 2008 server (ENGLISH):
    Lucida Sans [PLAIN] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansRegular.ttf
    Lucida Sans [BOLD] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansDemiBold.ttf
    Lucida Sans [ITALIC] - C:\Windows\Fonts\lsansi.ttf
    Lucida Sans [BOLD_ITALIC] - C:\Windows\Fonts\lsansdi.ttf
    Now my questions:
    1. Why loads the Windows Server 2008 the windows native font if the style is ITALIC?
    2. Am I right that the following behaviour is the typical loading sequence?
         -> physical fonts in JAVA_HOME\lib\font
         -> physical fonts in the OS directory
    3. Is there a possibilty/ VM property which allows me to change the loading sequence ? So that the VM preferes the fonts in the OS directory instead of the physical font?
    Thank you for your help!!
    Regards,
    Steve

    Sample Code:
    public class TestPhysicalFonts
      private enum Style
      PLAIN,
      BOLD,
      ITALIC,
      BOLD_ITALIC;
      public static void main(String[] args) throws IOException, NoSuchFieldException, SecurityException, IllegalArgumentException,
      IllegalAccessException, NoSuchMethodException, InvocationTargetException
      Method getFont2DMethod = Font.class.getDeclaredMethod("getFont2D");
      getFont2DMethod.setAccessible(true);
      Field platName = PhysicalFont.class.getDeclaredField("platName");
      platName.setAccessible(true);
      // String[] fontNamesToTest = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
      String[] fontNamesToTest = new String[] { "Lucida Sans" };
      try (OutputStream outputStream = Files.newOutputStream(Paths.get("C:\\physicalFonts.txt"));
      PrintStream printStream = new PrintStream(outputStream))
      for (String fontFamily : fontNamesToTest)
      for (Style style : Style.values())
      Font font = new Font(fontFamily, style.ordinal(), 10);
      Font2D font2d = (Font2D) getFont2DMethod.invoke(font);
      if (font2d instanceof PhysicalFont)
      PhysicalFont physicalFont = (PhysicalFont) font2d;
      printStream.println(String.format("%s [%s] - %s", font.getName(), style.name(), platName.get(physicalFont)));
    UPDATE:
    1. If I doesn't execute the sample code from eclipse, than I get the same result as on the server... that means ....
    Lucida Sans [PLAIN] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansRegular.ttf
    Lucida Sans [BOLD] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansDemiBold.ttf
    Lucida Sans [ITALIC] - C:\Windows\Fonts\lsansi.ttf
    Lucida Sans [BOLD_ITALIC] - C:\Windows\Fonts\lsansdi.ttf
    2. If I set the default Locale to ENGLISH, than I get the same result as in eclipse... that means ...
    Lucida Sans [PLAIN] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansRegular.ttf
    Lucida Sans [BOLD] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansDemiBold.ttf
    Lucida Sans [ITALIC] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansRegular.ttf
    Lucida Sans [BOLD_ITALIC] - C:\Program Files\Java\jre7\lib\fonts\LucidaSansDemiBold.tt

  • InDesign CS2 bundled OpenType fonts

    A listing of the OpenType fonts bundled with InDesign CS2 can be found here:
    http://www.adobeforums.com/cgi-bin/webx/Adobe%20Community%20Forums/Typography/1521

    I work in an environment where I create InDesign files on a server and when I finish it is picked up by editors who do text edits on the file. The problem is every time someone opens that file the program asks to relink all the fonts again. We all share the same font package so there's no conflict there, Note: the editors are on PCs. This has us stumped. Any ideas?

  • Does Creative Cloud come bundled with fonts?

    I was just watching a Photoshop CS6 tutorial and the instructor said he was using the Rockwell font because it came with Creative Suite.
    I didn't recall ever seeing that font in my menu, so I checked to see if it had been installed in my system when I installed Creative Suite with my Creative Cloud subscription, and confirmed it is not there.
    Are the fonts only bundled with the traditional perpetual license of Creative Suite?

    Typekit is available standalone or as part of Adobe’s Creative Cloud service.
    As part of a paid Creative Cloud subscription, you’ll receive a Typekit Portfolio plan with access to our full library of web fonts. (The free Creative Cloud subscription includes a Typekit Free Plan, with a subset of the fonts available.)
    I think instructor is talking about the Rockwell which is the part on Creative cloud.
    Refer the below for the more details regarding rockwell:
    http://blogs.adobe.com/creativelayer/kinetic-typography/#more-1315
    Refer the below link for more details :
    http://blog.typekit.com/2013/05/06/sneak-preview-syncing-fonts-to-your-desktop/

  • How to set the physical font in JEditorPane with HTMLEditorKit

    I am now creating a swing application which use JEditorKit to make a HMTL editor by the following code:
    JEditorPane editor = new JEditorPane();
    HTMLEditorKit kit = new HTMLEditorKit();
    HTMLDocument doc = new HTMLDocument();
    editor.setEditorKit(kit);
    editor.setDocument(doc);
    editor.setContentType("text/html; charset="+sEncoding);
    editor.getDocument();
    u can see that the encoding of the html file is generated dynamically. At the same time, I also hope that the font is also set dynamically. Moreover, I don't want the font to be installed on each platform, so I am using the following code:
    FileInputStream fis = new FileInputStream("Cyberbit.ttf");
    Font font = Font.createFont(Font.TRUETYPE_FONT, fis);
    Therefore, I can use this font in the Java application. However, how can I make the html file can use this font also? How can I make the HTML file to use this font in the JVM? thx!
    Stephen

    However, how can I make the html file can use this font also? How can I make the HTML file to use this font in the JVM? thx!This is my exact problem!
    Hope you would have got the solution , could you give me some sugesstion..pls?

  • Creative Suite vs. InDesign CS vs. Illustrator CS bundled fonts

    This is a complicated issue, which I hope can be clarified by this summary.
    With InDesign CS by itself, there are 66 fonts, many of which are new for the CS version. Apparently these are included with the educational version as well. This includes fonts from the Adobe Jenson Pro, Lithos Pro, Myriad Pro and Trajan Pro families. See here for a complete list:
    Thomas Phinney, "InDesign CS bundled OpenType fonts" #, 18 Oct 2003 12:26 am">Thomas Phinney "InDesign CS bundled OpenType fonts" 10/18/03
    With Illustrator CS by itself, there are 102 fonts, about 31 of which do not overlap with the fonts bundled with InDesign CS. This includes fonts from the Chaparral Pro and Charlemagne Std families. See here for a complete list:
    Thomas Phinney "Illustrator CS bundled OpenType fonts" 10/18/03
    The other CS apps do not individually add meaningfully to the bundled font count.
    However, with the Creative Suite as a package, there are up to 211 fonts: the 138 fonts included with the individual apps; the Warnock Pro Opticals set (32 fonts); plus if you register online in the US and Canada, you can download the Brioso Pro Opticals fonts (42 fonts). Note that Brioso is one of several choices you have of registration incentives, and you need to be sure to look for and follow the link! You can get it later from your main store registration page if you miss it the first time, though.
    The standard edition and premium edition of the suite have the same font bundle.
    Details on the full bundle are here:
    Thomas Phinney, "211 OpenType fonts available with Creative Suite" #28, 18 Oct 2003 11:07 am">Thomas Phinney "211 OpenType fonts bundled with Creative Suite" 10/18/03 11:07am
    Regards,
    T
    Thomas W. Phinney
    Fonts Program Manager
    Adobe Systems

    My Mac version of Adobe Creative Suite only contains the Warnock Pro font set. Having been informed by Adobe (and Apple) that Postscript Type 1 fonts were no longer supported in Panther, I was hoping that the CS fonts would get me started replacing some old favorites. But they are not there. The "Classroom in a Book" series suggests doing a custom install to install just the fonts but that is not an option, at least with the CS installer. Perhaps it is with the individual programs.
    Is there a way for Mac users to get some or all of these bundled fonts without buying them individually from Adobe?
    Norris Siert, first time purchaser.

  • Using JDK 1.5 in frame font is appearing different as it is coming in 1.4

    When I am going to compile my application using jdk 1.4 and 1.5 both,in 1.5 fonts in my application component like frame,dialog fonts are appearing in different manner means in 1.5 it is appearing in bolder manner.
    We are developing framework application and we have to give release for jdk 1.5 version but it is giving font difference.
    Please resolve this issue because it is very urgent and critical.
    this is not our framework problem i have developed one below simple application and compiled it in jdk 1.4 and 1.5 it is showing font difference.
    Fonts like times new roman and arial etc are coming in bolder manner means more width but height and style is same.
    i have snapshot also but i am not able to paste becasue editor is not accepting images.
    I am giving you small program that will reproduce defect apart from my application.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.FontMetrics;
    import java.awt.Frame;
    import java.awt.Graphics;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTextArea;
    import javax.swing.SwingConstants;
    public class WizardDemo14
    public static void main(String[] args)
    JFrame dlg = new JFrame("COMPILED IN 1.5");
    JLabel jLabel1 = new JLabel();
    jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 50));
    jLabel1.setForeground(Color.blue);
    jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
    jLabel1.setHorizontalTextPosition(SwingConstants.CENTER);
    jLabel1.setText("Finish...");
    dlg.getContentPane().setLayout(new BorderLayout());
    dlg.getContentPane().add(jLabel1);
    dlg.setSize(400 ,400);
    dlg.setVisible(true);
    dlg.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Please help me
    Edited by: umesh3077 on Apr 2, 2008 6:44 AM

    Below taken directly from the v1.6x API java.awt.Font class doco:he Java Platform distinguishes between two kinds of fonts: physical fonts and
    logical fonts.
    Physical fonts are the actual font libraries containing glyph data and tables to
    map from character sequences to glyph sequences, using a font technology
    such as TrueType or PostScript Type 1. All implementations of the Java
    Platform must support TrueType fonts; support for other font technologies is
    implementation dependent. Physical fonts may use names such as Helvetica,
    Palatino, HonMincho, or any number of other font names. Typically, each
    physical font supports only a limited set of writing systems, for example, only
    Latin characters or only Japanese and Basic Latin. The set of available
    physical fonts varies between configurations. Applications that require specific
    fonts can bundle them and instantiate them using the createFont method.
    Logical fonts are the five font families defined by the Java platform which must
    be supported by any Java runtime environment: Serif, SansSerif, Monospaced,
    Dialog, and DialogInput. These logical fonts are not actual font libraries.
    Instead, the logical font names are mapped to physical fonts by the Java
    runtime environment. The mapping is implementation and usually locale
    dependent, so the look and the metrics provided by them vary. Typically, each
    logical font name maps to several physical fonts in order to cover a large range
    of characters.
    Peered AWT components, such as Label and TextField, can only use logical
    fonts.
    For a discussion of the relative advantages and disadvantages of using
    physical or logical fonts, see the Internationalization FAQ document.

  • Fonts in Unix

    Hello,
    I wrote a Java program in a computer with Windows, and now I need to port it to Unix. When I try to run it, I get an error that the font I use is not found. All the fonts I have are Courier with a variety of sizes and always bold. Does somebody know which fonts I can usually use in a computer with Unix, that are also common in Windows? I don't want to start installing fonts, but to use one of the standard ones.
    Thanks.

    Read the preamble on using fonts:
    http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Font.html
    "Courier" is a physical font and might not be available everywhere. If you want playform-independence, you should use fonts like "Serif, SansSerif, Monospaced, Dialog, and DialogInput".

  • Korean Font only works in BOLD

    I am able to display Korean characters in my GUI as long as I specify a logical font in BOLD style. Also, the characters appear to be much smaller than the ones that appear in the buttons for a JOptionPane, for example. So I took a button from the JOptionPane and put it on my test dialog and it displayed fine. When I display the toString for the button in the JOptionPane, in the text field I have what looks like a Korean String. When I display the toString for my button (with the small font) i have a ? for the text field. I am inputting my Korean as \u1101, etc. escaped Unicode. Is this an incorrect way to store Korean in my myresource_ko.properties file?

    Hi Bleu,
    If you're still having problems, maybe I can help.
    I am inputting my Korean as \u1101, etc. escaped Unicode. Is this an incorrect way
    to store Korean in my myresource_ko.properties file?This should work fine. If you want to eliminate this as a possible source of your problems you can hard code the text in your java source files.
    I am able to display Korean characters in my GUI as long as I specify
    a logical font in BOLD style. I am not sure why this happens, but I frequently encounter cases where certain fonts will render certain characters only for some style combinations (e.g.BOLD or BOLD and ITALIC) and not others.
    There are various ways you can specify fonts. ( http://java.sun.com/j2se/1.4/docs/guide/intl/faq.html ). I have never liked using the font.properties files. Instead I use physical font names and explicitly set the font on the GUI components.
    Can you provide more information:
    What is your operating system? (What language version?)
    What physical font are you using?
    Can you provide some code illustrating your GUI?
    Regards,
    Joe

  • [Solved, install dejavu font] Libre Office fonts are rendered as boxes

    Been a while since I've posted and thank you in advance for any help offered.
    My issue is pretty straight forward:  all my menus and fonts in Libre Office Writer show up as boxes instead of letters.  I have searched the wiki and forums for a solution but most people who have this problem fix the issue by installing the right language pack. 
    As you can see below that isn't my issue:
    local/libreoffice-common 4.1.4-3 (libreoffice)
    common files for LibreOffice - a productivity suite that is compatible with other major office suites
    local/libreoffice-en-US 4.1.4-3
    English (US) language pack for LibreOffice
    local/libreoffice-writer 4.1.4-3 (libreoffice)
    Word Processor Application for LibreOffice.
    I have no plug-ins installed apart from hunspell, mythes and hyphenation.  I removed these packages but there was no change.
    This machine is a Dell laptop with the Intel video chip and thus I have the correct driver installed and everything else works fine:
    :root: ~ : pacman -Qs intel
    local/intel-dri 10.0.2-1
    Mesa drivers for Intel
    local/xf86-video-intel 2.99.907-2 (xorg-drivers xorg)
    X.org Intel i810/i830/i915/945G/G965+ video drivers
    I tried nuking my Libre Office directory in my home directory but that yielded no change.  My .gtk-* directories don't contain anything specific to LO. 
    These are the only fonts I've added to this install (thanks boohoomil) and are not customised in any way:
    local/cairo-infinality-ultimate 1.12.16-3 (infinality-bundle)
    Cairo vector graphics library with respect-fontconfig, expose and Ubuntu patches (infinality-bundle)
    local/fontconfig-infinality-ultimate 2.11.0-15 (infinality-bundle)
    A library for configuring and customizing font access (includes generic fontconfig package and ultimate settings by bohoomil).
    local/freetype2-infinality-ultimate 2.5.2-3 (infinality-bundle)
    TrueType font rendering library with Infinality patches and custom settings by bohoomil (infinality-bundle).
    I have gone so far as to try snapwm and Xfce4 but there is no difference in the font rendering in LO.
    I'm stymied about this because I have used this setup previously on this and two other machines.  Any ideas?
    MS
    Last edited by MoonSwan (2014-02-03 04:54:16)

    I thought of that but, as I use the infinality-bundle, which fonts do I need to test this hypothesis?  Or can you suggest one I can install from the official repos?
    [edit]  Just after posting this I remembered that LO, as noted on the wiki somewhere, suggest one install the ttf-dejavu font.  After installing this font everything is now showing correctly. 
    @nomorewindows, Thank you very much!  I feel a bit silly but I learned something from this and for that I grateful to you. 
    Last edited by MoonSwan (2014-02-03 00:14:13)

  • Font.createFont() and temporary files

    Hi,
    I have a servlet which uses the Font createFont(int, InputStream) method to overlay text on an image, which is sent to the client.
    However, each time this method is invoked, a copy of the font as a temporary file is stored in c:\windows\temp. Closing the input stream has no effect, and the files only seem to disappear once JBoss/Tomcat is shut down.
    Once the font is read and rendered, it is no longer required; how does one signal that this temporary file should be removed? I cannot believe that there is no mechanism designed to programmatically remove these.
    (as a possibly amusing sidenote - I recently went on holiday for two weeks and had temporarily commented out the lines to cache already-generated images. I came back to find 6Gb of temporary files, all of them being copies of Verdana.ttf!)
    Thanks,
    Matt
    PS. Yes, I realise that it's inefficient to be reading the font file every time I invoke the servlet - I will change this, but I still dislike the thought of having useless temporary files floating around.

    Thank you both so much for your help; I've upgraded from 1.5.0_06 to 1.5.0_08 and the temporary files are now correctly garbage collected.
    There are several reasons why I am using an InputStream for loading the Verdana font; firstly, I believe it is best practice to write code that is platform-agnostic where possible. Secondly, I prefer to bundle dependent resources in the software itself rather than rely - or hope - on the target system having what the software is after (within reason, of course).
    However, the pragmatic answer is that since Java's font kerning capabilities are less-than-desired (non-existant, even?), I am using iText to calculate font kerning. iText reads the ttf file itself, so rather than have a hard-coded reference to c:\windows\fonts\verdana.ttf (ick!) I decided to bundle the font with the software.

  • HT5484 Does it mean the 3rd-party iOS developers can use the fonts listed in 'Additional Information' of this page for free?

    On the page ‘iOS 6: font list’, there's an Additional Information section, listing a series of fonts _not_ pre-installaed in iOS 6. It also says that ‘Apps can also install the following fonts as necessary.’ Does it mean that Apple has already paid for the licenses of these fonts, and they allow 3rd-party usage for free? (I.e., may I bundle these fonts to my iOS app?)
    Thanks.

    Anything you have access to through the iOS SDK should be licensed for use in your apps, but you can contact the developer program support:
    https://developer.apple.com/contact/submit.php
    or software licensing:
    [email protected]
    and confirm.
    Regards.

  • Monospaced Fonts

    Hi
    I have read: http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Font.html
    Logical fonts are the five font families defined by the Java platform which must be supported by any Java runtime environment: Serif, SansSerif, Monospaced, Dialog, and DialogInput. These logical fonts are not actual font libraries. Instead, the logical font names are mapped to physical fonts by the Java runtime environment. The mapping is implementation and usually locale dependent, so the look and the metrics provided by them vary. Typically, each logical font name maps to several physical fonts in order to cover a large range of characters.
    I can obtain all the fonts that are in a particular system, but now need to go though them to see if they are Monospaced.
    This is what I have done so far:
    String[] allFonts = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
    ArrayList<String> monoFonts = new ArrayList();
    for(int i=0;i<allFonts.length; i++)
      if (f.getFamily().toString().equals("Monospaced"))
        monoFonts.add(allFonts);
    Thanks!
    Sam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    ArrayList<String> monoFonts = new ArrayList();You need to specify <String> when you use new.
    if (f.getFamily().toString()getFamilty() returns a String, so the toString() isn't needed. More of a problem is that you haven't declared or initialised f. I guess it's a Font. Initialise it using the 3 argument Font constructor.
    http://java.sun.com/javase/6/docs/api/java/awt/Font.html#Font(java.lang.String, int, int)
    .equals("Monospaced")There's a problem here. This will be true when you have a font family whose name is "Monospaced", not a family whose fonts are monospaced. For instance my computer has a family "Courier 10 Pitch" which is monospaced and a bunch of others with "Mono" in their names. The Font class singles out one of these - identified as Font.MONOSPACED - but they are all monospaced.
    I don't know if there is any easy way of determining whether a font is monospaced. One way might be to obtain an array of all the available fonts with the GraphicsEnvironment method getAllFonts() and then check the widths of various characters to see if they are equal. The FontMetrics method getWidths() returns the first 256 such widths.
    http://java.sun.com/javase/6/docs/api/java/awt/GraphicsEnvironment.html#getAllFonts()
    http://java.sun.com/javase/6/docs/api/java/awt/FontMetrics.html#getWidths()

  • Get Font Path

    Hi,
    how i can get the font path from java.awt.Font?
    I know the font system directory but the name of logical font is not equal as physical font.
    thank you
    Danilo

    My problem is that I have my user select a font from a list created with...
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    arFontNames = ge.getAvailableFontFamilyNames();
    which gives me the name of the font that they have selected. What I need to do is copy the file that actually creates the fongetAvailableFontFamilyNames() returns font family names, not names (or other identifiers) of fonts. There are usually multiple fonts per family. You might do better with getAllFonts().
    Since fonts can be created from any appropriate InputStream and subsequently added to those made available by getAvailableFontFamilyNames()/getAllFonts(), there simply need not be any file associated with the font.

  • Fonts in JBuilder

    A have a java application that is supposed to show either chinese or western europe fonts according to selections made in the application.
    I works fine when I start the application from within the JBuilder environment, but when I move the compiled jarfile to any other place and run it, I cannot show the chinese font. I only get little squares instead.
    What is missing?

    A have a java application that is supposed to show
    either chinese or western europe fonts according to
    selections made in the application.
    I works fine when I start the application from within
    the JBuilder environment, but when I move the compiled
    jarfile to any other place and run it, I cannot show
    the chinese font. I only get little squares instead.
    What is missing?
    The JBuilder app provides its own internal JDK, and Borland has modified the font.properties files to support a wider range of characters than the default font.properties supplied by Sun. Unfortunately, the JDK/JRE supplied by Sun is less capable in some ways...although it obviously can be modified.
    The answer: you can use physical fonts directly from your applications or you can modify your font property logical fonts to include a mapping to the Chinese physical fonts. Or...you can change your Windows host in the Regional Settings control panel so that the host's default locale is Chinese. Your JRE will then find the correct Chinese font.properties file and will access system fonts appropriately.
    Regards,
    John O'Conner
    http://www.joconner.com/javai18n/

Maybe you are looking for

  • Merge two text elements in smartform

    Hi Experts, Can I merge the 3sno(invisible) and total amount text field? The client wants to merge those and display total amount in the center. I have to disappear the line between these two and put the total amount in the left. But that doesn't loo

  • How to make a backup of a Premiere project?

    Hi everyone, do you know how can I make a backup on a external hard drive of a Premiere Pro project with videos, music, text, videos linked with after effects?? or, since for the project, I took files from different folders and even from the desktop

  • Screen flickering to black

    My ATV is flickering intermittently. It flickers black and then back again, literally taking only seconds, but then keeps happening on and on, making everything unwatchable. This is NOT the negative image problem, however it is a Sony Bravia KDL-W400

  • Blurry Scroll Bars on Cover Flow

    I know this has been posted last month, but no one answered it. Is there any fix to the blurry scroll bars in iTunes? It's a little embarrassing to have my cool Apple look gross in iTunes... Thanks!

  • Off cycle after termination

    Hi Experts, In this scenario, off-cycle payroll run deals with time related earning like OT etc.  When an employee terminated, action completed, regular payroll run completed and there is no master data change, the off-cycle run should pick up these