View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024387 | Open CASCADE | OCCT:Tests | public | 2013-11-20 14:15 | 2016-04-20 15:48 |
Reporter | Assigned To | ||||
Priority | low | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Target Version | 7.0.0 | Fixed in Version | 7.0.0 | ||
Summary | 0024387: Tests - use system-independent fonts in test cases | ||||
Description | The cases for testing dimension presentations of AIS package should be revised to enable usage of a predefined font from test files database. This would ensure that generated graphical text primitives will be platform-independent - so, will do all of the dimension features which depend on text geometry (selection, auto-orientation, label positioning). The generic font file should be added to test file database. Then, the font can be registered for use by "vfont add" command. | ||||
Steps To Reproduce | N/A | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
related to | 0024386 | closed | bugmaster | Open CASCADE | Provide high-level API to specify font by user-defined path for AIS (Prs3d) aspects |
related to | 0024293 | closed | bugmaster | Open CASCADE | Dimension flyout lines don't belong to the dimension sensitive entity. |
related to | 0025235 | closed | bugmaster | Open CASCADE | Draw Harness - improve commands vdimension and vdimparam |
|
Branch CR24387 has been created by isk. SHA-1: d0fb25c3889091b6d478d09e4b57d37711936ec0 Detailed log of new commits: Author: isk Date: Fri Aug 21 14:05:17 2015 +0300 0024387: Use identical fonts in test cases for AIS dimension presentations. Add a new parameter "-font FontName" to the command "vdimension". |
2015-08-21 14:07 developer |
DejaVuSans.ttf (756,072 bytes) |
|
Dear Kirill, please review the branch CR24387. |
|
Branch CR24387 has been updated forcibly by isk. SHA-1: 24a197e33d842c7cbaccd0c9110c164e64d503c9 |
|
Dear Ilya,-vdrawtext OC0 OpenCascade -pos -300 -300 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font Courier +vdrawtext OC0 OpenCascade -pos -300 -300 -300 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 000 -zoom 0 -height 15 -aspect regular -font SansFont ... -vdrawtext OC0 OpenCascade -pos 100 100 -400 -color 0.0 1.0 1.0 -halign left -valign bottom -angle 000 -zoom 1 -height 50 -aspect regular -font Times-Roman ... -vdrawtext OC18 OpenCascade -pos -200 -200 150 -color 0.0 1.0 1.0 -halign left -valign bottom -angle 010 -zoom 0 -height 15 -aspect regular -font Arbat -vdrawtext OC19 OpenCascade -pos -200 -200 200 -color 1.0 1.0 0.0 -halign left -valign bottom -angle 010 -zoom 0 -height 15 -aspect italic -font Elephant -vdrawtext OC20 OpenCascade -pos -200 -200 250 -color 0.0 1.0 0.02 -halign left -valign bottom -angle 010 -zoom 0 -height 15 -aspect bolditalic -font RockWell +vdrawtext OC18 OpenCascade -pos -200 -200 150 -color 0.0 1.0 1.0 -halign left -valign bottom -angle 010 -zoom 0 -height 15 -aspect regular -font SansFont +vdrawtext OC19 OpenCascade -pos -200 -200 200 -color 1.0 1.0 0.0 -halign left -valign bottom -angle 010 -zoom 0 -height 15 -aspect italic -font SansFont +vdrawtext OC20 OpenCascade -pos -200 -200 250 -color 0.0 1.0 0.02 -halign left -valign bottom -angle 010 -zoom 0 -height 15 -aspect bolditalic -font SansFont ... -vdrawtext Text0 " Top-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 600 -color 0.0 1.0 1.0 -halign left -valign top -angle 000 -zoom 0 -height 14 -aspect bold -font Arial +vdrawtext Text0 " Top-Left\nFirst line \nLion The Second\n 3rd " -pos -700 100 600 -color 0.0 1.0 1.0 -halign left -valign top -angle 000 -zoom 0 -height 14 -aspect bold -font SansFont different fonts in test cases have been used by intention. Please use appropriate replacement for each standard font. |
|
Branch CR24387 has been updated forcibly by isk. SHA-1: 95df8f7a266c3f064f0e18d1b4caa065b50db799 |
2015-08-24 12:18 developer |
DejaVuSansMono.ttf (340,240 bytes) |
2015-08-24 12:18 developer |
DejaVuSerif.ttf (379,740 bytes) |
|
Please test the patch. Notice that: - Attached files should be added to database (if not already). - Screenshots changes are expected, please check visually that there are logically correct. |
|
Dear BugMaster, Branch CR24387 from occt git-repository (and master from products git-repository) was compiled on Linux and Windows platforms and tested. SHA-1: 95df8f7a266c3f064f0e18d1b4caa065b50db799 Number of compiler warnings: occt component: Linux: 15 (15 on master) Windows: 0 (0 on master) products component: Linux: 39 (39 on master) Windows: 0 (0 on master) Regressions/Differences: http://occt-tests/CR24387-master-occt-64/Debian70-64/summary.html http://occt-tests/CR24387-master-occt-64/Windows-64-VC10/summary.html bugs vis bug21091_4, bug21091_5, bug21091_6, bug21091_8, bug25732_1 (Linux only) Testing on Linux: Total MEMORY difference: 90162614 / 91504283 [-1.47%] Total CPU difference: 17661.48999999921 / 17458.66999999893 [+1.16%] Testing on Windows: Total MEMORY difference: 57025130 / 57043316 [-0.03%] Total CPU difference: 16407.607976298998 / 16695.679422899113 [-1.73%] There are differences in images found by testdiff: http://occt-tests/CR24387-master-occt-64/Debian70-64/diff-Debian70-64.html http://occt-tests/CR24387-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html |
|
Branch CR24387 has been updated by isk. SHA-1: 8557069b539e71440d34cce021c2ce4e58998e77 Detailed log of new commits: Author: isk Date: Wed Aug 26 14:14:18 2015 +0300 Fix test case bugs/vis/bug25732_1 |
|
Branch CR24387_1 has been created by isk. SHA-1: db8016a2290e3bc1fc489bbdae96eee5f9206f34 Detailed log of new commits: Author: isk Date: Wed Aug 26 14:51:53 2015 +0300 0024387: Use identical fonts in test cases for AIS dimension presentations. Add a new parameter "-font FontName" to the command "vdimension". |
|
Please test the patch |
|
Branch CR24387_1 has been updated by apv. SHA-1: 8cddfca17a10826b10572d5b62cabe842d833f68 Detailed log of new commits: Author: apv Date: Thu Aug 27 11:57:17 2015 +0300 Tuning of test-cases |
|
Dear BugMaster, Branch CR24387_1 from occt git-repository (and master from products git-repository) was compiled on Linux and Windows platforms and tested. SHA-1: db8016a2290e3bc1fc489bbdae96eee5f9206f34 Number of compiler warnings: occt component: Linux: 15 (15 on master) Windows: 0 (0 on master) products component: Linux: 39 (39 on master) Windows: 0 (0 on master) Regressions/Differences: Not detected Testing cases: Not needed Testing on Linux: Total MEMORY difference: 90446565 / 91596157 [-1.26%] Total CPU difference: 17931.009999999347 / 17715.559999998943 [+1.22%] Testing on Windows: Total MEMORY difference: 57039859 / 57056248 [-0.03%] Total CPU difference: 16462.80113009897 / 16696.724629599114 [-1.40%] There are differences in images found by testdiff: http://occt-tests/CR24387-1-master-occt-64/Debian70-64/diff-Debian70-64.html http://occt-tests/CR24387-1-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html |
|
Branch CR24387 has been deleted by kgv. SHA-1: 8557069b539e71440d34cce021c2ce4e58998e77 |
|
Branch CR24387_1 has been deleted by kgv. SHA-1: 8cddfca17a10826b10572d5b62cabe842d833f68 |
occt: master 6fb1a930 2015-08-27 11:30:44
Committer: |
0024387: Tests - use system-independent fonts in test cases Add a new parameter "-font FontName" to the command "vdimension". Tuning of test-cases |
Affected Issues 0024387 |
|
mod - src/ViewerTest/ViewerTest_RelationCommands.cxx | Diff File | ||
mod - tests/3rdparty/export/A2 | Diff File | ||
mod - tests/3rdparty/export/A3 | Diff File | ||
mod - tests/3rdparty/export/A4 | Diff File | ||
mod - tests/3rdparty/export/A5 | Diff File | ||
mod - tests/3rdparty/export/A6 | Diff File | ||
mod - tests/3rdparty/export/A7 | Diff File | ||
mod - tests/3rdparty/fonts/A2 | Diff File | ||
mod - tests/3rdparty/fonts/A3 | Diff File | ||
mod - tests/3rdparty/fonts/A4 | Diff File | ||
mod - tests/3rdparty/fonts/A5 | Diff File | ||
mod - tests/3rdparty/fonts/A6 | Diff File | ||
mod - tests/3rdparty/fonts/A7 | Diff File | ||
add - tests/3rdparty/fonts/A8 | Diff File | ||
mod - tests/3rdparty/fonts/B1 | Diff File | ||
mod - tests/3rdparty/fonts/B2 | Diff File | ||
mod - tests/3rdparty/fonts/B3 | Diff File | ||
mod - tests/bugs/vis/bug21091_4 | Diff File | ||
mod - tests/bugs/vis/bug21091_5 | Diff File | ||
mod - tests/bugs/vis/bug21091_6 | Diff File | ||
mod - tests/bugs/vis/bug21091_7 | Diff File | ||
mod - tests/bugs/vis/bug21091_8 | Diff File | ||
mod - tests/bugs/vis/bug21091_9 | Diff File | ||
mod - tests/bugs/vis/bug22796_1 | Diff File | ||
mod - tests/bugs/vis/bug22796_3 | Diff File | ||
mod - tests/bugs/vis/bug22879 | Diff File | ||
mod - tests/bugs/vis/bug23652 | Diff File | ||
mod - tests/bugs/vis/bug23654_MarkersRecompute | Diff File | ||
mod - tests/bugs/vis/bug24131_markers | Diff File | ||
mod - tests/bugs/vis/bug24133_1 | Diff File | ||
mod - tests/bugs/vis/bug24133_2 | Diff File | ||
mod - tests/bugs/vis/bug24133_3 | Diff File | ||
mod - tests/bugs/vis/bug24133_4 | Diff File | ||
mod - tests/bugs/vis/bug24288_1 | Diff File | ||
mod - tests/bugs/vis/bug24288_2 | Diff File | ||
mod - tests/bugs/vis/bug24288_3 | Diff File | ||
mod - tests/bugs/vis/bug24293 | Diff File | ||
mod - tests/bugs/vis/bug24351_1 | Diff File | ||
mod - tests/bugs/vis/bug24351_2 | Diff File | ||
mod - tests/bugs/vis/bug24351_3 | Diff File | ||
mod - tests/bugs/vis/bug24351_4 | Diff File | ||
mod - tests/bugs/vis/bug24374 | Diff File | ||
mod - tests/bugs/vis/bug24389 | Diff File | ||
mod - tests/bugs/vis/bug24412_1 | Diff File | ||
mod - tests/bugs/vis/bug24412_2 | Diff File | ||
mod - tests/bugs/vis/bug24555 | Diff File | ||
mod - tests/bugs/vis/bug24837_2 | Diff File | ||
mod - tests/bugs/vis/bug25121 | Diff File | ||
mod - tests/bugs/vis/bug25369 | Diff File | ||
mod - tests/bugs/vis/bug25403 | Diff File | ||
mod - tests/bugs/vis/bug25732_1 | Diff File | ||
mod - tests/bugs/vis/bug25732_2 | Diff File | ||
mod - tests/bugs/vis/bug25783_1 | Diff File | ||
mod - tests/bugs/vis/bug25783_2 | Diff File | ||
mod - tests/bugs/vis/bug26035_1 | Diff File | ||
mod - tests/bugs/vis/bug26035_2 | Diff File | ||
mod - tests/bugs/vis/bug26035_3 | Diff File | ||
mod - tests/bugs/vis/bug26035_4 | Diff File | ||
mod - tests/bugs/vis/bug26035_5 | Diff File | ||
mod - tests/bugs/vis/bug26035_6 | Diff File | ||
mod - tests/bugs/vis/bug26149 | Diff File | ||
mod - tests/demo/draw/bug23745 | Diff File | ||
mod - tests/v3d/raytrace/bug24819 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-11-20 14:15 |
|
New Issue | |
2013-11-20 14:15 |
|
Assigned To | => apl |
2013-11-20 14:15 |
|
Status | new => assigned |
2013-11-20 14:15 |
|
Relationship added | related to 0024386 |
2013-11-20 14:16 |
|
Relationship added | related to 0024293 |
2013-11-20 14:19 |
|
Summary | Use identical fonts in test cases for AIS_Dimension => Use identical fonts in test cases for AIS dimension presentations |
2013-12-12 10:50 |
|
Target Version | 6.7.0 => 6.7.1 |
2014-04-04 18:32 |
|
Target Version | 6.7.1 => 6.8.0 |
2014-09-24 14:59 | kgv | Relationship added | related to 0025235 |
2014-09-25 17:39 |
|
Target Version | 6.8.0 => 7.1.0 |
2015-08-20 14:19 | kgv | Assigned To | apl => isk |
2015-08-20 14:19 | kgv | Target Version | 7.1.0 => 7.0.0 |
2015-08-21 14:06 | git | Note Added: 0044502 | |
2015-08-21 14:07 |
|
File Added: DejaVuSans.ttf | |
2015-08-21 14:36 |
|
Note Added: 0044503 | |
2015-08-21 14:36 |
|
Assigned To | isk => kgv |
2015-08-21 14:36 |
|
Status | assigned => resolved |
2015-08-21 14:36 |
|
Steps to Reproduce Updated | |
2015-08-21 14:42 | kgv | Assigned To | kgv => isk |
2015-08-21 14:42 | kgv | Status | resolved => assigned |
2015-08-21 15:45 | git | Note Added: 0044508 | |
2015-08-24 08:41 |
|
Assigned To | isk => kgv |
2015-08-24 08:41 |
|
Status | assigned => resolved |
2015-08-24 10:38 | kgv | Note Added: 0044530 | |
2015-08-24 10:38 | kgv | Assigned To | kgv => isk |
2015-08-24 10:38 | kgv | Status | resolved => assigned |
2015-08-24 12:09 | git | Note Added: 0044534 | |
2015-08-24 12:18 |
|
File Added: DejaVuSansMono.ttf | |
2015-08-24 12:18 |
|
File Added: DejaVuSerif.ttf | |
2015-08-24 15:06 |
|
Assigned To | isk => kgv |
2015-08-24 15:06 |
|
Status | assigned => resolved |
2015-08-24 15:11 | kgv | Note Added: 0044548 | |
2015-08-24 15:11 | kgv | Assigned To | kgv => bugmaster |
2015-08-24 15:11 | kgv | Status | resolved => reviewed |
2015-08-24 15:47 |
|
Assigned To | bugmaster => apv |
2015-08-24 21:14 | kgv | Category | OCCT:Visualization => OCCT:Tests |
2015-08-24 21:14 | kgv | Summary | Use identical fonts in test cases for AIS dimension presentations => Tests - use system-independent fonts in test cases |
2015-08-26 11:17 |
|
Note Added: 0044642 | |
2015-08-26 11:17 |
|
Assigned To | apv => isk |
2015-08-26 11:17 |
|
Status | reviewed => assigned |
2015-08-26 14:49 | git | Note Added: 0044664 | |
2015-08-26 14:53 | git | Note Added: 0044665 | |
2015-08-26 14:54 |
|
Assigned To | isk => kgv |
2015-08-26 14:54 |
|
Status | assigned => resolved |
2015-08-26 14:54 |
|
Note Added: 0044666 | |
2015-08-26 14:54 |
|
Assigned To | kgv => bugmaster |
2015-08-26 14:54 |
|
Status | resolved => reviewed |
2015-08-26 15:01 |
|
Assigned To | bugmaster => apv |
2015-08-27 11:57 | git | Note Added: 0044710 | |
2015-08-27 12:03 |
|
Note Added: 0044712 | |
2015-08-27 12:03 |
|
Assigned To | apv => bugmaster |
2015-08-27 12:03 |
|
Status | reviewed => tested |
2015-08-27 12:04 |
|
Test case number | => Not needed |
2015-08-28 11:44 |
|
Changeset attached | => occt master 6fb1a930 |
2015-08-28 11:44 |
|
Assigned To | bugmaster => ski |
2015-08-28 11:44 |
|
Status | tested => verified |
2015-08-28 11:44 |
|
Resolution | open => fixed |
2015-10-16 16:08 | git | Note Added: 0046849 | |
2015-10-16 16:37 | git | Note Added: 0046964 | |
2016-04-20 15:44 |
|
Fixed in Version | => 7.0.0 |
2016-04-20 15:48 |
|
Status | verified => closed |