Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Solved
    • Unsolved
    1. Home
    2. Categories
    3. General Questions
    Log in to post

    General Questions

    • thom

      G.copy
      scripting components • • thom  

      5
      0
      Votes
      5
      Posts
      716
      Views

      thom

      Great, this works! Thanks!
    • thom

      ShowUI
      scripting • • thom  

      3
      0
      Votes
      3
      Posts
      398
      Views

      thom

      Great! Thanks for the quick response Frederik.
    • A Former User

      Layer access
      scripting layers • • A Former User  

      3
      0
      Votes
      3
      Posts
      547
      Views

      A Former User

      Thanks for your reply.
    • franz

      Catching key events in extension window
      extensions observers • • franz  

      3
      0
      Votes
      3
      Posts
      623
      Views

      franz

      Hi Frederik, Ouch, I will see if I can get this to work, may thanks!
    • nina

      Component Preview Outline
      user interface components • • nina  

      3
      0
      Votes
      3
      Posts
      547
      Views

      nina

      Sorry I didn’t reply earlier. I really like the new configuration! Will gladly wait for the implementation. The white outlines are maybe a bit too disturbing for some use cases.
    • jo

      Remove kerning pair
      scripting kerning • • jo  

      6
      0
      Votes
      6
      Posts
      886
      Views

      jo

      hello jens, thanks for your help. in fact your example is what "happened" in my case. I did some very quick kerning without groups. Later on I replaced the single letters of the pairs with groups through a script. I also wanted to remove the original pair but the zero value was "overwriting" the group value. so i guess it could work with kerning update etc but the "del" way worked just fine. cheers, jo
    • jo

      Help please with keyDown Observer
      user interaction observers • • jo  

      3
      0
      Votes
      3
      Posts
      616
      Views

      jo

      hey frederik, I was sooo close … Thanks a lot for your help, working perfectly now. jo
    • joanca

      Extension vs. just a script
      extensions • • joanca  

      2
      0
      Votes
      2
      Posts
      403
      Views

      frederik

      There is no difference between just executing a script or an extension. In some cases an extension is easier when the tool or added functionality gets bigger (with embedded modules) and when there are assets (like icons). Extensions have a info.plist which is handy to share, check versions and fe Mechanic is using that to download the correct packages from github... Otherwise you can also set start up scripts in the prefs. Those gets executed during start up. good luck!
    • nina

      Auto resize Window according to AccordionView size/state?
      user interaction accordion view • • nina  

      3
      0
      Votes
      3
      Posts
      639
      Views

      nina

      Hmm, thank you. At least now I know what event I’m looking for :)
    • thom

      Executing RoboFont scripts with an other RoboFont script
      scripting • • thom  

      2
      0
      Votes
      2
      Posts
      317
      Views

      frederik

      He Thom use in your "external" scripts from robofab.world import CurrentFont or from mojo.roboFont import CurrentFont Those global variables (CurrentFont, CurrentGlyph, …) are injected in the main script automatically. good luck!
    • jack_jennings

      SOLVED Font Collection Custom Tool
      scripting user interface observers vanilla mojo • • jack_jennings  

      8
      0
      Votes
      8
      Posts
      1176
      Views

      frederik

      He I've written a proper vanilla patch which is already in the vanilla repo. This will be in the next update of RoboFont. It adds addToolBarItem and removeToolbarItem to a vanilla window object, able to manage toolbar items properly. see https://github.com/typesupply/vanilla/blob/master/Lib/vanilla/vanillaWindows.py#L631
    • fortress

      SOLVED Multiple Unicode
      scripting unicode • • fortress  

      3
      0
      Votes
      3
      Posts
      652
      Views

      fortress

      Perfect! Thank you, that's exactly what I was looking for.
    • ian

      Kerning Questions
      kerning accented glyphs • • ian  

      5
      0
      Votes
      5
      Posts
      810
      Views

      frederik

      He Ian Try to add a kerning pair with the + button at the bottom. All your kerning groups, starting with a @ will be listed in the combo box see http://doc.robofont.com/documentation/workspace/metrics/kern-center/ good luck!
    • jo

      Copy glyph with layers
      user interface layers • • jo  

      2
      0
      Votes
      2
      Posts
      479
      Views

      frederik

      Hi no that is not intended :) a bug in pasting glyph objects with all layer content thanks for reporting, will be solved in the next update
    • jo

      Component transformations
      user interface components • • jo  

      2
      0
      Votes
      2
      Posts
      443
      Views

      frederik

      oh, nice little bug, will be solved in the next update. It fails when ever you add a floating number which is not nice for transformations. thanks
    • qkeave

      Add an anchor
      scripting guidelines anchors • • qkeave  

      14
      0
      Votes
      14
      Posts
      1635
      Views

      qkeave

      Thanks!
    • qkeave

      Checking for component objects.
      scripting components • • qkeave  

      4
      0
      Votes
      4
      Posts
      625
      Views

      qkeave

      Thank u Jens!
    • frederik

      Will there ever be a RoboFont Mini?
      • frederik  

      1
      0
      Votes
      1
      Posts
      335
      Views

      frederik

      No, never :) But you can always use RoboFab or defcon to create and modify UFOs!
    • bahman

      Retain glyph order after renaming glyphs
      scripting glyph names glyph order • • bahman  

      7
      0
      Votes
      7
      Posts
      952
      Views

      frederik

      You can drag and drop a glyph selection to change the order. The drag starts after 0.4 of a sec, to prevent accidentally reordering of glyphs. You can also set a glyph order with a script: font = CurrentFont() # this is a list of glyph names font.glyphOrder = ["a", "agrave", "b", "c"] if you changed the glyph order (manually or script) the sorting is disabled. There is no glyph index in the UFO data, but each glyph has an glyph.index returning the index related to the glyph order. Please take note that the glyph order in the final font can be different if you don't added .notdef or enabled "Use MacRoman as the start of the glyph order" while compiling. Adding or removing glyphs will always alter the glyph order. It is depending on your settings where new glyphs would be added (at the end or somewhere in a sorted position) Good luck
    • bahman

      SOLVED Converting ttf splines to otf splines
      scripting contours truetype • • bahman  

      3
      0
      Votes
      3
      Posts
      653
      Views

      bahman

      Thanks, that did it! :)