Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » SVN UPP Issue (Linux 64bit)
SVN UPP Issue (Linux 64bit) [message #16574] Sat, 28 June 2008 01:48 Go to next message
PhanLord is currently offline  PhanLord
Messages: 4
Registered: May 2006
Junior Member
I just compiled UPP from SVN on Linux 64bit (Gentoo)
(using modified make files i found in forums
[using pkg-config instead of hardcoded values] )

So everything compiled fine (one could claim Smile
however when i start ide, all text is just set of lines.

has anyone else experienced the same ?

(BTW im running ide directly from out folder)

Edit:
Added ScreenShot
  • Attachment: snapshot1.png
    (Size: 18.45KB, Downloaded 312 times)

[Updated on: Sat, 28 June 2008 01:53]

Report message to a moderator

Re: SVN UPP Issue (Linux 64bit) [message #16579 is a reply to message #16574] Sat, 28 June 2008 16:47 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Interesting.

Seems like font problem. Font handling is in Draw/DrawTextXft.

Perhaps adding some LOGs there would reveal the problem.

Mirek
Re: SVN UPP Issue (Linux 64bit) [message #16757 is a reply to message #16579] Thu, 10 July 2008 03:54 Go to previous messageGo to next message
PhanLord is currently offline  PhanLord
Messages: 4
Registered: May 2006
Junior Member
unfortunately im unable to build upp now Sad
(i tryed SVN version)

i tried rc1(X86) and rc2(amd64) prebuild binaries from debian
but no luck same results.

EDIT:

Ok i know what is the problem now
font

if i select
ClearlyU PUA font with size 9
i see that crazy stuff in theide.
same font just different size (10) and everything works fine
(this is running debian package)

will try to build theide now so i can debug rendering and see what exactly is going on here

[Updated on: Thu, 10 July 2008 04:00]

Report message to a moderator

Re: SVN UPP Issue (Linux 64bit) [message #16768 is a reply to message #16574] Thu, 10 July 2008 14:16 Go to previous messageGo to next message
phirox is currently offline  phirox
Messages: 49
Registered: December 2007
Member
In the latest svn the following line has been changed in Draw/DrawTextXft.cpp:

FcFontSet *fs = XftListFonts(Xdisplay, Xscreenno, (void *)0, XFT_FAMILY, XFT_SCALABLE, (void *)0);


Removing the first (void *) 0. This is incorrect and makes a fresh build segfault on my system.

As from the Xft manual:
Quote:

[XftListFonts takes as argument] ... first an XftPattern description as used by XftPatternBuild followed by a null char pointer and then a list of element names as used by XftObjectSetBuild followed by another null char pointer.


I recommend to just put back the old line.
Re: SVN UPP Issue (Linux 64bit) [message #16781 is a reply to message #16768] Fri, 11 July 2008 11:19 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
phirox wrote on Thu, 10 July 2008 08:16

In the latest svn the following line has been changed in Draw/DrawTextXft.cpp:

FcFontSet *fs = XftListFonts(Xdisplay, Xscreenno, (void *)0, XFT_FAMILY, XFT_SCALABLE, (void *)0);


Removing the first (void *) 0. This is incorrect and makes a fresh build segfault on my system.

As from the Xft manual:
Quote:

[XftListFonts takes as argument] ... first an XftPattern description as used by XftPatternBuild followed by a null char pointer and then a list of element names as used by XftObjectSetBuild followed by another null char pointer.


I recommend to just put back the old line.


Interesting, in my actual sources there are still both (void *)NULL.

Also, in SVN:

http://upp.svn.sourceforge.net/viewvc/upp/trunk/uppsrc/Draw/ DrawTextXft.cpp?revision=306&view=markup

I am confused.

Mirek

[Updated on: Fri, 11 July 2008 11:48]

Report message to a moderator

Re: SVN UPP Issue (Linux 64bit) [message #16784 is a reply to message #16781] Fri, 11 July 2008 11:52 Go to previous messageGo to next message
phirox is currently offline  phirox
Messages: 49
Registered: December 2007
Member
Ok the problem seems to be local. I have updated the svn tree several times, and the file just remained the same. So I decided to remove the file, and then it restored the correct latest version.

Bug with subversion I guess(or with my local .svn cache or something)

So the problem I mentioned must be invalid/old, thanks anyway Smile
Re: SVN UPP Issue (Linux 64bit) [message #16786 is a reply to message #16784] Fri, 11 July 2008 12:06 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
phirox wrote on Fri, 11 July 2008 05:52


Bug with subversion



Do not scare me, after finally deciding to move to svn... Smile

Mirek
Previous Topic: Ctrl::Add(GLCtrl) Bug (Linux)
Next Topic: print screen
Goto Forum:
  


Current Time: Fri Apr 26 11:33:24 CEST 2024

Total time taken to generate the page: 2.88359 seconds