Default font to Sans from osifont

This commit is contained in:
WandererFan
2016-06-28 09:40:03 -04:00
committed by wmayer
parent 35e833f7cd
commit 82c86b24af
6 changed files with 5 additions and 11 deletions

View File

@@ -60,7 +60,7 @@ DrawViewAnnotation::DrawViewAnnotation(void)
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw");
std::string fontName = hGrp->GetASCII("LabelFont", "osifont");
std::string fontName = hGrp->GetASCII("LabelFont", "Sans");
ADD_PROPERTY_TYPE(Text ,("Default Text"),vgroup,App::Prop_None,"The text to be displayed");
ADD_PROPERTY_TYPE(Font ,(fontName.c_str()),vgroup,App::Prop_None, "The name of the font to use");