MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0023049Open CASCADE[OCCT] OCCT:Visualizationpublic2012-03-30 12:262016-12-09 16:31
Reportersan 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusclosedResolutionfixed 
PlatformAOSLOS VersionL
Product Version[OCCT] 6.5.3 
Target Version[OCCT] 7.1.0Fixed in Version[OCCT] 7.1.0 
Summary0023049: Optimize packaging and dependencies of visualization libraries
DescriptionCurrently, there are two known issues related to undesirable dependencies of OCCT libraries related to visualization:

1. TKernel depends on Xlib due to OSD_FontMgr class.

This issue was reported by the community a year ago: http://www.opencascade.org/org/forum/thread_20042/ [^]

Potential solution: move this class to TKV3d or TKOpenGl (TKV3d is also considered because some customers use OSD_FontMgr as a part of OCCT public API in their applications), the final decision is pending.

2. TKService depends on FreeImage library (remark by SZV).

This dependency is yet to be analyzed.

3. TKOpenGl depends on FTGL+FreeType2 libraries for text rendering functionality.

FTGL library is not updated since '08 whilst has frozen RC slice for a long time, has known bugs and uses outdated OpenGL techniques for rendering (no VBO possible, no GL3.0 compatibility, unsafe FreeType2 library initialization, no advanced scalable options possible etc.).

Moreover the only small part of provided functionality is used by OCCT.

So this is suggested to implement own font rendering functionality based on Freetype2 library directly and eliminate FTGL dependency.

4. TKOpenGl depends on FreeImagePlus library for printing functionality on Windows platform. It seems redundant dependency that should be removed in future.
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0023272closedkgv Open CASCADE Image comparison algorithm 
related to 0023415closeddbv Open CASCADE OSD_FontMgr can't idenify aspect for fonts with names dependant on system locale. 
related to 0022582closedbugmaster Open CASCADE Visualization - provide an API for dumping a sub-region of the viewport 
parent of 0023242closedbugmaster Open CASCADE OSD_FontMgr in TKernel cause dependence on optional component in system (XLib library) 
parent of 0027763closedbugmaster Open CASCADE Visualization - remove V3d_View::Print() method 
related to 0023457closedkgv Community Slow text rendering 

-  Notes
(0020222)
Paddy (reporter)
2012-03-30 13:25

Hi all,

I haven't tested it - but could this be a replacement for FTGL:

http://code.google.com/p/freetype-gl/ [^]

Best regards.

Patrik
(0021245)
san (developer)
2012-08-15 21:29

Correction of #23196 introduces direct dependency of TKOpenGl on FreeType library.
However, this does not look critical as TKOpenGl already depends on FTGL library that also requires FreeType.
(0023291)
san (developer)
2013-02-08 15:07

p.3 from the initial description (dependency on FTGL) is resolved by the patch for 0023457
(0023414)
kgv (developer)
2013-02-20 15:16

p.1 is resolved within 0023242 issue (OSD_FontMgr was moved to TKService as Font_FontMgr).
(0026490)
kgv (developer)
2013-11-06 16:13

p.1 0023415 removes Xlib dependencies from TKernel.
(0027171)
san (developer)
2013-12-11 15:12

Problem p.2 is cancelled, TKService (Font package) now accumulates various algorithms related to font support based on FreeType.

Thus only p.4 remains.
(0056947)
kgv (developer)
2016-08-22 23:17

Please switch to "verified" - the dependency from C++ library FreeImagePlus (not C library FreeImage) has been eliminated within patch for 0027763

- Issue History
Date Modified Username Field Change
2012-03-30 12:26 san New Issue
2012-03-30 12:26 san Assigned To => san
2012-03-30 12:30 san Description Updated View Revisions
2012-03-30 13:07 kgv Description Updated View Revisions
2012-03-30 13:25 Paddy Note Added: 0020222
2012-08-03 16:06 san Relationship added related to 0023196
2012-08-15 21:29 san Note Added: 0021245
2012-08-17 09:20 kgv Description Updated View Revisions
2012-08-17 09:22 kgv Relationship added related to 0023272
2012-08-17 09:24 kgv Relationship added parent of 0023242
2012-10-02 14:49 Pawel Relationship added related to 0023457
2012-10-20 10:45 abv Target Version 6.5.4 => 6.6.0
2013-02-08 15:07 san Note Added: 0023291
2013-02-20 15:16 kgv Note Added: 0023414
2013-02-26 18:10 san Target Version 6.6.0 => 6.7.0
2013-11-06 16:13 kgv Note Added: 0026490
2013-11-06 16:13 kgv Target Version 6.7.0 => 6.7.1
2013-11-06 16:13 kgv Relationship added related to 0023415
2013-12-11 15:12 san Note Added: 0027171
2013-12-11 15:13 san Status new => assigned
2014-02-17 14:56 kgv Relationship added related to 0022582
2014-02-17 14:57 kgv Target Version 6.7.1 => 7.0.0
2014-09-29 22:55 kgv Target Version 7.0.0 => 7.1.0
2016-08-10 22:07 kgv Relationship added parent of 0027763
2016-08-22 23:17 kgv Note Added: 0056947
2016-08-22 23:17 kgv Assigned To san => bugmaster
2016-08-22 23:17 kgv Status assigned => feedback
2016-08-22 23:17 kgv Resolution open => fixed
2016-08-22 23:17 kgv Fixed in Version => 7.1.0
2016-08-23 11:54 bugmaster Status feedback => tested
2016-08-23 11:54 bugmaster Status tested => verified
2016-12-09 16:31 aiv Status verified => closed


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker