From d09efb6a74f75414b47e4996bd517e35d61b2c64 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 25 Dec 2015 10:26:28 +0300 Subject: [PATCH] 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. --- src/SketcherPrs/SketcherPrs_LengthDimension.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2