Navigation

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

    General Questions

    • joanca

      Create a font object but not open
      scripting documentation • • joanca  

      6
      0
      Votes
      6
      Posts
      772
      Views

      frederik

      I bundled all documentation on a single html page. http://doc.robofont.com/the-complete-robofont-guide/
    • jo

      Copy font info
      scripting font info • • jo  

      6
      0
      Votes
      6
      Posts
      696
      Views

      jo

      hi frederik I cannot say for sure. I think I changed something in the Name Setting. Either the General Identification fields or the Postscript Identification. I did not change the values with a script this time but "manually". Sorry I cannot provide any better information. jo
    • jo

      AppendBPoint outputs NotImplementedError
      scripting points • • jo  

      3
      0
      Votes
      3
      Posts
      525
      Views

      jo

      hi frederik, that is a great help. segments obviously come along with some points. thanks a lot! jo
    • jmickel

      RF speed / performance
      scripting performance • • jmickel  

      2
      0
      Votes
      2
      Posts
      483
      Views

      frederik

      That will not change much. But in the next version you will be able to open a glyph window for a font that has no UI. from mojo.UI import OpenGlyphWindow, OpenSpaceCenter path = u"path/to/a/font.ufo" f = OpenFont(path, showUI=False) # opens glyphs "a" in a glyph window OpenGlyphWindow(f["a"]) OpenSpaceCenter(f)
    • joanca

      Remove Glyph as alt-delete (robofab?)
      scripting template glyphs • • joanca  

      2
      0
      Votes
      2
      Posts
      467
      Views

      frederik

      The gray template glyph cells are being build up for new UFOs from the character set in the preferences and for existing UFOs the font lib key public.glyphOrder if the lib key is existing. You can alter the data in the lib easily with interaction with the UI by: font = CurrentFont() glyphOrder = font.glyphOrder glyphOrder.remove("a") # test before removing a name if its in the list font.glyphOrder = glyphOrder # done This is sort of what happens when you alt-delete a glyph in the font overview. good luck
    • bas

      Global measurement line
      guidelines measuring • • bas  

      2
      0
      Votes
      2
      Posts
      505
      Views

      frederik

      nope, use guides and enable "Show Measurements"
    • thom

      Glyph has changed
      user interface defcon • • thom  

      5
      0
      Votes
      5
      Posts
      656
      Views

      frederik

      see how defcon is managing his representation factories: RoboFont uses a subclass to build the glyph cells see http://code.typesupply.com/browser/packages/defconAppKit/trunk/Lib/defconAppKit/representationFactories/glyphCellFactory.py use addRepresentationFactory to register a new one see http://code.typesupply.com/browser/packages/defcon/trunk/Lib/defcon/objects/glyph.py#L8 good luck
    • franz

      Build single one-time operation tool/button in glyph window, like RemoveOverlap
      scripting editing tools remove overlap • • franz  

      8
      0
      Votes
      8
      Posts
      1107
      Views

      franz

      For now, I haven't found a way to directly insert my toolbarItem into the toolbar as I couldn't get insertItemWithItemIdentifier:()atIndex:() to work in the context of my script/extension, but probably I'm just being daft here. So currently I read all the items in the glyph window toolbar, add my item, and use vanilla's addToolbar method to replace the toolbar. That's looking good so far, all the previously present items are there, glyph tools work, and my item shows up (not as a button yet, that's lined up next). RemoveOverlap in the replaced toolbar crashes right now when clicked (I guess I'm somehow breaking the delegate or something), but I hope to get that sorted, too.
    • jmickel

      Template Preview Font missing characters
      unicode template glyphs • • jmickel  

      5
      0
      Votes
      5
      Posts
      734
      Views

      frederik

      As mentions in red at the bottom of the preferences if you change the template font: Template glyphs preview font will be applied after a restart.
    • bas

      Add Unicode
      unicode fonttools • • bas  

      5
      0
      Votes
      5
      Posts
      875
      Views

      bas

      Note that this changed in AGLFN 1.7
    • marksimonson

      Glyphs displayed in layer colors in font overview window
      user interface layers • • marksimonson  

      3
      0
      Votes
      3
      Posts
      504
      Views

      frederik

      make the glyph cell smaller :) or see the link Bas posted.
    • joanca

      Can't install robofont shell command
      scripting shell command • • joanca  

      4
      0
      Votes
      4
      Posts
      499
      Views

      frederik

      well spaces in a folder are never a good idea :)
    • thom

      RemoveOverlap error?
      remove overlap • • thom  

      2
      0
      Votes
      2
      Posts
      430
      Views

      frederik

      this is a known issue, and will be solved in the next version. It will not take that long to release the next version :) (if you want to be sure this is fixed you can send the glif file, so I can test it) thanks
    • bas

      Close contour
      user interaction contours • • bas  

      5
      0
      Votes
      5
      Posts
      766
      Views

      bas

      The problem starts of course when there is more than one open contour… But basically I don't care when RF fucks it up in those cases (you do), if it already works with 1 hotkey and 1 open contour it would be an improvement already.
    • daifoldes

      Trouble Generating Font/Test Install
      font generation opentype features test install • • daifoldes  

      5
      0
      Votes
      5
      Posts
      883
      Views

      frederik

      super!
    • thom

      Features update
      scripting opentype features • • thom  

      3
      0
      Votes
      3
      Posts
      541
      Views

      thom

      Yes, this is easier and does exactly what I want! Thanks Frederik!
    • joanca

      RemoveOverlap Error
      remove overlap • • joanca  

      4
      0
      Votes
      4
      Posts
      614
      Views

      frederik

      thanks for the data this should be fixed in the next version
    • mathieu-christe

      Bitmap image background: reimporting from FLS to RoboFont?
      scripting images vfb • • mathieu-christe  

      3
      0
      Votes
      3
      Posts
      639
      Views

      mathieu-christe

      Yo, Thank you for the hint. Although I did some visual overall scaling and shifting in FLS, using a script, once I've found the right settings in RoboFont, I'll manage to reimport all my images. Best
    • tom

      GlyphPreview performance
      extensions observers interpolation • • tom  

      4
      0
      Votes
      4
      Posts
      750
      Views

      tom

      This seems to fix my problem, thanks so much! One more thing, what would be the name of the observer for if a glyph is modified?—so that I can update the preview as you make changes. Is there a list somewhere of all the built in observers? Cheers!
    • yanone

      Custom rotation tool
      scripting editing tools • • yanone  

      2
      0
      Votes
      2
      Posts
      499
      Views

      frederik

      can you elaborate what you want to achieve with the special rotation behavior? you can build a custom tool and draw the selected points yourself: s = 5 ## / scale # in a tool you can get the scale value for x, y in CurrentGlyph().selection: oval(x-s, y-s, s*2, s*2)