FLTK logo

STR #110

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]

STR #110

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:Fl_Menu_Item ignores font
Version:1.1.4rc1
Created By:dicuccio.earthlink.net
Assigned To:matthiaswm
Fix Version:1.1-current
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 dicuccio.earthlink.net
08:46 Jul 18, 2003
Fl_Menu_Item::draw() / Fl_Menu_Item::measure(), inc reating a label to render, incorrectly checks the labelsize_ value to set the label's font:

l.font    = labelsize_ ? labelfont_ : uchar(m ? m->textfont() : FL_HELVETICA);
 
 
#2 matt
15:38 Jul 18, 2003
Unfortunatly the default setting and HELVETICA share the same value: 0. I modified the code to force a new menuitem font if it is not zero (not Helvetica). If a user wants to force HELVETICA, he *must* also set the font heigt.
  Matthias
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.