Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Solved
    • Unsolved
    1. Home
    2. Recent
    Log in to post
    • All categories
    • Announcements
    • General Questions
    • Feature Requests
    • Problems & Bugs
    • Extensions
    • Documentation
    • Tools Corner
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • Graeme

      Repeated Error Using Scalefast
      Problems & Bugs • • Graeme  

      5
      0
      Votes
      5
      Posts
      18
      Views

      frederik

      python 2 is not an option :) RF 3+ is build with python 3. The bug has to be solved in the repository... and you have to fix your interpolation error in your drawing anyhow :)
    • Matt Severin

      SOLVED All Bitmap Font
      General Questions • • Matt Severin  

      2
      0
      Votes
      2
      Posts
      16
      Views

      frederik

      he Matt It is possible to import an image into a glyph. The image will be visible when you make the font overview cell bigger (see the slider at the bottom) RF does not generate color fonts. There are already some extensions generating color fonts like RoboChrome. However RoboChrome does not build SIBX table from glyph image data. Here is a small script that does generate a .ttf and adds all images in a SBIX table. hope this helps: import os from fontTools.ttLib import TTFont from fontTools.ttLib.tables._s_b_i_x import table__s_b_i_x from fontTools.ttLib.tables.sbixStrike import Strike from fontTools.ttLib.tables.sbixGlyph import Glyph as sbixGlyph from lib.tools.misc import tiff2png import AppKit bitmapSizes = [1000] font = CurrentFont() def getImageData(image): x, y, maxx, maxy = image.bounds w = maxx - x h = maxy - y ciImage, imageRect = glyph.image.getRepresentation("doodle.CIImageFiltered") alpha = 1 if image.color: alpha = image.color.alpha im = AppKit.NSImage.alloc().initWithSize_((w, h)) im.lockFocus() t = AppKit.NSAffineTransform.alloc().init() t.setTransformStruct_(image.transformation) t.concat() ciImage.drawAtPoint_fromRect_operation_fraction_((-x, -y), imageRect, AppKit.NSCompositeSourceOver, alpha) im.unlockFocus() return tiff2png(im.TIFFRepresentation()) if font is not None: ttfpath = os.path.join(os.path.dirname(__file__), f"{font.info.familyName}-{font.info.styleName}.ttf") font.generate(format="ttf", path=ttfpath) ft = TTFont(ttfpath) sbix = table__s_b_i_x("sbix") for ppem in sorted(bitmapSizes): currentStrike = Strike(ppem=ppem) for glyph in font: if glyph.image: imageData = getImageData(glyph.image) originOffsetX, originOffsetY = glyph.image.offset currentStrike.glyphs[glyph.name] = sbixGlyph( glyphName=glyph.name, graphicType="png", originOffsetX=int(round(originOffsetX)), originOffsetY=int(round(originOffsetY)), imageData=imageData ) sbix.strikes[ppem] = currentStrike ft["sbix"] = sbix ft.save(ttfpath) ft.close()
    • martin

      SOLVED Rounding UFO
      Extensions • • martin  

      2
      0
      Votes
      2
      Posts
      28
      Views

      frederik

      The latest beta of RoundingUFO should work (the app will not be notarised) The plan is to convert RoundingUFO to an extension.
    • ArrowType

      UNSOLVED Mechanic 2 crashes RF4 on launch if I check for extension updates
      Problems & Bugs • • ArrowType  

      2
      0
      Votes
      2
      Posts
      23
      Views

      frederik

      He Stephen, this is a know issue, Antonio Cavedoni is looking into this, he wrote part of the async url reader.
    • GregThompson

      SOLVED Unicode block ranges vs Adobe Latin character sets vs RF Font Info Sheet OS/2 Table
      Documentation • • GregThompson  

      3
      0
      Votes
      3
      Posts
      20
      Views

      GregThompson

      thank you
    • Léna LP

      UNSOLVED RF4 glyphs order mixed (batch variable generated)
      Problems & Bugs • • Léna LP  

      3
      0
      Votes
      3
      Posts
      24
      Views

      Léna LP

      Oh ok! Thank you very much!
    • ryan

      Smart close contour if two open points are within selection
      Feature Requests • selection contour • • ryan  

      2
      1
      Votes
      2
      Posts
      22
      Views

      frederik

      when hitting the join contours short cut or the contextual menu item the selected point list could ignore non start/end points.. this could be convenient thanks
    • GregThompson

      UNSOLVED Adjust Anchors extension crashed RF4
      Extensions • • GregThompson  

      4
      0
      Votes
      4
      Posts
      20
      Views

      frederik

      I would fix that first... do you know how you ended up with circular components? This should not be possible in RF, fontParts and defcon...
    • timotimo

      UNSOLVED Generating variable fonts, outlines mixed up.
      Extensions • • timotimo  

      8
      0
      Votes
      8
      Posts
      60
      Views

      frederik

      a workaround is already made (will be present in the next RF beta and the upcoming RF4.1) the core of the issue is an FDK bug see https://github.com/adobe-type-tools/afdko/issues/1168
    • nowell

      SOLVED Unique font ID or temp data
      Tools Corner • • nowell  

      8
      0
      Votes
      8
      Posts
      36
      Views

      frederik

      sure <fontPartsObject>.naked() still exists only the latest has .asDefcon() and .asFontParts() which is just a lot more readable
    • jack

      SOLVED RF3 > RF4 Discount Code
      General Questions • • jack  

      7
      0
      Votes
      7
      Posts
      45
      Views

      jack

      Thanks @frederik! Saw it come through the other day 🙌🏼
    • ArrowType

      Some difficulties/glitches with drawing in RF4 (which might partly be due to extensions)
      Problems & Bugs • • ArrowType  

      10
      0
      Votes
      10
      Posts
      61
      Views

      frederik

      The guideline.identifier issue on undo/cut/paste is a different problem :(. Something that is using subscriber is doing something wrong. Im looking at your Eyeliner extension and aside from the scale vs merz symbols, I would not change that much. My biggest guess is that you have multiple versions of your subscriber instances open, those are receiving a callback on Glyph.Changed but the internal dict has already changed or cleaned up. While developing its recommended to set the debug flag to True in your class.
    • nowell

      SOLVED Broken links in documentation
      Problems & Bugs • • nowell  

      3
      0
      Votes
      3
      Posts
      14
      Views

      frederik

      all links are fixed
    • Kris

      Metrics Machine Spreadsheet view in RF4 broken?
      Extensions • • Kris  

      2
      0
      Votes
      2
      Posts
      25
      Views

      frederik

      oh thanks! that is indeed gone... see https://developer.apple.com/documentation/appkit/nsclipview/1532142-copiesonscroll?language=objc
    • naorem

      SOLVED RF3 to RF4 Upgrade with discount
      General Questions • • naorem  

      6
      0
      Votes
      6
      Posts
      42
      Views

      naorem

      @frederik Thank you! Looking forward.
    • Colo-in-NYC

      SOLVED RF3 to RF4 discount + RF3 license invalidated
      General Questions • • Colo-in-NYC  

      4
      0
      Votes
      4
      Posts
      20
      Views

      Colo-in-NYC

      All sorted now, thank you.
    • Colo-in-NYC

      SOLVED Cursor coordinates in RF4
      Feature Requests • • Colo-in-NYC  

      3
      0
      Votes
      3
      Posts
      18
      Views

      Colo-in-NYC

      Ah yes, that seems to be the case. The "Show Mouse Coordinates" extension from David Jonathan Ross is no longer functioning, even after an uninstall, reinstall. I'm assuming that there is nothing we can do on the user level to fix, and have to hope that the extension developer will address it.
    • GregThompson

      SOLVED ZSH or Bash for default shell
      General Questions • • GregThompson  

      2
      0
      Votes
      2
      Posts
      19
      Views

      frederik

      RoboFont can install a command line tool which is accessible in terminal by calling roboFont. The tool will be installed in /usr/local/bin/roboFont. The command line interface accepts python scripts only. read more: https://robofont.com/documentation/tutorials/using-robofont-from-command-line/ https://robofont.com/documentation/reference/workspace/preferences-window/extensions/#shell
    • ArrowType

      SOLVED Does the RoboFont 4 Glyph View still have Rulers?
      General Questions • • ArrowType  

      7
      0
      Votes
      7
      Posts
      50
      Views

      frederik

      thanks Stephen and Jan, great extensions!
    • frederik

      RoboFont FOUR
      Announcements • • frederik  

      3
      5
      Votes
      3
      Posts
      139
      Views

      martin

      Sehr geil! 👏🏼