frederik

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 531 total)
  • Author
    Posts
  • in reply to: Remove hinting in an ufo? #6211

    frederik
    Keymaster

    you can remove those lib keys from the glyph lib:

    com.fontlab.v2.tth
    com.fontlab.ttprogram
    

    be careful, the data will be lost. Converting the ufo back to vfb will not be able to restore the removed hinting data.

    in reply to: Remove hinting in an ufo? #6208

    frederik
    Keymaster

    He

    Im not sure what you mean by hinting inside a ufo file?

    there is some hinting data stored in the font.lib and glyph.lib by vfb2ufo

    RoboFont doesnt show postscript hints and is not using that data to compile a binary…

    in reply to: Vanilla object and drawing in TinyDrawbot #6207

    frederik
    Keymaster

    oh, here is an example, it is required to install the drawBot extension, get it here: https://github.com/typemytype/drawBotRoboFontExtension

    import drawBot
    from drawBot.ui.drawView import DrawView
    
    from vanilla import *
    
    class Test(object):
        
        def __init__(self):
            
            self.w = Window((400, 400), minSize=(200, 200))
            
            self.w.s = Slider((10, 10, -10, 22), minValue=10, maxValue=100, value=50, callback=self.sliderCallback)
            self.w.c = DrawView((10, 40, -10, -10))
            
            self.w.open()
    
        def sliderCallback(self, sender):
            value = sender.get()
            # start a new drawing
            drawBot.newDrawing()
            # add a page
            drawBot.newPage(100, 100)
            # draw something
            drawBot.rect(10, 10, value, value)
            # get the pdf data
            pdf = drawBot.pdfImage()
            # set the pdf data in the canvas
            self.w.c.setPDFDocument(pdf)
    
    Test()
    

    good luck!

    in reply to: Certain Kerning groups not exporting #6205

    frederik
    Keymaster

    Hi Andrew

    you added those kerning values inside RoboFont, with the Kern Center?
    You created the groups?

    I cannot reproduce this issue, could you send me a erroneous ufo file?

    in reply to: Vanilla object and drawing in TinyDrawbot #6204

    frederik
    Keymaster

    Hi Roberto

    In your example you don’t have a canvas object that is able to show drawing callbacks.

    Please see the example http://doc.robofont.com/api/mojo/mojo-canvas/

    The slider just tells the canvas object to redraw itself. While getting a draw callback some drawBot methods are called to draw something into the canvas

    hope this helps

    good luck!

    in reply to: batch generating error #6198

    frederik
    Keymaster

    This is an know issue and already solved in the closed-beta.

    thanks

    in reply to: Modal dialogs and El Capitan #6196

    frederik
    Keymaster

    oh, I guess changes in the os…

    It seems this opens the window after the script is done.
    Pretty annoying

    from vanilla import *
    import time
    
    w = Window((250, 70))
    w.p = ProgressBar((10, 10, -10, 22), maxValue=20)
    w.p.start()
    
    w.open()
    
    
    for i in range(20):
        time.sleep(.05)
        w.p.increment()
    

    frederik
    Keymaster

    This is solved in the current beta….

    I could send you a beta version to test it out, if you wish
    please contact me by mail

    thanks

    in reply to: Error when saving any ufo #6186

    frederik
    Keymaster

    This is been solved already in the beta of the upcoming 1.7 release

    I would not recommend to fiddle around in the zipped site packages (fe: the code signing will be broken)

    in reply to: Error when saving any ufo #6184

    frederik
    Keymaster

    can you send me a personal email? I guess this fixed in the upcoming release, where a newer fontTools is embedded. The xmlWriter packages has been moved around several times (not so nice) but this is resolved (see https://github.com/behdad/fonttools/issues/190)

    thanks

    in reply to: Error when saving any ufo #6182

    frederik
    Keymaster

    Hi

    What concerns me a little bit is the different path to the xmlWriter, why it using an other one then the one embedded in RoboFont?
    Did you install something specific? or changed some files in the package?

    FontTools is embedded in RoboFont and I would not advice to use an other version, as many things changed between versions of FontTools…
    The same goes for roboFab and ufo2fdk, both packages are embedded in RoboFont.

    You can install those packages if you need them outside RoboFont but internally I would not change the content of any package.

    how did you install ufo2otf? from inside RoboFont or did you use terminal?

    in reply to: Is it possible to sort the tools in Toolbar? #6176

    frederik
    Keymaster

    Hi Bernardo

    you can order the tools in a glyph window

    see https://github.com/typemytype/RoboFontExamples/blob/master/UI/toolOrderer.py

    FYI: this example script moved to the preferences window in the upcoming 1.7 release

    in reply to: Exception raise during font generation #6173

    frederik
    Keymaster

    Im aware of that option and this will be implemented, but still there is something wrong with the provided date to the binary ttf compiler…

    in reply to: Exception raise during font generation #6171

    frederik
    Keymaster

    weird, shutil.rmtree must be able to remove a directory that is not empty.

    but the file size is zero of that compile.otf file

    I guess something went wrong while generating, you can print out font.generate(...) to see what or where it failed

    good luck!

    in reply to: Override a default shortcut #6170

    frederik
    Keymaster

    if you want to receive those notifications, just add this .py file to the start up scripts in your preferences. This doesn’t effect performance, unless to your part of the code, what is been executed when the notification is been send, takes a while.

Viewing 15 posts - 31 through 45 (of 531 total)