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: 1428
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: Tue Aug 26 01:37:18 CEST 2025

Total time taken to generate the page: 0.05132 seconds