frederik

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 531 total)
  • Author
    Posts
  • in reply to: GlyphCollectionView / GlyphCellView #6063

    frederik
    Keymaster

    oh I see:

    try this:

    from lib.UI.fontOverView import DoodleGlyphCollectionView
    
    from vanilla import *
    
    font = CurrentFont()
    
    glyphs = [glyph for glyph in font if glyph.name.startswith("a")]
    
    w = Window((500, 500))
    
    w.c = DoodleGlyphCollectionView((0, 0, -0, -0), 
        listShowColumnTitles=True)
    
    w.c.set(glyphs)
    
    w.open()
    

    the next version will test if there is a headerview (aka column headers in list mode)

    thanks

    in reply to: opening all fonts from a folder #6060

    frederik
    Keymaster

    well AllFonts() just return all fonts with an UI. If you open a font without a UI (with showUI=False) your script knows which fonts you opened. You can store them in a list if you like.

    good luck

    in reply to: Space matrix values body size #6054

    frederik
    Keymaster

    the contentView() has also cellWidth and cellSpacing

    If you change those you will have to change the frame of the view and the size of the split view above

    good luck!

    in reply to: MultiLineView padding #6053

    frederik
    Keymaster

    yeah, you can use the same hack

    glyphPreview.getNSView()._buffer = 40
    glyphPreview.getNSView().refresh()
    

    Ive added a better and friendlier API on my todo list :)

    in reply to: opening all fonts from a folder #6052

    frederik
    Keymaster

    you can use something like this

    from lib.tools.misc import walkDirectoryForFile
    
    root = "/my/Fonts/Folder"
    for path in walkDirectoryForFile(root, ".ufo"):
        OpenFont(path)
    
    in reply to: Space matrix values body size #6046

    frederik
    Keymaster

    Hi

    you mean change the point size of the text used to display the matrix view?

    from AppKit import *
    from mojo.UI import CurrentSpaceCenter
    
    
    sp = CurrentSpaceCenter()
    
    font = NSFont.systemFontOfSize_(20)
    
    sp.inputScrollView.contentView().attributes[NSFontAttributeName] = font
    # tiny hack
    sp.inputScrollView.contentView()._input.setFont_(font)
    

    but don’t expect this will look nicer :)

    in reply to: MultiLineView padding #6045

    frederik
    Keymaster

    He Nina

    you could hack around it…. (maybe I have to implement a friendly way :)

    glyphLineView.contentView()._buffer = 20 # default is 15
    glyphLineView.contentView().refresh()
    
    in reply to: Save MultiLineView to PDF #6044

    frederik
    Keymaster

    He Nina

    you can make a pdf from any “view” with:

    view = glyphLineView.getNSScrollView().contentView()
    frame = view.frame()
    pdfData = view.dataWithPDFInsideRect_(frame)
    pdfData.writeToFile_atomically_(path, True)
    

    good luck!

    in reply to: Autosave #6040

    frederik
    Keymaster

    I re-looked at your topic after a tweet https://twitter.com/arialcrime/status/537553252783759360

    And if I remembered it correctly it wasn’t an issue when I tested on 10.7 but now I see the issue
    This will be resolved in the next update

    thanks

    in reply to: anchors #6034

    frederik
    Keymaster

    there is no native support to build accents ‘magically’

    you can still use robofab as the example above

    or write a small glyph construction string when adding a glyph

    adieresis=a+dieresis@top

    see http://doc.robofont.com/documentation/workspace/font-collection/adding-and-deleting-glyphs/

    in reply to: Yosemite update causes RoboFont not to load #6033

    frederik
    Keymaster

    Hi

    please update to the latest version of RoboFont, it helps :)

    see
    http://doc.robofont.com/download/
    http://doc.robofont.com/version-history/

    thanks

    in reply to: setColorForLayer arguments #6029

    frederik
    Keymaster

    Hi Jo

    good catch, will be solved in the next update…

    in reply to: [1.6] Font to Font comparison not working correctly #6028

    frederik
    Keymaster

    He Jens

    This was already posted on the beta list and solved in the developers beta.
    An update will be released soon…


    frederik
    Keymaster

    He Jens

    can you send me the ufo? I cannot reproduce it…
    you can also try to launch RoboFont 1.6 with shift down, it will launch without installing any extension.

    good luck!

    in reply to: extension ordering options #6017

    frederik
    Keymaster

    this seems to the case :)

    will be fixed in the next update

Viewing 15 posts - 76 through 90 (of 531 total)