MantisBT - Open CASCADE
View Issue Details
0023466Open CASCADE[OCCT] OCCT:Foundation Classespublic2012-10-09 12:012019-11-13 14:34
dbv 
dbv 
normalminor 
closedfixed 
 
[OCCT] 6.5.4[OCCT] 6.5.4 
Not needed
0023466: Move OSD_FontMgr class outside TKernel
OSD_FontMgr class should be moved outside TKernel (into TKService for example)
No tags attached.
has duplicate 0023242closed bugmaster Open CASCADE OSD_FontMgr in TKernel cause dependence on optional component in system (XLib library) 
related to 0023415closed dbv Open CASCADE OSD_FontMgr can't idenify aspect for fonts with names dependant on system locale. 
related to 0030439closed bugmaster Open CASCADE Visualization - extend fonts search within Font_FontMgr::FindFont() on Linux 
Issue History
2012-10-09 12:01dbvNew Issue
2012-10-09 12:01dbvAssigned To => dbv
2012-10-09 12:02dbvRelationship addedchild of 0023242
2012-10-09 12:14dbvNote Added: 0021693
2012-10-09 12:14dbvAssigned Todbv => kgv
2012-10-09 12:14dbvStatusnew => resolved
2012-10-10 17:43bugmasterTarget Version => 6.5.4
2012-10-11 15:18mkvNote Added: 0021727
2012-10-11 15:19mkvTest case number => Not needed
2012-10-11 15:19mkvAssigned Tokgv => dbv
2012-10-11 15:19mkvStatusresolved => assigned
2012-10-11 16:54dbvNote Added: 0021731
2012-10-11 16:54dbvAssigned Todbv => mkv
2012-10-11 16:54dbvStatusassigned => resolved
2012-10-11 17:51dbvNote Added: 0021732
2012-10-12 15:06mkvNote Added: 0021754
2012-10-12 15:07mkvAssigned Tomkv => bugmaster
2012-10-12 15:07mkvStatusresolved => reviewed
2012-10-12 15:07mkvStatusreviewed => tested
2012-10-15 17:24dbvRelationship addedrelated to 0023415
2012-10-16 15:21dbvChangeset attached => occt master eeaaaefb
2012-10-16 15:21dbvAssigned Tobugmaster => dbv
2012-10-16 15:21dbvStatustested => verified
2012-10-16 15:21dbvResolutionopen => fixed
2012-11-01 11:52kgvNote Added: 0022047
2012-11-16 13:13bugmasterFixed in Version => 6.5.4
2012-11-16 13:18bugmasterStatusverified => closed
2013-01-14 13:55kgvRelationship replacedhas duplicate 0023242
2019-01-16 00:42kgvRelationship addedrelated to 0030439
2019-10-31 16:23kgvRelationship addedparent of 0031118
2019-11-13 14:34kgvRelationship addedparent of 0031159

Notes
(0021693)
dbv   
2012-10-09 12:14   
Created new package Font in TKService. Classes FontMgr and SystemFont have been moved from OSD package to Font package.

Changes have been pushed to the git branch CR23466.

Dear Kirill,
Please review.
(0021727)
mkv   
2012-10-11 15:18   
Dear BugMaster,
Branch CR23466 (and products from GIT master) was compiled on Linux and Windows platforms.
There are compilation errors:

http://jenkins-test-01.nnov.opencascade.com/user/mnt/my-views/view/CR23466/job/mnt-CR23466-master_build_occt_linux/1/parsed_console/? [^]
.....................................................
In file included from ../../../inc/Visual3d_View.hxx:59,
from ../../../drv/Visual3d/Visual3d_HSetOfView_0.cxx:13:
../../../inc/Graphic3d_CGraduatedTrihedron.hxx:30:31: error: Font_FontAspect.hxx: No such file or directory
........................................................
In file included from ../../../inc/Visual3d_View.hxx:59,
from ../../../drv/Visual3d/Visual3d_HSetOfView_0.cxx:13:
../../../inc/Graphic3d_CGraduatedTrihedron.hxx:68: error: 'Font_FontAspect' does not name a type
../../../inc/Graphic3d_CGraduatedTrihedron.hxx:74: error: 'Font_FontAspect' does not name a type
In file included from ../../../drv/Visual3d/Visual3d_HSetOfView_0.cxx:13:
../../../inc/Visual3d_View.hxx:354: error: 'Font_FontAspect' has not been declared
../../../inc/Visual3d_View.hxx:354: error: 'Font_FontAspect' has not been declared
In file included from ../../../drv/Visual3d/Visual3d_HSetOfView_0.cxx:13:
../../../inc/Visual3d_View.hxx:356: error: ISO C++ forbids declaration of 'Font_FontAspect' with no type
../../../inc/Visual3d_View.hxx:356: error: expected ',' or '...' before 'styleOfNames'
(0021731)
dbv   
2012-10-11 16:54   
Dear mkv,

Please check your local branch.
Additionally fixed in products samples CSharp wrap for Font_FontAspect enum. Changes have been pushed to the git products branch CR23466.
(0021732)
dbv   
2012-10-11 17:51   
Branch has been rebased on current master.

Please test git branches:
occt CR23466_1
occt-products CR23466
(0021754)
mkv   
2012-10-12 15:06   
Dear BugMaster,
Branch CR23466_1 (and CR23466 from occt-products) was compiled on Linux and Windows platforms and tested.

Regressions:
Not detected

Improvements:
Not detected

Testing cases:
Not needed

See results in /QADisk/occttests/results/KAS/dev/CR23466-1-CR23466-products_12102012/lin
See reference results in /QADisk/occttests/results/KAS/dev/IR-2012-10-05-master-products_05102012/lin
See test cases in /QADisk/occttests/tests/ED
(0022047)
kgv   
2012-11-01 11:52   
Dear Bugmaster,

please consider integration of changes in EXTRENLIB files pushed to CR23466_2 branch forgotten within original patch. There no need to perform regression testing - patch could be checked during regular pre-integration cumulative testing.

Removing TKernel dependency from Xlib was one of points for this bug record.