From c4fab2801b61583903c10fcf22fd355061488a10 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 08 Oct 2007 18:32:35 +0000
Subject: [PATCH] Fix for issue 2432 (Japanese characters in QuickSetup dialog are not displayed properly).
---
opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java b/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java
index f472037..5ea50aa 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/UIFactory.java
@@ -363,26 +363,26 @@
* panel.
*/
public static final Font NOT_CURRENT_STEP_FONT =
- Font.decode("Arial-PLAIN-14");
+ Font.decode("SansSerif-PLAIN-14");
/**
* Specifies the font for the step which is the current one in the steps
* panel.
*/
public static final Font CURRENT_STEP_FONT =
- Font.decode("Arial-BOLD-14");
+ Font.decode("SansSerif-BOLD-14");
/**
* Specifies the font for the title of the current panel.
*/
public static final Font TITLE_FONT =
- Font.decode("Arial-BOLD-14");
+ Font.decode("SansSerif-BOLD-14");
/**
* Specifies the font for the instructions of the current panel.
*/
public static final Font INSTRUCTIONS_FONT =
- Font.decode("Arial-PLAIN-12");
+ Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the instructions of the current panel.
@@ -394,63 +394,63 @@
* Specifies the font for the primary valid field.
*/
public static final Font PRIMARY_FIELD_VALID_FONT =
- Font.decode("Arial-BOLD-12");
+ Font.decode("SansSerif-BOLD-12");
/**
* Specifies the font for the secondary valid field.
*/
public static final Font SECONDARY_FIELD_VALID_FONT =
- Font.decode("Arial-PLAIN-12");
+ Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the primary invalid field.
*/
public static final Font PRIMARY_FIELD_INVALID_FONT =
- Font.decode("Arial-BOLDITALIC-12");
+ Font.decode("SansSerif-BOLDITALIC-12");
/**
* Specifies the font for the secondary invalid field.
*/
public static final Font SECONDARY_FIELD_INVALID_FONT =
- Font.decode("Arial-ITALIC-12");
+ Font.decode("SansSerif-ITALIC-12");
/**
* Specifies the font for the secondary invalid field.
*/
public static final Font SECONDARY_STATUS_FONT =
- Font.decode("Arial-ITALIC-12");
+ Font.decode("SansSerif-ITALIC-12");
/**
* Specifies the font for read only text.
*/
- public static final Font READ_ONLY_FONT = Font.decode("Arial-PLAIN-12");
+ public static final Font READ_ONLY_FONT = Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the check box text.
*/
- public static final Font CHECKBOX_FONT = Font.decode("Arial-PLAIN-12");
+ public static final Font CHECKBOX_FONT = Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the progress text.
*/
- public static final Font PROGRESS_FONT = Font.decode("Arial-PLAIN-12");
+ public static final Font PROGRESS_FONT = Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the text field text.
*/
- public static final Font TEXTFIELD_FONT = Font.decode("Arial-PLAIN-12");
+ public static final Font TEXTFIELD_FONT = Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the password field text.
*/
public static final Font PASSWORD_FIELD_FONT =
- Font.decode("Arial-PLAIN-12");
+ Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the points '....' in the progress panel.
*/
public static final Font PROGRESS_POINTS_FONT =
- Font.decode("Arial-BOLD-12");
+ Font.decode("SansSerif-BOLD-12");
/**
* Specifies the font for the done text 'Done' in the progress panel.
@@ -473,24 +473,24 @@
* Specifies the font for the error messages in the progress panel.
*/
public static final Font PROGRESS_ERROR_FONT =
- Font.decode("Arial-BOLD-12");
+ Font.decode("SansSerif-BOLD-12");
/**
* Specifies the font for the warning messages in the progress panel.
*/
public static final Font PROGRESS_WARNING_FONT =
- Font.decode("Arial-BOLD-12");
+ Font.decode("SansSerif-BOLD-12");
/**
* Specifies the font for the stack trace in the progress panel.
*/
- public static final Font STACK_FONT = Font.decode("Arial-PLAIN-12");
+ public static final Font STACK_FONT = Font.decode("SansSerif-PLAIN-12");
/**
* Specifies the font for the text in the WebBrowserErrorDialog.
*/
public static final Font ERROR_DIALOG_FONT =
- Font.decode("Arial-PLAIN-12");
+ Font.decode("SansSerif-PLAIN-12");
private static final String SPAN_CLOSE = "</span>";
--
Gitblit v1.10.0