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 » Developing U++ » Bugs (& fixes) » Apps have high font zoom under Linux [FIXED]
Re: Apps have high font zoom under Linux [message #16642 is a reply to message #16641] Fri, 04 July 2008 14:47 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
cbpporter wrote on Fri, 04 July 2008 15:35


font_name is "FreeFreeFreeFree" with a lot more "Free"s in debug mode.


Yes, this is the problem!
const char* font_name = GtkStyleString("gtk-font-name");

But GtkStyleString returns String. Won't the temporary be destroyed?

Changing to:
String font_name = GtkStyleString("gtk-font-name");
fixes the bug.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Next Topic: ArrayCtrl: Column::Edit and control disappears
Goto Forum:
  


Current Time: Sun May 19 07:12:45 CEST 2024

Total time taken to generate the page: 0.01122 seconds