Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Type 1 font display issue
Type 1 font display issue
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
GibHenry
Councilperson


Joined: Jun 20, 2003
Posts: 104
Location: Birmingham, Alabama; and Amelia (Terni), Italy

PostPosted: Tue Sep 21, 2004 3:05 pm    Post subject: Type 1 font display issue

This is just too weird to post as a bug without some kind of confirmation first. Shocked

I purchased the MICR TrueType and Type 1 font some years ago (for printing checks). It has always worked fine under OS 9, and now works fine under OS X in TextEdit, FontBook, and other sofware...except in NeoOffice/J, where 13 of the 14 characters (ABCD and 0-9) display and print fine...all except the 8! Now, I've heard of being behind the 8-ball, but this is absurd! I can't imagine it's a problem with NOJ, but neither can I account for it in any other way. Also, I believe it printed fine with NOJ 0.8.2 or .3 or .4 a while back.

I can furnish a copy of the font for testing purposes if anyone can try it and see if they get the same weird results. Please contact me directly: gib at gibhenry point com. Thanks! Cheers,

_________________
Gib Henry
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Sep 21, 2004 3:54 pm    Post subject: Re: Type 1 font display issue

I fixed a similar bug (#150) today. The problem was that there were some collisions when you have more than one font with the same name on your machine.

I think I've fixed this "duplicate font" issue and I will contact you directly to test if my fix fixes your Type 1 font issue.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Sep 21, 2004 5:58 pm    Post subject:

I found the problem with the MICR font that you sent me. Both the Type 1 and TrueType versions assign the character "8" to glyph ID 3. The problem is that the OOo code assumes that glyph ID 3 is a non-displaying space which is what appears on the screen.

I will see if there is a way that I can work around this problem.

Patrick
Back to top
GibHenry
Councilperson


Joined: Jun 20, 2003
Posts: 104
Location: Birmingham, Alabama; and Amelia (Terni), Italy

PostPosted: Tue Sep 21, 2004 6:33 pm    Post subject:

Quote:
I found the problem with the MICR font that you sent me. Both the Type 1 and TrueType versions assign the character "8" to glyph ID 3. The problem is that the OOo code assumes that glyph ID 3 is a non-displaying space which is what appears on the screen.


How do you know such stuff?!

Quote:
I will see if there is a way that I can work around this problem.


Would it be easier to change the font?! Which would conform better to standards? Cheers,

_________________
Gib Henry
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue Sep 21, 2004 8:52 pm    Post subject:

GibHenry wrote:
pluby wrote:
I found the problem with the MICR font that you sent me. Both the Type 1 and TrueType versions assign the character "8" to glyph ID 3. The problem is that the OOo code assumes that glyph ID 3 is a non-displaying space which is what appears on the screen.


How do you know such stuff?!


Because Patrick is a genius! Smile

When I saw the thread, my first guess was also an encoding issue (old non-Unicode fonts in a Unicode world), but that didn't fit will all the symptoms and I never would have guessed the ultimate answer!

GibHenry wrote:
pluby wrote:
I will see if there is a way that I can work around this problem.


Would it be easier to change the font?! Which would conform better to standards?


If you can find a Unicode version of the font, I imagine that would fix it (not having seen the font and its encoding; just guessing based on Patrick's report). I'm sure there are also tools to do this oneself, but I don't know any offhand. Of course, the underlying OOo code making so many assumptions about everything also leaves something to be desired.... Smile

Smokey
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Sep 21, 2004 10:03 pm    Post subject:

sardisson wrote:
Because Patrick is a genius! Smile


...or maybe just very persistent and pretty good at using a debugger. Wink

Patrick
Back to top
GibHenry
Councilperson


Joined: Jun 20, 2003
Posts: 104
Location: Birmingham, Alabama; and Amelia (Terni), Italy

PostPosted: Wed Sep 22, 2004 6:21 am    Post subject: Genius

pluby wrote:
sardisson wrote:
Because Patrick is a genius! :)


...or maybe just very persistent and pretty good at using a debugger. ;)

Patrick


Yeah, well, being "pretty good at using a debugger" constitutes genius in my book! Cheers,

_________________
Gib Henry
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed Sep 22, 2004 1:14 pm    Post subject: Re: Genius

GibHenry wrote:
pluby wrote:
sardisson wrote:
Because Patrick is a genius! Smile


...or maybe just very persistent and pretty good at using a debugger. Wink

Patrick


Yeah, well, being "pretty good at using a debugger" constitutes genius in my book!


In mine, too! Very Happy

Smokey
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Wed Sep 22, 2004 3:07 pm    Post subject: Re: Genius

sardisson wrote:
GibHenry wrote:
pluby wrote:
sardisson wrote:
Because Patrick is a genius! Smile


...or maybe just very persistent and pretty good at using a debugger.


Yeah, well, being "pretty good at using a debugger" constitutes genius in my book!


In mine, too! Very Happy


Hear, hear!
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Sep 22, 2004 3:11 pm    Post subject:

Gib,

FYI. I found a simple way to detect valid glyphs with a glyph ID of 3 so that they will get displayed.

I will put the fix in the next patch.

Patrick
Back to top
GibHenry
Councilperson


Joined: Jun 20, 2003
Posts: 104
Location: Birmingham, Alabama; and Amelia (Terni), Italy

PostPosted: Wed Sep 22, 2004 3:19 pm    Post subject:

pluby wrote:
Gib,

FYI. I found a simple way to detect valid glyphs with a glyph ID of 3 so that they will get displayed.

I will put the fix in the next patch.

Patrick


Terrif! Thanks! Cheers,

_________________
Gib Henry
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Sep 22, 2004 3:26 pm    Post subject:

I forgot to mention that your Type 1 font also prints and saves as PDF perfectly (I made sure by uninstalling the TrueType font that sent me before starting Neo/J).

This confirms that Neo/J now has better font support than OOo X11 (it can only save TrueType fonts in PDF files).

Patrick
Back to top
GibHenry
Councilperson


Joined: Jun 20, 2003
Posts: 104
Location: Birmingham, Alabama; and Amelia (Terni), Italy

PostPosted: Wed Sep 22, 2004 3:59 pm    Post subject:

pluby wrote:
...your Type 1 font also prints and saves as PDF perfectly (I made sure by uninstalling the TrueType font that sent me before starting Neo/J)...


Hmmm...MICR, right? Does the Type 1 version have the same glyph 3 issue? I can't remember whether it came in both versions, or whether I converted from one to the other using [engage WayBack] FontMonger [disengage WayBack]. Cheers,

_________________
Gib Henry
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Sep 22, 2004 4:21 pm    Post subject:

Yes, I am using MICR and typing numbers. The style of this font reminds my of my old job many years ago when I worked in an accounting department. Smile

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Page 1 of 1

 
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
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.