ivanforum ivanforum
Forum for Iter Vehemens ad Necem
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   fchat fChat   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ugly fonts under amd64

 
Post new topic   Reply to topic    ivanforum Forum Index -> Trouble Shooting and Bugs
View previous topic :: View next topic  
Author Message
ajacoutot



Joined: 15 Jan 2007
Posts: 2

PostPosted: Mon Jan 15, 2007 1:51 pm    Post subject: ugly fonts under amd64 Reply with quote

Hi.

I'm using Ivan under OpenBSD. All works fine except under the amd64 architecture whare fonts appear horrible and barely usable.
Any hint about this issue would be appreciated, I don't understand what could be 64bits specific about this... (it works fine under ppc and x86).
Thanks.
Back to top
View user's profile Send private message
Atomic
archangel


Joined: 12 Jan 2005
Posts: 1442
Location: In the fire

PostPosted: Tue Jan 16, 2007 4:53 am    Post subject: Reply with quote

Wow. Someone who might actually be a real person.

First, a bit of advice... These forums have been utterly swamped by spambots and are no longer used by many real people. However we have relocated, to attnam .jconserv .net.

Unfortunately I don't know what could be causing your difficulty, and the devs themselves have more or less completely vanished. However there may be a few people who are more technically minded that could help you out, over on the other forums.
_________________
"Also, I'm the only person I know capable of a pelvic pary and riposte." -- Squashmonster

I moderate in red.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ajacoutot



Joined: 15 Jan 2007
Posts: 2

PostPosted: Tue Jan 16, 2007 6:45 am    Post subject: Reply with quote

The issue has been found finally:

Code:

--- FeLib/Source/bitmap.cpp.orig        Tue Oct 26 21:35:47 2004
+++ FeLib/Source/bitmap.cpp     Mon Jan 15 16:41:50 2007
@@ -2047,10 +2047,10 @@ void cachedfont::PrintCharacter(const bl
 
   for(; SrcLine != EndLine; ++SrcLine, ++SrcMaskLine, ++DestLine)
   {
-    const ulong* FontPtr = reinterpret_cast<const ulong*>(*SrcLine + B.Src.X);
-    const ulong* EndPtr = FontPtr + 5;
-    const ulong* MaskPtr = reinterpret_cast<const ulong*>(*SrcMaskLine + B.Src.X);
-    ulong* DestPtr = reinterpret_cast<ulong*>(*DestLine + B.Dest.X);
+    const uint32_t* FontPtr = reinterpret_cast<const uint32_t*>(*SrcLine + B.Src.X);
+    const uint32_t* EndPtr = FontPtr + 5;
+    const uint32_t* MaskPtr = reinterpret_cast<const uint32_t*>(*SrcMaskLine + B.Src.X);
+    uint32_t* DestPtr = reinterpret_cast<uint32_t*>(*DestLine + B.Dest.X);
 
     for(; FontPtr != EndPtr; ++DestPtr, ++MaskPtr, ++FontPtr)
       *DestPtr = *DestPtr & *MaskPtr | *FontPtr;


Thanks for the link of the other forum.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ivanforum Forum Index -> Trouble Shooting and Bugs 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, 2002 phpBB Group