FLTK logo

STR #2875

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.3 | Post Text | Post File | SVN ⇄ GIT | Prev | Next ]

STR #2875

Application:FLTK Library
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:2 - Specific to an operating system
Summary:More general methods to select fonts with attributes BOLD/ITALIC (Patch supplied)
Created By:chris
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size  
#1 chris
05:38 Oct 03, 2012

Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
#1 chris
05:38 Oct 03, 2012
As described in the thread "FL_BOLD/FL_ITALIC & Xft font sorting" in fltk.development on October 3rd 2012, the method used in FLTK to obtain a bold or italic font from a given font (OR'ing in a constant to fontnumber) does'nt work reliably for external fonts.

The supplied patch adds a few methods to do this in a more general way.
It also changes Fl_Browser and Fl_Help_View, which currently use the unreliable way, making them work with all fonts.
#2 greg.ercolano
15:15 Oct 28, 2017
Hmm, this looks like a good code improvement.

I don't know much about the font system internals to weigh in,
but I'll bet Ian/Manolo and possibly Albrecht might have some
opinion on this.

Seems a better route to go..

Return to Bugs & Features | Post Text | Post File ]


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'.