Navigation

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

    General Questions

    • StephenNixon

      SOLVED Can I open the Output Window from a script? What about from a remote script? (I'm so close!)
      • StephenNixon  

      3
      0
      Votes
      3
      Posts
      197
      Views

      StephenNixon

      @ThunderNixon said in Can I open the Output Window from a script? What about from a remote script? (I'm so close!): from mojo.UI import OutputWindow I'm nearly positive that I tried that, and it didn't work, so I threw in the open() to see whether it made a difference. The good news is, it's working now, so either I hit a temporary bug, or I formulated a false memory in my head. If OutputWindow().show() fails in the future, I'll loop back on this. Thank you!
    • StephenNixon

      UNSOLVED How might I remove overlap in contours without erasing points along path?
      contours interpolation remove overlap • • StephenNixon  

      3
      0
      Votes
      3
      Posts
      251
      Views

      StephenNixon

      Thanks for weighing in! Just to be clear, I'm not necessarily expecting things to stay magically compatible – I only am looking for a way to remove overlaps, but leave any points intact that are on the exterior of that combined shape. I think you understood my meaning already, but my initial image was pretty ambiguous, so this shows my general hope better: So, it sounds like the way the Remove Overlap functionality works, it's not that these points are removed as an extra step, but rather that their removal is a core part of the function? And there's no way to "turn that off"? As a simple temporary solution, I have found that I can at least have a visual of missing points by duplicating the glyph to an "overlap" layer, then turning that layer's visibility on. You could run a pre-overlap code getting points that are going to be removed... and add them back in a post-overlap script Is there some kind of accessible list of points to be removed (that doesn't seem very likely), or would I have to find a way to loop through points, and mathematically determine if they're on a straight path?
    • andreas

      SOLVED Anchors
      components glyph construction accented glyphs anchors • • andreas  

      5
      0
      Votes
      5
      Posts
      820
      Views

      gferreira

      hi @jhera, there are multiple ways to build accented glyphs in RoboFont. these are described here: Building accented glyphs have you tried using the Glyph Construction extension? in 2019 you don’t really need anchors to position diacritics anymore :) you can still use them (with or without underscore), but you can also use guidelines, variables, vertical metrics attributes, reference positions, etc. have a look at the docs & give it a try!
    • connor

      SOLVED Color List
      vanilla colors • • connor  

      4
      0
      Votes
      4
      Posts
      277
      Views

      gferreira

      @connor happy to help. thank you & everyone else for asking questions, I’m learning a lot too!
    • RafaŁ Buchner

      SOLVED is there a way to convert defcon glyph object to RGlyph?
      scripting fontparts defcon mojo.ui • • RafaŁ Buchner  

      2
      0
      Votes
      2
      Posts
      228
      Views

      gferreira

      hi Rafał, I’ve been there too :) you can wrap an RGlyph around a defcon glyph, like this: for glyphWindow in AllGlyphWindows(): # get RGlyph from defcon glyph g = RGlyph(glyphWindow.getGlyph()) # do stuff using the FontParts API print(g[0].points) succes!
    • RafaŁ Buchner

      SOLVED fontDidClose observer – how to get RFont object, that has been closed?
      observers • • RafaŁ Buchner  

      2
      0
      Votes
      2
      Posts
      205
      Views

      gferreira

      yes, to get the closing font use fontWillClose – which is called before closing the font. (fontDidClose does not return a font because the font has just been closed :)
    • StephenNixon

      SOLVED Can I set os/2 font info (or other OpenType info) in script?
      font info ufo3 • • StephenNixon  

      7
      2
      Votes
      7
      Posts
      371
      Views

      connor

      @ThunderNixon aw:) 💅
    • RafaŁ Buchner

      SOLVED how to make vanilla.Window not disappear
      user interface vanilla • • RafaŁ Buchner  

      4
      0
      Votes
      4
      Posts
      353
      Views

      RafaŁ Buchner

      @gferreira said in how to make vanilla.Window not disappear: self.w.getNSWindow().setHidesOnDeactivate_(False) Thanks Gustavo!!! That is exacly what I needed
    • anya

      SOLVED How to make StatusInteractivePopUpWindow active by default
      user interaction vanilla mojo.ui • • anya  

      3
      0
      Votes
      3
      Posts
      340
      Views

      anya

      Thank you so much, Gustavo!
    • RafaŁ Buchner

      SOLVED Tracking when/which font is being assigned to the mojo.roboFont.CurrentFont()
      observers events • • RafaŁ Buchner  

      3
      0
      Votes
      3
      Posts
      285
      Views

      RafaŁ Buchner

      Damn, I was looking for it whole day(forgot what is the name of this extension) Thanks!
    • bahman

      SOLVED Glyph window became active/inactive event
      user interaction observers events • • bahman  

      3
      0
      Votes
      3
      Posts
      291
      Views

      bahman

      @gferreira Thank you Gustavo. I had no idea those notifications are also for the glyph window focus. Great!
    • StephenNixon

      SOLVED Shortcut to set start point? Script to set start point?
      scripting selection • • StephenNixon  

      7
      0
      Votes
      7
      Posts
      482
      Views

      StephenNixon

      @gferreira Amazing, thanks! Hmm, I was only aware of the even/odd use case. This is cool!
    • martin

      UNSOLVED Actual length of a contour
      contours • • martin  

      4
      0
      Votes
      4
      Posts
      268
      Views

      frankrolf

      This should help: https://github.com/fonttools/fonttools/blob/master/Lib/fontTools/misc/bezierTools.py
    • RafaŁ Buchner

      UNSOLVED Tracking “resize” event for current glyph window?
      scripting vanilla events mojo.ui • • RafaŁ Buchner  

      2
      0
      Votes
      2
      Posts
      304
      Views

      frederik

      this brings a very old issue back... https://github.com/robotools/vanilla/blob/master/Lib/vanilla/vanillaWindows.py#L465-L466 follow up here
    • ryan

      SOLVED Ability to customize existing Inspector
      user interface inspector • • ryan  

      8
      0
      Votes
      8
      Posts
      585
      Views

      ryan

      @frederik Thank you very much!
    • Colo-in-NYC

      SOLVED Will RoboFont by 64 bit ready?
      • Colo-in-NYC  

      5
      0
      Votes
      5
      Posts
      402
      Views

      Colo-in-NYC

      Thank you!
    • colinmford

      SOLVED Best way to get a bPoint given an identifier?
      points fontparts identifiers • • colinmford  

      3
      0
      Votes
      3
      Posts
      323
      Views

      colinmford

      Really substantive answer, @gferreira! Thanks!
    • timotimo

      UNSOLVED default .ufo and .py
      observers • • timotimo  

      5
      0
      Votes
      5
      Posts
      448
      Views

      timotimo

      Yes, it's very handy. It would be handy also in the scripting window. :) Thanks!
    • RafaŁ Buchner

      SOLVED Custom auto unicodes?
      unicode glyph names • • RafaŁ Buchner  

      7
      0
      Votes
      7
      Posts
      526
      Views

      RafaŁ Buchner

      Thanks! That is the exactly what I was looking for
    • ryan

      SOLVED Mojo UI questions
      user interface user interaction mojo • • ryan  

      3
      0
      Votes
      3
      Posts
      417
      Views

      ryan

      Thanks for the response, @frederik. Looking forward to playing with these things in the beta!