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) » Huge font in upp[Gnome-Debian]
Huge font in upp[Gnome-Debian] [message #18848] Mon, 27 October 2008 17:59 Go to next message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
Hi, i've seen that fonts used by upp are a bit bigger compared to default system fonts used by other applications. This problem exist also in Ubuntu but there it isn't so visible as on Debian - the font used by upp gui differ from font used by other native applications. Shouldn't we use the same font as native applications?
Or is that related to font rendering as Upp use Xft* function to render fonts and gtk+ use Pango/Cairo for that?
index.php?t=getfile&id=1463&private=0
[note: firefox do font rendering correctly Razz, which api use it?]
  • Attachment: uppfont.png
    (Size: 81.36KB, Downloaded 461 times)


cdabbd745f1234c2751ee1f932d1dd75
Re: Huge font in upp[Gnome-Debian] [message #18905 is a reply to message #18848] Fri, 31 October 2008 14:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
The relevant code sequence starts at

CtrlLib/ChGtk.cpp 615

and ends with Draw::SetStdFont line.

We are trying to read the standard font from Gnome there.

Maybe a couple of DUMPs there would reveal the problem. Of course, crosschecking with mozilla code is possible too...

Mirek
Re: Huge font in upp[Gnome-Debian] [message #18927 is a reply to message #18905] Fri, 31 October 2008 23:58 Go to previous messageGo to next message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
Koldo, is there anything in that Portland xdgutils project that could help us out here finding the correct font size?
Re: Huge font in upp[Gnome-Debian] [message #18930 is a reply to message #18927] Sat, 01 November 2008 10:33 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
captainc wrote on Fri, 31 October 2008 18:58

Koldo, is there anything in that Portland xdgutils project that could help us out here finding the correct font size?


Actually, see the pointed code. There is a lot that can be read from GTK. My guess is that we are now interpreting some data badly...

Mirek
Re: Huge font in upp[Gnome-Debian] [message #19020 is a reply to message #18930] Wed, 05 November 2008 23:29 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Also, please check:

http://www.ultimatepp.org/forum/index.php?t=msg&th=3580& amp;start=0&

Mirek
Previous Topic: fork() problem
Next Topic: "All shared" in Windows question
Goto Forum:
  


Current Time: Thu Mar 28 14:23:23 CET 2024

Total time taken to generate the page: 0.01128 seconds