AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

../../../src/share/native/sun/awt/font/fontmanager/fontobjec

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
V S Rawat
Guest





PostPosted: Tue Oct 25, 2005 1:52 pm    Post subject: ../../../src/share/native/sun/awt/font/fontmanager/fontobjec Reply with quote



Today I did some installation (win98SE) including MS .Net
Framework 1.1

After sometime, the java program stopped working and gave this
error:

Assertion failed: errno == 0 && count == <size_t> size, file
.../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fo
ntObject.cpp. line 506

The above is probably referring to rt.jar, which does not have
the above path.

AUTOEXEC.BAT has:
----------------
SET JAVAHOME=C:Progra~1Javaj2sdk1.4.1_01
SET JAVA_HOME=C:Progra~1Javaj2re1.4.1_01
SET BOOTCLASSPATH=%JAVAHOME%jrelibrt.jar
SET PROJECT_PATH=.
---------------

_Go.bat has:
----------------
%JavaHome%binjava -classpath . Myprog
----------------

Where Myprog is the java program that was working for last one
year.


Please help in resolving the problem.

TIA.
--
()'""'()
(. 'o'.)
=(,,)=(,,)=
Back to top
Roedy Green
Guest





PostPosted: Tue Oct 25, 2005 2:10 pm    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote



On 25 Oct 2005 15:52:26 +0200, "V S Rawat" <VSRawat (AT) Invalid (DOT) none>
wrote, quoted or indirectly quoted someone who said :

Quote:
After sometime, the java program stopped working and gave this
error:

Assertion failed: errno == 0 && count == <size_t> size, file
../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fo
ntObject.cpp. line 506

Did you recently install some new font of questionable quality?
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Back to top
V S Rawat
Guest





PostPosted: Tue Oct 25, 2005 6:20 pm    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote



Roedy Green wrote:

Quote:
On 25 Oct 2005 15:52:26 +0200, "V S Rawat"
[email]VSRawat (AT) Invalid (DOT) none[/email]> wrote, quoted or indirectly quoted
someone who said :

After sometime, the java program stopped working and gave
this error:

Assertion failed: errno == 0 && count == <size_t> size, file
../../../src/share/native/sun/awt/font/fontmanager/fontobject
s/fo ntObject.cpp. line 506

Did you recently install some new font of questionable quality?

Yes.

1. I ran MS office xp second cd, from which I tried to installed
indic languages supports. It didn't provide that support, but
did install lot many fonts.

2. Then, I copied Lucinda Unicode and Palladio San Unicode (sp?)
fonts from my xp partition to my 98se partition.

3. For last one week, I had been installing/ uninstalling many
fonts.

I am also trying Keyboard layouts, etc.

Thanks.
--
()'""'()
(. 'o'.)
=(,,)=(,,)=

Back to top
Roedy Green
Guest





PostPosted: Tue Oct 25, 2005 11:18 pm    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote

On 25 Oct 2005 20:20:49 +0200, "V S Rawat" <VSRawat (AT) Invalid (DOT) none>
wrote, quoted or indirectly quoted someone who said :

Quote:
1. I ran MS office xp second cd, from which I tried to installed
indic languages supports. It didn't provide that support, but
did install lot many fonts.

2. Then, I copied Lucinda Unicode and Palladio San Unicode (sp?)
fonts from my xp partition to my 98se partition.

3. For last one week, I had been installing/ uninstalling many
fonts.

I would try backing out the fonts, seeing if that clears the problem,
and reinstalling in a sort of intutition-assisted binary search to
find the culprit.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Back to top
Roedy Green
Guest





PostPosted: Tue Oct 25, 2005 11:22 pm    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote

On 25 Oct 2005 20:20:49 +0200, "V S Rawat" <VSRawat (AT) Invalid (DOT) none>
wrote, quoted or indirectly quoted someone who said :

Quote:
1. I ran MS office xp second cd, from which I tried to installed
indic languages supports. It didn't provide that support, but
did install lot many fonts.

2. Then, I copied Lucinda Unicode and Palladio San Unicode (sp?)
fonts from my xp partition to my 98se partition.

3. For last one week, I had been installing/ uninstalling many
fonts.

Tool that may help include http://mindprod.com/applets/fontshower.html
http://mindprod.com/applets/fontshowerawt.html

To display font samples of the various fonts installed available from
Java. You might want to modify the source slightly to add a sample
line of Indic scripts.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Back to top
V S Rawat
Guest





PostPosted: Wed Oct 26, 2005 11:39 am    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote

Roedy Green wrote:

Quote:
I would try backing out the fonts, seeing if that clears the
problem, and reinstalling in a sort of intutition-assisted
binary search to find the culprit.

That solved it.

There were some 174 fonts in my fonts folder. I copied all to
another folder, leaving just Arial range in "fonts", and messed
up entire display. Anyhow, I recopied those fonts, in sets of 10
each and then, ran java after each set of copy to see whether it
worked.

So, I copied almost all fonts back. Display again become
correct. And Java is running beautifully now.

I noticed that certain fonts had "hidden" attribute set. I have
reset that attribute.

Also, while copying back to fonts folder, it identified two font
files which, it said that these were not valid font files, so I
deleted them.

Java is working now. The problem is solved.

Thanks a tonne.
--
()'""'()
(. 'o'.)
=(,,)=(,,)=

Back to top
V S Rawat
Guest





PostPosted: Wed Oct 26, 2005 11:39 am    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote

Roedy Green wrote:

Quote:
On 25 Oct 2005 20:20:49 +0200, "V S Rawat"
[email]VSRawat (AT) Invalid (DOT) none[/email]> wrote, quoted or indirectly quoted
someone who said :

1. I ran MS office xp second cd, from which I tried to
installed indic languages supports. It didn't provide that
support, but did install lot many fonts.

2. Then, I copied Lucinda Unicode and Palladio San Unicode
(sp?) fonts from my xp partition to my 98se partition.

3. For last one week, I had been installing/ uninstalling
many fonts.

I would try backing out the fonts, seeing if that clears the
problem, and reinstalling in a sort of intutition-assisted
binary search to find the culprit.

I found fontmanager.dll (size 320 KB, last modified Sep 30,
2002) in folder:

C:Program FilesJavaj2sdk1.4.1_01jrebinfontmanager.dll


It is binary file, but opening it in notepad, the line 10781
reads:

.../../../src/share/native/sun/awt/font/fontmanager/fontobjects/fo
ntObject.cpp errno == 0 && count == (size_t) size closing
font descriptor %d


--
()'""'()
(. 'o'.)
=(,,)=(,,)=

Back to top
Roedy Green
Guest





PostPosted: Wed Oct 26, 2005 12:24 pm    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote

On 26 Oct 2005 13:39:46 +0200, "V S Rawat" <VSRawat (AT) Invalid (DOT) none>
wrote, quoted or indirectly quoted someone who said :

Quote:
Java is working now. The problem is solved.

Good going. I was pleased with myself for my terser than usual
answer. Glad it worked.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Back to top
V S Rawat
Guest





PostPosted: Wed Oct 26, 2005 4:07 pm    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote

V S Rawat wrote:

Quote:
Roedy Green wrote:

On 25 Oct 2005 20:20:49 +0200, "V S Rawat"
[email]VSRawat (AT) Invalid (DOT) none[/email]> wrote, quoted or indirectly quoted
someone who said :

1. I ran MS office xp second cd, from which I tried to
installed indic languages supports. It didn't provide that
support, but did install lot many fonts.

2. Then, I copied Lucinda Unicode and Palladio San Unicode
(sp?) fonts from my xp partition to my 98se partition.

3. For last one week, I had been installing/ uninstalling
many fonts.

I would try backing out the fonts, seeing if that clears the
problem, and reinstalling in a sort of intutition-assisted
binary search to find the culprit.

I found fontmanager.dll (size 320 KB, last modified Sep 30,
2002) in folder:

C:Program FilesJavaj2sdk1.4.1_01jrebinfontmanager.dll


It is binary file, but opening it in notepad, the line 10781
reads:

../../../src/share/native/sun/awt/font/fontmanager/fontobjects/
fo ntObject.cpp errno == 0 && count == (size_t) size
closing font descriptor %d


I had composed the above post earlier.

Now the problem is solved, I think it can be retracted.

However, if there is some info related to this, to analyse what
had gone wrong, that is surely welcome

--
()'""'()
(. 'o'.)
=(,,)=(,,)=

Back to top
Roedy Green
Guest





PostPosted: Wed Oct 26, 2005 10:04 pm    Post subject: Re: ../../../src/share/native/sun/awt/font/fontmanager/fonto Reply with quote

On 26 Oct 2005 18:07:40 +0200, "V S Rawat" <VSRawat (AT) Invalid (DOT) none>
wrote, quoted or indirectly quoted someone who said :

Quote:

I had composed the above post earlier.

Now the problem is solved, I think it can be retracted.

However, if there is some info related to this, to analyse what
had gone wrong, that is surely welcome

The code that died was not yours, but part of Sun's native class for
handling fonts. It presumed all the fonts were following the rules
and all the fonts were well formed.

You might naively expect the OS to do a sanity check on newly
installed fonts, or for fonts to be digitally signed by some checker
that assures they are well formed.

The catch is, one or more of your fonts were not. So the Sun code
tripped over them.

Another explanation is that one of more of the fonts used some obscure
feature of the font format that the author of Sun's code was either
not aware of or did not bother to test properly.

I have run into a number of bugs where Sun's code works fine, but only
in the USA locale.

You might give Sun the font to see where the fault lies. Check the
font out with other software.

See http://mindprod.com/jgloss/bugs.html

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.