From: nds Date: Fri, 25 Dec 2015 07:26:28 +0000 (+0300) Subject: Issue #1171 parameter value for dimension constarint - sigma sign is not shown in... X-Git-Tag: V_2.1.0~52 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d09efb6a74f75414b47e4996bd517e35d61b2c64;p=modules%2Fshaper.git Issue #1171 parameter value for dimension constarint - sigma sign is not shown in viewer If the problem is returned back, try to use Font_FontMgr::RegisterFont and has the font for the symbol in sources. The problem is reproduced on Debian Linux station. --- diff --git a/src/SketcherPrs/SketcherPrs_LengthDimension.cpp b/src/SketcherPrs/SketcherPrs_LengthDimension.cpp index 1fb02c194..f70de41f5 100644 --- a/src/SketcherPrs/SketcherPrs_LengthDimension.cpp +++ b/src/SketcherPrs/SketcherPrs_LengthDimension.cpp @@ -30,6 +30,8 @@ static const gp_Pnt MyDefStart(0,0,0); static const gp_Pnt MyDefEnd(1,0,0); static const gp_Pln MyDefPln(gp_Pnt(0,0,0), gp_Dir(0,0,1)); +// it is not possible to use 0x2211 as summ symbol because it is not supported by +// debian Linux platform static const Standard_ExtCharacter MySummSymbol(0x03A3); IMPLEMENT_STANDARD_HANDLE(SketcherPrs_LengthDimension, AIS_LengthDimension);