Forum Replies Created
- 
		AuthorPosts
- 
		
			
				
OK I found my way reading the sources of defconAppKit: https://github.com/typesupply/defconAppKit/blob/master/Lib/defconAppKit/windows/progressWindow.py self.progress.setTickCount(len(extrasDict.keys())) 
 for i in extrasDict.keys():
 self.progress.update()thanks for your help Frederik :) great thanks ! 
 is there a doc for BaseWindowController ? the .startProgress for example?
 I would like to use a determinate progress bar…cool, thanks for that :) 
 As I said to Frederik earlier, there is a lack of documentation at one place for all that…Yes I noticed that one, with the ‘l’ hot key, it’s pretty cool. But it works only at the glyph level, and I wanted to work at the font level (all glyphs) and between two separate UFOs. I’ve placed the full code of my script there: 
 https://github.com/sansplomb/RobofontTools/tree/master/AssignFontLayerOK, issue solved with 2 flipLayers(): targetLayer.clearContours() gT.flipLayers("foreground", self.layerName) targetFont[gT.name] = gS.copy() gT.flipLayers("foreground", self.layerName)it works Ok I’m sorry for this post, I found the way with clearContour()g = CurrentGlyph() mask = g.getLayer("mask") mask.prepareUndo() g.prepareUndo() mask.clearContours() mask.update()I actually found the solution by myself with robofab insertSegment method… 
 In case anyone is interested it is available here: https://github.com/sansplomb/RobofontTools/tree/master/ConvertSegments
- 
		AuthorPosts