STR #1386

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 ]

STR #1386

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Summary:OSX quartz poor text rendering performance
Created By:wavexx
Assigned To:matt
Fix Version:1.1-current (SVN: v5334)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 wavexx
05:46 Aug 03, 2006
I'm filing this so it won't get lost.

Using --enable-quartz on OSX has large performance impact in text rendering (0.5fps in a almost empty source-view of fluid).
Some profiling reveals 90% of time spent in ATSU functions.

Using --enable-quartz also produces ugly text output (the text looks like rendered in "bold").
#2 matt
06:40 Aug 19, 2006
OK, I found the problem. FLTK uses the fl_length(text, len) call extensively to render aligned text and multi-color pieces. On Quartz, the overhead of calculating the dimensions of a single letter is tremodous. However, since we render text at pixel resolution only anyways, we can store character sizes onece and then calculate string dimensions much more quickly. Expect a solution soon ;-).  
#3 matt
08:26 Aug 19, 2006
Fixed in Subversion repository.

OP, please verify. Also, please check your regular apps and let me know, if text rendering should be faulty or modified in other ways in a not acceptable way.
bottom left image   bottom right image

Return to Bugs & Features ]


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