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)
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 previous message
mirek is currently offline  mirek
Messages: 14267
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

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


Current Time: Mon Aug 25 21:23:07 CEST 2025

Total time taken to generate the page: 0.05999 seconds