View Full Version: ugly fonts under amd64

ivan >>Trouble Shooting and Bugs >>ugly fonts under amd64


ajacoutot- 01-15-2007
ugly fonts under amd64
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.

Atomic- 01-15-2007

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.

ajacoutot- 01-16-2007

The issue has been found finally: --- 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.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.