Macro Fonts Win10 PYMP/tr

Description
This little macro is dedicate to users of Windows 10. The explorer fonts for use the ShapeString is empty and this little macro can help you see easily the font to use.



Uses
Launch the macro select the font and apply.


 * Text edit : Window for your text
 * Line edit : for visualise your path and file used
 * Combobox : for choice your font
 * : choice the text color
 * : dimension of text in 3D view
 * : create one text with the ShapeString
 * : dimension of text displayed in the window macro
 * : quit Fonts Win10 PYMP
 * : validate your text
 * : other choice path files font
 * : return of the original directory font (system)
 * : display the wiki page in the FreeCAD browser

Configuration
After the first launch, see :


 * switchModeTextList
 * normal (and black) text mode cuts the switchFontComBox
 * permit the switchFontComBox
 * switchFontComBox
 * (and switchModeTextList= ) faster text mode (in color) in ComboBox list
 * (and switchModeTextList= ) list in ComboBox is displayed to fontFamily, slower but more beautiful!
 * setSystemFonts
 * matplotlib.font_manager.findSystemFonts("C:/", "ttf")
 * do all the fonts (in all the folders and sub-folders of the DD) time !!
 * fontman.findSystemFonts(self.pathFont)
 * do all the fonts in the directory (and in all the sub-folders)
 * seTtextAlignement
 * 0 = AlignLeft (default)
 * 1 = AlignCenter
 * 2 = AlignRight
 * setFontByDefault
 * the last font used is saved in this field
 * setLastFontPath
 * the last path used is saved in this field

Script
ToolBar Icon

Macro Fonts Win10 PYMP.FCMacro

Link
The forum TTF Text Font

My macros on mario52a gists

Version
Version = "2.0 Date = 2020/06/06 : Layout adding button and icon

Version = "00.01" Date = "2019/05/10"