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) » [FIXED] FC_WEIGHT is too big.
Re: [X11 Font problems - Bug?] FC_WEIGHT is too big. [message #40130 is a reply to message #40121] Mon, 17 June 2013 20:31 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
klugier wrote on Sat, 15 June 2013 11:45

Hello,

I have made simply test:

Cout () << "FC_WEIGHT_NORMAL: " << FC_WEIGHT_NORMAL << "\n";
Cout () << "FC_WEIGHT_BOLD:   " << FC_WEIGHT_BOLD << "\n";


The return values for Kubuntu 13.04 is
FC_WEIGHT_NORMAL: 80
FC_WEIGHT_BOLD:   200


It seems that 80 constant for FC_WEIGHT_NORMAL looks ok and 100 is too high. On the other hand, 160 constant for bold fonts is too low.

I am not sure, but why we can't replace this line using FC_WEIGHT_NORMAL and FC_WEIGHT_BOLD constants? I have enclosed sample code:



I have already did that...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Smtp: compiling error in smtp.h
Next Topic: [Win32 - FileSel - System Places Improvement] - Disk name
Goto Forum:
  


Current Time: Mon Apr 29 06:01:50 CEST 2024

Total time taken to generate the page: 0.02529 seconds