Navigation

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

    General Questions

    • joanca

      Remove points from a script
      scripting points • • joanca  

      1
      0
      Votes
      1
      Posts
      387
      Views

      joanca

      Which is the way to remove points from a script? segment.removePoint(ptindex) is not working (File "lib/fontObjects/robofabWrapper.pyc", line 1413, in removePoint NotImplementedError) Thanks for your help, --jca
    • bas

      Integers
      user interaction contours • • bas  

      2
      0
      Votes
      2
      Posts
      451
      Views

      frederik

      It true that scaling would result in floating coordinates. But I would rather see advantages in keeping the coordinates with floating numbers. If one has a set of transformations the result would be much better if floating numbers are used instead round the coordinates after each step. use glyph.round() Output will always round all coordinates.
    • jo

      LowestRecPPEM always set to 3 ?
      font info afdko • • jo  

      2
      0
      Votes
      2
      Posts
      519
      Views

      frederik

      mmm, have to look into it (could also be an FDK issue)
    • jbl

      Robofont MetricsMachine
      kerning groups • • jbl  

      1
      0
      Votes
      1
      Posts
      465
      Views

      jbl

      Hi there, The groups created in RF are used as "reference groups" in MM, right? Why not directly as 'standard' groups usable for kerning?
    • jo

      Swap layers via hot key
      user interaction layers keyboard shortcuts • • jo  

      2
      0
      Votes
      2
      Posts
      470
      Views

      frederik

      With swap you move the current layer to an other layer. Flipping would also move the layer glyph to the source layer. The action menu in the layer inspector pane will be gone in the next version. but you can still use: g = CurrentGlyph() g.flipLayers("foreground", "background")
    • jo

      Five digit unicode values ?
      space center unicode • • jo  

      2
      0
      Votes
      2
      Posts
      466
      Views

      frederik

      yeah, python and unicode :) In the next release RoboFont will check if an unicode value is bigger than 0x10000 (65536) to open a Space Center.
    • jo

      IsFixedPitch lost
      font generation font info afdko • • jo  

      2
      0
      Votes
      2
      Posts
      487
      Views

      frederik

      An issue with ufo2fdk is being fixed. see http://code.typesupply.com/changeset/1154 This will be embedded in the next version of RoboFont thanks
    • traviskochel

      Margins from Beam
      scripting metrics • • traviskochel  

      3
      0
      Votes
      3
      Posts
      562
      Views

      traviskochel

      Great, that will be very helpful! Thanks!
    • joanca

      Contour.index raises AttributeError
      scripting contours • • joanca  

      3
      0
      Votes
      3
      Posts
      490
      Views

      joanca

      Well, in this case I don't need it (thought shouldn't it work?) I didn't find glyph.removeCountour() in robofab's documentation :[ Thanks!
    • franz

      Creating template glyphs?
      preferences template glyphs • • franz  

      3
      0
      Votes
      3
      Posts
      573
      Views

      franz

      Hi Frederik, generating them with a script would be the option I'm after. Good to hear it's coming! F
    • bas

      Preview layers in Font Collection window
      user interface layers preferences • • bas  

      3
      0
      Votes
      3
      Posts
      559
      Views

      bas

      I was more thinking of a preview hotkey as in the Glyph editor ;-)
    • joanca

      RoboFontError: Glyph not in font
      scripting • • joanca  

      2
      0
      Votes
      2
      Posts
      254
      Views

      frederik

      He This will also not work in robofab :) You can check if a glyphName is in the font: f = CurrentFont() gname = "test" if gname in f: print gname else: # f[gname] not in f print "%s not in %s" % (gname, f) good luck
    • franz

      SOLVED Disable single option of vanilla RadioGroup?
      scripting vanilla • • franz  

      3
      0
      Votes
      3
      Posts
      558
      Views

      franz

      Yes, this is exactly what I need right now! Thanks so much Frederik! Franz
    • franz

      Undo for multiple glyphs/list?
      scripting undo • • franz  

      8
      0
      Votes
      8
      Posts
      993
      Views

      franz

      Ok, convinced :-) It's a floating window now. Just pushed 1.1 to github: http://github.com/franzheidl/SidebearingsEQ
    • bas

      Modifying curves
      user interaction contours • • bas  

      2
      0
      Votes
      2
      Posts
      468
      Views

      frederik

      mm, you can make a subclass of the EditTool and overwrite the modifyDraggingPoint(point, delta) method to ignore 45° and only look for 0° and 90° angles. But not pref settings (yet, will think about it)
    • daifoldes

      Disappearing Images
      user interaction images • • daifoldes  

      4
      0
      Votes
      4
      Posts
      640
      Views

      daifoldes

      Also, both large and small images disappear, as I said, but the smaller the image, the further I have to zoom out to make it reappear. I hope that is a meaningful clue for you.
    • bas

      Short key scripts
      preferences keyboard shortcuts • • bas  

      6
      0
      Votes
      6
      Posts
      870
      Views

      danmilne

      You can also set the keyboard shortcuts through System Prefs > Keyboard > Application Shortcuts. This allows a greater range of keys and modifiers. http://cl.ly/3u05140G2S353P3F1u3e
    • summerour

      Adding A Single Extreme Point
      points • • summerour  

      3
      0
      Votes
      3
      Posts
      713
      Views

      summerour

      when will the next version be released? Robothon?
    • bas

      Subsetting
      opentype features subsetting • • bas  

      4
      0
      Votes
      4
      Posts
      666
      Views

      frederik

      it will remove the glyph name from all groups in font.groups and it will remove the kerning pair of one of two is equal to the removed glyph so when a user removes glyph 'A', it will remove (if those settings are enabled): font.kerning[('A', 'V')] font.kerning[('A', 'myKerningGroups')] font.kerning[('V', 'A')]
    • mathieu-christe

      Space Center: copying the input string along with the control glyphs?
      scripting space center • • mathieu-christe  

      3
      0
      Votes
      3
      Posts
      608
      Views

      mathieu-christe

      Thanks a lot, it does the trick. Note to users: ## print them nicely means with a wordspace between each glyph. For proofing, I need to get rid of the space, so I simply removed it between the quotes: print " ".join(allGlyphs) → print "".join(allGlyphs)