| View previous topic :: View next topic |
| Author |
Message |
ajacoutot
Joined: 15 Jan 2007 Posts: 2
|
Posted: Mon Jan 15, 2007 1:51 pm Post subject: 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. |
|
| Back to top |
|
 |
Atomic archangel

Joined: 12 Jan 2005 Posts: 1442 Location: In the fire
|
Posted: Tue Jan 16, 2007 4:53 am Post subject: |
|
|
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 |
|
 |
ajacoutot
Joined: 15 Jan 2007 Posts: 2
|
Posted: Tue Jan 16, 2007 6:45 am Post subject: |
|
|
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 |
|
 |
|