LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   font issue in open SuSe (https://www.linuxquestions.org/questions/suse-opensuse-60/font-issue-in-open-suse-4175425112/)

csegau 09-01-2012 07:56 AM

font issue in open SuSe
 
Hi All,

I have installed java1.7_01 on open suse system, problem is when i change the system language to Chinese/japanese and restart the system. then my User interface is not displayed properly. Some part of UI is hidden behind another interface. Moreover i see some square box instead of chinese text.

can you please help me in fixing this problem.

Thanks in advance !

-Gaurav

rigor 09-02-2012 05:37 PM

Hi csegau!

Since you are talking about Java, when you mention your UI, are you talking about the UI for some program you are writing? Or are you speaking more generally, are you saying that the UI for some desktop environment you have, is not even working properly? Also, who's Java did you install ( Sun's, IBM's, openJDK, etc.? ) and what form, run-time only, full JDK, ...?

If you are describing things in Chronological order, then it sounds as if you installed Java while the OS was set to use one language as a default, then changed the default system language, and tried to use some sort of UI after rebooting. Is that the order in which you did things?

Are you writing a Java program with a UI that you have designed with Internationalization in mind?

If your concern is purely a Java Internationalization issue, please provide us a code fragment that will show us how you are trying to do Internationalization.

I feel we could use some additional details to help us understand exactly what type of assistance you would like.

csegau 09-03-2012 02:27 PM

Quote:

Originally Posted by kakaka (Post 4770905)
Hi csegau!

Since you are talking about Java, when you mention your UI, are you talking about the UI for some program you are writing? Or are you speaking more generally, are you saying that the UI for some desktop environment you have, is not even working properly? Also, who's Java did you install ( Sun's, IBM's, openJDK, etc.? ) and what form, run-time only, full JDK, ...?

If you are describing things in Chronological order, then it sounds as if you installed Java while the OS was set to use one language as a default, then changed the default system language, and tried to use some sort of UI after rebooting. Is that the order in which you did things?

Are you writing a Java program with a UI that you have designed with Internationalization in mind?

If your concern is purely a Java Internationalization issue, please provide us a code fragment that will show us how you are trying to do Internationalization.

I feel we could use some additional details to help us understand exactly what type of assistance you would like.







--- Hi

i would like to explain you complete workflow.

1. I have Linux machine with openSuSe installed in it.
2. Now i install java1.7_01 on it
3. My application sits on top of my desktop i.e. my application comes up when system comes up.
4. Now i change the language of system to Chinese language and reboot the system, when system comes up my User interface is not displayed properly, some part of UI is cutting. I copied "fontconfig.SuSE.11.properties.src" to "fontconfig.SuSE.properties" and "fontconfig.SuSE.11.bfc" to "fontconfig.SuSE.bfc" font files in /usr/java/lib/
directory and gave system reboot. when system comes up, now my user interface is displayed properly i.e. its not getting cut. But now i have another problem...
i.e. not all chinese character are displayed properly, some characters are displayed as square box.

let me know if you need more information.

Thanks in Advance

-Gaurav

rigor 09-03-2012 04:21 PM

Thanks for that information.

Yes, there is more information which could be helpful.

Do you have your account configured to automatically log in when the system boots?

What desktop environment are you using, KDE, Gnome, or something else?

Are you using some sort of package manager or system admin tool for installs, yast, yum, zypper, or something else?

Also, please post the output of these commands:

Code:

cat /etc/SuSE-release
Code:

cat /etc/lsb-release
Code:

which java javac
Code:

java -version

John VV 09-03-2012 09:01 PM

you do NOT say just WHAT version of OpenSUSE you are using
but
in your second post you have this "fontconfig.SuSE.11.bfc"
but in coping some SOURCE src file

OpenSUSE 11.4 is the ONLY version of 11 that is supported
if you are on OpenSUSE 12.1 then OpenJDK WAS already installed and you partially replaced the Already installed java with a different version of java

if this IS 12.1 then you have a bit of a mess
Quote:

.e. not all chinese character are displayed properly, some characters are displayed as square box.
those boxes and NOT Chinese characters

they are missing letters
as in no language is found for them

Quote:

problem is when i change the system language to Chinese/japanese
WTF ????
those are two VERY different languages
also there are about 100 DIFFERENT Chinese languages besides han


All times are GMT -5. The time now is 12:00 AM.