Navigation

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

    General Questions

    • 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)
    • 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
    • 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
    • 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
    • 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 ;-)
    • 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
    • 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!
    • traviskochel

      Margins from Beam
      scripting metrics • • traviskochel  

      3
      0
      Votes
      3
      Posts
      556
      Views

      traviskochel

      Great, that will be very helpful! Thanks!
    • 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
    • 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

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

      2
      0
      Votes
      2
      Posts
      469
      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")
    • 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

      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)
    • 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.
    • joanca

      Remove points from a script
      scripting points • • joanca  

      1
      0
      Votes
      1
      Posts
      385
      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
    • 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)
    • tom

      GlyphPreview performance
      extensions observers interpolation • • tom  

      4
      0
      Votes
      4
      Posts
      747
      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!
    • mathieu-christe

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

      3
      0
      Votes
      3
      Posts
      638
      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
    • 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
    • thom

      Features update
      scripting opentype features • • thom  

      3
      0
      Votes
      3
      Posts
      540
      Views

      thom

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