mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX: occt font encoding
Change-Id: Ief4fc0ced20f386b85bb0963c5953954a85df9e0 (cherry picked from commit 50b10de0b1261272208c6676e9ca1c917c4707b1)
This commit is contained in:
		
							parent
							
								
									f3b4618932
								
							
						
					
					
						commit
						5f2a537f14
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -78,7 +78,7 @@ std::vector<std::string> init_occt_fonts() | |||
|         Handle(Font_SystemFont) sys_font = aFontMgr->GetFont(afn->ToCString()); | ||||
|         TCollection_AsciiString font_path = sys_font->FontPath(Font_FontAspect::Font_FontAspect_Regular); | ||||
|         if (!font_path.IsEmpty()) { | ||||
|             g_occt_fonts_maps.insert(std::make_pair(afn->ToCString(), font_path.ToCString())); | ||||
|             g_occt_fonts_maps.insert(std::make_pair(afn->ToCString(), decode_path(font_path.ToCString()))); | ||||
|             stdFontNames.push_back(afn->ToCString()); | ||||
|         } | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo