frederik

Forum Replies Created

Viewing 15 posts - 466 through 480 (of 531 total)
  • Author
    Posts
  • in reply to: removeOverlap() error on glyph copy #2653

    frederik
    Keymaster

    ah typo bug, thanks for posting

    a temporarily workaround could be could be

    g = CurrentGlyph()
    ## create a copy layer and copy the glyph to that layer 
    gCopy = g.copyToLayer("copyLayer")
    
    print g, gCopy #to show these are not None
    
    print gCopy.getParent()
    g.removeOverlap() # works okay
    gCopy.removeOverlap()
    
    

    (edited your post a bit)

    in reply to: BlueValues required when generating otf with autohinting #2579

    frederik
    Keymaster

    I will turn autohint off when there are no blue values given in the font info in the next version, this will solve the mystery :)

    It will be displayed in the generate sheet as disabled if a font has no blue values

    in reply to: BlueValues required when generating otf with autohinting #2574

    frederik
    Keymaster

    yeah, I noticed this issue to.
    But it not always failing.

    I would advice to set blueValues if you enable autohint to generate binaries.

    see the FDK doc and tutorial:

    1.5 Using autohint

    After the mergeFonts and rotateFont tools are used to generate a CIDFont, there is another very useful tool that can be used, available in AFDKO Version 2.0 or higher, called autohint. The autohint tool can be run on name- and CID-keyed fonts, and uses the hinting parameters—BlueValues array, OtherBlues array, StemSnapH array, StemSnapV array, StdHW, and StdVW—to apply hinting to the CharStrings. You are encouraged to explore its command- line options to determine which are the most appropriate to use.

    1.5.1 Calculating Alignment Zones & Stem Width Values

    You are strongly encouraged to take great care in calculating the alignment zones and stem width values. The stemHist tool, also included in AFDKO Version 2.0 or higher, is designed to help in calculating alignment zones and stem width values by generating histogram data. The former functionality is invoked using the “-a” command-line option.

    in reply to: Trouble scaling components in Glyphs #2209

    frederik
    Keymaster
    in reply to: Trouble scaling components in Glyphs #2196

    frederik
    Keymaster

    that is a really bug :)

    a workaround:

    from fontTools.misc.transform import Transform
    
    f = CurrentFont()
    
    t = Transform().scale(.5, .5)
    
    ## possible transformations:
    ## .translate(x, y)
    ## .rotate(radiansAngle)
    ## .skew(x, y)
    ## .inverse()
    
    for g in f:
        g.transform(t, doComponents=False)
        
        # or for each contour
        # for c in g:
        #    c.transform(t)

    hope this helps,
    thanks for reporting and this will be solved in the next update.

    in reply to: Trouble scaling components in Glyphs #2159

    frederik
    Keymaster

    yeah off course, you scale the component base glyphs to :)
    so components will be double scaled, once by their base glyphs and once by the component transformation that get scaled.

    in reply to: Multiple Space Center Windows? #1179

    frederik
    Keymaster

    ooh sorry to fast :)
    only in multiple window mode off course

    http://cl.ly/CTs2

    in reply to: Nested components disappear #1166

    frederik
    Keymaster

    this is fixed, it will now be possible to use nested components and get proper updated views. The major drawback is that the user is responsible for not having loops of components….
    be careful :)

    in reply to: Multiple Space Center Windows? #1161

    frederik
    Keymaster

    yeah only in single window mode press alt+Space Center toolbar icon

    in reply to: Set Mac ID 1 & 2 #1139

    frederik
    Keymaster

    RoboFont uses ufo2fdk to build the otf files.
    FDK requires a FontMenuNameDB (see MakeOTFUserGuide.pdf page 6-10)
    ufo2fdk builds a FontMenuNameDB with the following font.info values:

    ==== ===
    [PS] postscriptFontName
    f= openTypeNamePreferredFamilyName
    s= openTypeNamePreferredSubfamilyName
    l= styleMapFamilyName
    m=1, openTypeNameCompatibleFullName
    ==== ===

    If you use accents or none ascii characters in the familyName or styleName ufo2fdk will automatically create a f=1 and s=1 in FontMenuNameDB encoded for mac.

    see http://code.typesupply.com/browser/packages/ufo2fdk/trunk/Lib/ufo2fdk/makeotfParts.py#L80

    in reply to: Adding component changes metrics #1136

    frederik
    Keymaster

    Its adding the metrics of the first component added.
    In the next update there will be a checkbox where you can enable copying metrics from the base glyph.

    in reply to: Unable to open my ufo-file again #1130

    frederik
    Keymaster

    is it possible to send the UFO file to info at typemytype dot com

    thanks

    in reply to: Link to local FDK? #1128

    frederik
    Keymaster

    :P

    if its enabled it will use the embedded FDK, if not RoboFonts tries to use the the local installed FDK, if you dont have a FDK installed you are not able to generate binaries.

    If you want to check if FDK is installed type “which makeotf” in your Terminal. This should return some similar like “/Users//bin/FDK/Tools/osx/makeotf”

    in reply to: Link to local FDK? #1126

    frederik
    Keymaster

    mmm no, RoboFont only talks to the FDK which is set as default. The FDK that responds to “makeotf” in Terminal.

    Is there a reason why you want to use an older version of the FDK?

    in reply to: Link to local FDK? #1124

    frederik
    Keymaster

    you have multiple FDK on your local machine?
    RoboFont will use the FDK that is responding when you type “makeotf” in terminal

Viewing 15 posts - 466 through 480 (of 531 total)